Skip to content

Commit

Permalink
media-keys: Add label for the touchpad OSD
Browse files Browse the repository at this point in the history
Which should hopefully make the touchpad icon a bit clearer.

Signed-off-by: Zhang Xianwei <zhang.xianwei8@zte.com.cn>
  • Loading branch information
zhangxianwei8 authored and lukefromdc committed Nov 14, 2018
1 parent 9e7a567 commit 3c54357
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/media-keys/msd-media-keys-manager.c
Expand Up @@ -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);
}

Expand Down
4 changes: 2 additions & 2 deletions plugins/media-keys/test-media-window.c
Expand Up @@ -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;
Expand Down

0 comments on commit 3c54357

Please sign in to comment.