From c43e19cd54629726c05c6f6a89f9ce2ff8521501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Deparis?= Date: Mon, 29 Apr 2019 13:50:00 +0200 Subject: Change preference label for the window picker applet, and add a tooltip --- mate-netbook.pot | 12 +++++++----- mate-window-picker-applet/applet.c | 8 +++++--- ...ate.panel.applet.mate-window-picker-applet.gschema.xml.in | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/mate-netbook.pot b/mate-netbook.pot index cec08e4..936d505 100644 --- a/mate-netbook.pot +++ b/mate-netbook.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MATE Desktop Environment\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-12-21 15:55+0100\n" +"POT-Creation-Date: 2019-04-03 19:47+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,6 +18,12 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #: ../mate-window-picker-applet/org.mate.panel.applet.mate-window-picker-applet.gschema.xml.in.h:1 +#: ../mate-window-picker-applet/applet.c:320 +msgid "Show all windows" +msgstr "" + +#: ../mate-window-picker-applet/org.mate.panel.applet.mate-window-picker-applet.gschema.xml.in.h:2 +#: ../mate-window-picker-applet/applet.c:322 msgid "Show windows from all workspaces." msgstr "" @@ -43,10 +49,6 @@ msgstr "" msgid "Preferences" msgstr "" -#: ../mate-window-picker-applet/applet.c:264 -msgid "Show windows from all workspaces" -msgstr "" - #: ../mate-window-picker-applet/task-title.c:252 #: ../mate-window-picker-applet/task-title.c:259 #: ../mate-window-picker-applet/task-title.c:302 diff --git a/mate-window-picker-applet/applet.c b/mate-window-picker-applet/applet.c index 37fabeb..805c7b0 100644 --- a/mate-window-picker-applet/applet.c +++ b/mate-window-picker-applet/applet.c @@ -228,7 +228,7 @@ display_about_dialog (GtkAction *action, } static void -on_checkbox_toggled (GtkToggleButton *check, gpointer null) +on_show_win_key_checkbox_toggled (GtkToggleButton *check, gpointer null) { gboolean is_active; @@ -261,12 +261,14 @@ display_prefs_dialog (GtkAction *action, gtk_container_set_border_width (GTK_CONTAINER (vbox), 8); gtk_notebook_append_page (GTK_NOTEBOOK (nb), vbox, NULL); - check = gtk_check_button_new_with_label (_("Show windows from all workspaces")); + check = gtk_check_button_new_with_label (_("Show all windows")); + gtk_widget_set_tooltip_text (GTK_WIDGET (check), + _("Show windows from all workspaces.")); gtk_box_pack_start (GTK_BOX (vbox), check, FALSE, TRUE, 0); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), g_settings_get_boolean (mainapp->settings, SHOW_WIN_KEY)); g_signal_connect (check, "toggled", - G_CALLBACK (on_checkbox_toggled), NULL); + G_CALLBACK (on_show_win_key_checkbox_toggled), NULL); check = gtk_label_new (" "); gtk_box_pack_start (GTK_BOX (vbox), check, TRUE, TRUE, 0); diff --git a/mate-window-picker-applet/org.mate.panel.applet.mate-window-picker-applet.gschema.xml.in b/mate-window-picker-applet/org.mate.panel.applet.mate-window-picker-applet.gschema.xml.in index 71f3bd2..100dd2a 100644 --- a/mate-window-picker-applet/org.mate.panel.applet.mate-window-picker-applet.gschema.xml.in +++ b/mate-window-picker-applet/org.mate.panel.applet.mate-window-picker-applet.gschema.xml.in @@ -2,7 +2,7 @@ true - Show windows from all workspaces. + Show all windows Show windows from all workspaces. -- cgit v1.2.1