summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Deparis <[email protected]>2019-04-29 13:50:00 +0200
committerMartin Wimpress <[email protected]>2019-09-23 19:46:47 +0100
commitb77cf36c4a65ad67f6c587d255bc10833780cd8e (patch)
treec7e8a34db120b1ee212ac4669e9b0f4826f8689c
parent7b1d6ad9052b3c12736a8476b0db1acc63a8cd20 (diff)
downloadmate-netbook-b77cf36c4a65ad67f6c587d255bc10833780cd8e.tar.bz2
mate-netbook-b77cf36c4a65ad67f6c587d255bc10833780cd8e.tar.xz
Change preference label for the window picker applet, and add a tooltip
-rw-r--r--mate-netbook.pot10
-rw-r--r--mate-window-picker-applet/applet.c8
-rw-r--r--mate-window-picker-applet/org.mate.panel.applet.mate-window-picker-applet.gschema.xml.in2
3 files changed, 12 insertions, 8 deletions
diff --git a/mate-netbook.pot b/mate-netbook.pot
index 9f3bc97..320defb 100644
--- a/mate-netbook.pot
+++ b/mate-netbook.pot
@@ -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>