Skip to content
Permalink
Browse files

media-keys: Add test for rfkill OSD icons

Signed-off-by: Zhang Xianwei <zhang.xianwei8@zte.com.cn>
  • Loading branch information...
zhangxianwei8 authored and lukefromdc committed Nov 11, 2018
1 parent 3c54357 commit 6b00f4c9c5977a7d337991477befc71c06538d63
Showing with 28 additions and 0 deletions.
  1. +28 −0 plugins/media-keys/test-media-window.c
@@ -80,6 +80,34 @@ update_state (GtkWidget *window)
"input-touchpad",
_("Touchpad enabled"));

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:

0 comments on commit 6b00f4c

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