summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Xianwei <[email protected]>2018-11-24 15:29:17 +0800
committerraveit65 <[email protected]>2018-11-25 14:36:30 +0100
commit4a54f6895c42c4fa501807a824b95591dd13b7ab (patch)
tree8a7544147f56471ba73234c510a59231f9e23633
parentd8eabb82c462258efc71a961918ba0829093e6a8 (diff)
downloadmate-settings-daemon-4a54f6895c42c4fa501807a824b95591dd13b7ab.tar.bz2
mate-settings-daemon-4a54f6895c42c4fa501807a824b95591dd13b7ab.tar.xz
media-keys: Add test for display switch 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 50e6531..583ecbf 100644
--- a/plugins/media-keys/test-media-window.c
+++ b/plugins/media-keys/test-media-window.c
@@ -110,6 +110,20 @@ update_state (GtkWidget *window)
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:
gtk_main_quit ();
break;