summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Xianwei <[email protected]>2018-10-08 18:46:45 -0400
committerraveit65 <[email protected]>2018-10-11 13:00:23 +0200
commitc33458f0c56cf0748bba43d8c589d4469928ef7b (patch)
tree36433c6eac5c716c2b6c8df7e67bf32f0f852e9d
parent7c5d340069139df598b6fda72f773697b5cd7045 (diff)
downloadmate-settings-daemon-c33458f0c56cf0748bba43d8c589d4469928ef7b.tar.bz2
mate-settings-daemon-c33458f0c56cf0748bba43d8c589d4469928ef7b.tar.xz
media-keys: Add test for touchpad OSD icons
Signed-off-by: Zhang Xianwei <[email protected]>
-rw-r--r--plugins/media-keys/test-media-window.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/media-keys/test-media-window.c b/plugins/media-keys/test-media-window.c
index b42f71f..953d347 100644
--- a/plugins/media-keys/test-media-window.c
+++ b/plugins/media-keys/test-media-window.c
@@ -95,6 +95,20 @@ update_state (GtkWidget *window)
gtk_widget_show (window);
break;
+ case 8:
+ msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window),
+ "touchpad-disabled",
+ FALSE);
+
+ gtk_widget_show (window);
+ break;
+ case 9:
+ msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window),
+ "input-touchpad",
+ FALSE);
+
+ gtk_widget_show (window);
+ break;
default:
gtk_main_quit ();
break;