Skip to content

Commit 3c54357

Browse files
zhangxianwei8lukefromdc
authored andcommitted
media-keys: Add label for the touchpad OSD
Which should hopefully make the touchpad icon a bit clearer. Signed-off-by: Zhang Xianwei <zhang.xianwei8@zte.com.cn>
1 parent 9e7a567 commit 3c54357

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/media-keys/msd-media-keys-manager.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ do_touchpad_osd_action (MsdMediaKeysManager *manager, gboolean state)
608608
dialog_init (manager);
609609
msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (manager->priv->dialog),
610610
state ? "input-touchpad" : "touchpad-disabled",
611-
NULL);
611+
state ? _("Touchpad enabled") : _("Touchpad disabled"));
612612
dialog_show (manager);
613613
}
614614

plugins/media-keys/test-media-window.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ update_state (GtkWidget *window)
7171
case 5:
7272
msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window),
7373
"touchpad-disabled",
74-
NULL);
74+
_("Touchpad disabled"));
7575

7676
gtk_widget_show (window);
7777
break;
7878
case 6:
7979
msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window),
8080
"input-touchpad",
81-
NULL);
81+
_("Touchpad enabled"));
8282

8383
gtk_widget_show (window);
8484
break;

0 commit comments

Comments
 (0)