Skip to content
Permalink
Browse files

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>
  • Loading branch information...
zhangxianwei8 authored and lukefromdc committed Nov 11, 2018
1 parent 9e7a567 commit 3c5435774b8fe92fd75d9e6c44a41ab226c6a88a
Showing with 3 additions and 3 deletions.
  1. +1 −1 plugins/media-keys/msd-media-keys-manager.c
  2. +2 −2 plugins/media-keys/test-media-window.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);
}

@@ -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;

0 comments on commit 3c54357

Please sign in to comment.
You can’t perform that action at this time.