From 861c0c795ac56d9e2ced70c6c029a38a52b7412e Mon Sep 17 00:00:00 2001 From: Rob Caelers Date: Wed, 16 Aug 2023 15:17:17 +0200 Subject: [PATCH] Add tooltip to explain that status windows may remain visible (#503) --- .../toolkits/gtkmm/preferences/TimerBoxPreferencePanel.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/app/toolkits/gtkmm/preferences/TimerBoxPreferencePanel.cc b/ui/app/toolkits/gtkmm/preferences/TimerBoxPreferencePanel.cc index 3029e950c..96330e328 100644 --- a/ui/app/toolkits/gtkmm/preferences/TimerBoxPreferencePanel.cc +++ b/ui/app/toolkits/gtkmm/preferences/TimerBoxPreferencePanel.cc @@ -108,7 +108,12 @@ TimerBoxPreferencePanel::create_page() ontop_cb->set_active(GUIConfig::main_window_always_on_top()()); } - Gtk::Label *enabled_lab = Gtk::manage(GtkUtil::create_label(_("Show status window"), false)); + Gtk::Widget *enabled_lab = Gtk::manage( + GtkUtil::create_label_with_tooltip(_("Show status window"), + _("Note that the status window is only hidden if " + "the status icon, or an applet is shown. Some desktop environment " + "do not support, or have disabled status icons."))); + enabled_cb = Gtk::manage(new Gtk::CheckButton()); enabled_cb->add(*enabled_lab); hig->add_widget(*enabled_cb);