From 3c5435774b8fe92fd75d9e6c44a41ab226c6a88a Mon Sep 17 00:00:00 2001 From: Zhang Xianwei Date: Sun, 11 Nov 2018 04:24:33 -0500 Subject: media-keys: Add label for the touchpad OSD Which should hopefully make the touchpad icon a bit clearer. Signed-off-by: Zhang Xianwei --- plugins/media-keys/msd-media-keys-manager.c | 2 +- plugins/media-keys/test-media-window.c | 4 ++-- 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; -- cgit v1.2.1