summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Xianwei <[email protected]>2018-11-11 04:24:33 -0500
committerlukefromdc <[email protected]>2018-11-14 21:10:59 +0000
commit3c5435774b8fe92fd75d9e6c44a41ab226c6a88a (patch)
tree84f881b303bc0fd31c99b4146a70bfb80c1650f4
parent9e7a5675cd0efb6c939ca8ed81eaee96065a7ded (diff)
downloadmate-settings-daemon-3c5435774b8fe92fd75d9e6c44a41ab226c6a88a.tar.bz2
mate-settings-daemon-3c5435774b8fe92fd75d9e6c44a41ab226c6a88a.tar.xz
media-keys: Add label for the touchpad OSD
Which should hopefully make the touchpad icon a bit clearer. Signed-off-by: Zhang Xianwei <[email protected]>
-rw-r--r--plugins/media-keys/msd-media-keys-manager.c2
-rw-r--r--plugins/media-keys/test-media-window.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c
index de37532..4fe1db1 100644
--- a/plugins/media-keys/msd-media-keys-manager.c
+++ b/plugins/media-keys/msd-media-keys-manager.c
@@ -608,7 +608,7 @@ do_touchpad_osd_action (MsdMediaKeysManager *manager, gboolean state)
dialog_init (manager);
msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (manager->priv->dialog),
state ? "input-touchpad" : "touchpad-disabled",
- NULL);
+ state ? _("Touchpad enabled") : _("Touchpad disabled"));
dialog_show (manager);
}
diff --git a/plugins/media-keys/test-media-window.c b/plugins/media-keys/test-media-window.c
index c716c3d..5d1bec8 100644
--- a/plugins/media-keys/test-media-window.c
+++ b/plugins/media-keys/test-media-window.c
@@ -71,14 +71,14 @@ update_state (GtkWidget *window)
case 5:
msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window),
"touchpad-disabled",
- NULL);
+ _("Touchpad disabled"));
gtk_widget_show (window);
break;
case 6:
msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window),
"input-touchpad",
- NULL);
+ _("Touchpad enabled"));
gtk_widget_show (window);
break;