diff options
author | Étienne Deparis <[email protected]> | 2019-04-29 13:50:00 +0200 |
---|---|---|
committer | Martin Wimpress <[email protected]> | 2019-09-23 19:46:47 +0100 |
commit | b77cf36c4a65ad67f6c587d255bc10833780cd8e (patch) | |
tree | c7e8a34db120b1ee212ac4669e9b0f4826f8689c /mate-window-picker-applet | |
parent | 7b1d6ad9052b3c12736a8476b0db1acc63a8cd20 (diff) | |
download | mate-netbook-b77cf36c4a65ad67f6c587d255bc10833780cd8e.tar.bz2 mate-netbook-b77cf36c4a65ad67f6c587d255bc10833780cd8e.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.c | 8 | ||||
-rw-r--r-- | mate-window-picker-applet/org.mate.panel.applet.mate-window-picker-applet.gschema.xml.in | 2 |
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> |