Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 14, 2018
1 parent 3c54357 commit 6b00f4c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions plugins/media-keys/test-media-window.c
Expand Up @@ -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:
Expand Down

0 comments on commit 6b00f4c

Please sign in to comment.