diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-12 17:05:27 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-12 17:05:27 +0200 |
| commit | 08bbb9cb615f0ecd0d041baacd7a024c1e30db5c (patch) | |
| tree | b85c4c8517829bd9900d33a4013a663315bb56a1 /app/tests/windows/main.cpp | |
| parent | 8714470ebb41abec07e178abf4d4739dcd6087fb (diff) | |
| download | turns-08bbb9cb615f0ecd0d041baacd7a024c1e30db5c.tar.xz turns-08bbb9cb615f0ecd0d041baacd7a024c1e30db5c.zip | |
app: add main menu button tooltip
Diffstat (limited to 'app/tests/windows/main.cpp')
| -rw-r--r-- | app/tests/windows/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/tests/windows/main.cpp b/app/tests/windows/main.cpp index fca04fd..b6e1122 100644 --- a/app/tests/windows/main.cpp +++ b/app/tests/windows/main.cpp @@ -12,6 +12,7 @@ #include <glibmm/ustring.h> #include <gtkmm/builder.h> #include <gtkmm/button.h> +#include <gtkmm/menubutton.h> #include <gtkmm/widget.h> namespace turns::app::windows::tests @@ -65,6 +66,12 @@ namespace turns::app::windows::tests auto widget = builder->get_widget<Gtk::Button>("add_participant"); REQUIRE(widget->get_tooltip_text() == Glib::ustring{_(tooltips::add_a_participant)}); } + + SECTION("the open_main_menu button has the correct tooltip") + { + auto widget = builder->get_widget<Gtk::MenuButton>("open_main_menu"); + REQUIRE(widget->get_tooltip_text() == Glib::ustring{_(tooltips::main_menu)}); + } } } // namespace turns::app::windows::tests
\ No newline at end of file |
