From 4a54f6895c42c4fa501807a824b95591dd13b7ab Mon Sep 17 00:00:00 2001 From: Zhang Xianwei Date: Sat, 24 Nov 2018 15:29:17 +0800 Subject: media-keys: Add test for display switch OSD icons Signed-off-by: Zhang Xianwei --- plugins/media-keys/test-media-window.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/plugins/media-keys/test-media-window.c b/plugins/media-keys/test-media-window.c index 50e6531..583ecbf 100644 --- a/plugins/media-keys/test-media-window.c +++ b/plugins/media-keys/test-media-window.c @@ -108,6 +108,20 @@ update_state (GtkWidget *window) "network-wireless-signal-excellent-symbolic", _("Airplane mode disabled")); + gtk_widget_show (window); + break; + case 11: + msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window), + "video-single-display-symbolic", + _("No External Display")); + + gtk_widget_show (window); + break; + case 12: + msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window), + "video-joined-displays-symbolic", + _("Changing Screen Layout")); + gtk_widget_show (window); break; default: -- cgit v1.2.1