summaryrefslogtreecommitdiff
path: root/mate-window-picker-applet
diff options
context:
space:
mode:
authorÉtienne Deparis <[email protected]>2019-04-29 13:50:00 +0200
committerraveit65 <[email protected]>2019-05-10 10:18:54 +0200
commitc43e19cd54629726c05c6f6a89f9ce2ff8521501 (patch)
tree7c498b84399b6ad7521e92311982bf8065e3e877 /mate-window-picker-applet
parent55c91289c3fcd746d824d0928171484cde3c85f0 (diff)
downloadmate-netbook-c43e19cd54629726c05c6f6a89f9ce2ff8521501.tar.bz2
mate-netbook-c43e19cd54629726c05c6f6a89f9ce2ff8521501.tar.xz
Change preference label for the window picker applet, and add a tooltip
Diffstat (limited to 'mate-window-picker-applet')
-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
2 files changed, 6 insertions, 4 deletions
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>