diff options
author | Étienne Deparis <[email protected]> | 2019-04-29 13:50:00 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-05-10 10:18:54 +0200 |
commit | c43e19cd54629726c05c6f6a89f9ce2ff8521501 (patch) | |
tree | 7c498b84399b6ad7521e92311982bf8065e3e877 | |
parent | 55c91289c3fcd746d824d0928171484cde3c85f0 (diff) | |
download | mate-netbook-c43e19cd54629726c05c6f6a89f9ce2ff8521501.tar.bz2 mate-netbook-c43e19cd54629726c05c6f6a89f9ce2ff8521501.tar.xz |
Change preference label for the window picker applet, and add a tooltip
-rw-r--r-- | mate-netbook.pot | 12 | ||||
-rw-r--r-- | mate-window-picker-applet/applet.c | 8 | ||||
-rw-r--r-- | mate-window-picker-applet/org.mate.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 <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <[email protected]>\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 @@ <schema id="org.mate.panel.applet.mate-window-picker-applet"> <key name="show-all-windows" type="b"> <default>true</default> - <summary>Show windows from all workspaces.</summary> + <summary>Show all windows</summary> <description>Show windows from all workspaces.</description> </key> </schema> |