diff options
author | Zhang Xianwei <[email protected]> | 2018-11-11 04:24:54 -0500 |
---|---|---|
committer | lukefromdc <[email protected]> | 2018-11-14 21:10:59 +0000 |
commit | 6b00f4c9c5977a7d337991477befc71c06538d63 (patch) | |
tree | 1f351e6535275a6bb2c61c64fd504641590e483b /plugins/media-keys | |
parent | 3c5435774b8fe92fd75d9e6c44a41ab226c6a88a (diff) | |
download | mate-settings-daemon-6b00f4c9c5977a7d337991477befc71c06538d63.tar.bz2 mate-settings-daemon-6b00f4c9c5977a7d337991477befc71c06538d63.tar.xz |
media-keys: Add test for rfkill OSD icons
Signed-off-by: Zhang Xianwei <[email protected]>
Diffstat (limited to 'plugins/media-keys')
-rw-r--r-- | plugins/media-keys/test-media-window.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/media-keys/test-media-window.c b/plugins/media-keys/test-media-window.c index 5d1bec8..50e6531 100644 --- a/plugins/media-keys/test-media-window.c +++ b/plugins/media-keys/test-media-window.c @@ -82,6 +82,34 @@ update_state (GtkWidget *window) gtk_widget_show (window); break; + case 7: + msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window), + "bluetooth-disabled-symbolic", + _("Bluetooth disabled")); + + gtk_widget_show (window); + break; + case 8: + msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window), + "bluetooth-active-symbolic", + _("Bluetooth enabled")); + + gtk_widget_show (window); + break; + case 9: + msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window), + "airplane-mode-symbolic", + _("Airplane mode enabled")); + + gtk_widget_show (window); + break; + case 10: + msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window), + "network-wireless-signal-excellent-symbolic", + _("Airplane mode disabled")); + + gtk_widget_show (window); + break; default: gtk_main_quit (); break; |