summaryrefslogtreecommitdiff
path: root/plugins/media-keys/test-media-window.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-02-22 03:44:27 -0800
committerStefano Karapetsas <[email protected]>2012-02-22 03:44:27 -0800
commit2dfe3164d9f195b50e066def8e2a4782b5910c10 (patch)
treef95660c9462b74c2775355c29df79267fc30501b /plugins/media-keys/test-media-window.c
parentecd8a153901507f5d210d6f85103693ef81d49c3 (diff)
parente46b4adef5c6c6805b3ca6dbfbe99a4299252514 (diff)
downloadmate-settings-daemon-2dfe3164d9f195b50e066def8e2a4782b5910c10.tar.bz2
mate-settings-daemon-2dfe3164d9f195b50e066def8e2a4782b5910c10.tar.xz
Merge pull request #3 from haxar/master
gsd to msd complete rename patch by NiceandGently
Diffstat (limited to 'plugins/media-keys/test-media-window.c')
-rw-r--r--plugins/media-keys/test-media-window.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/plugins/media-keys/test-media-window.c b/plugins/media-keys/test-media-window.c
index c97f3d9..8860999 100644
--- a/plugins/media-keys/test-media-window.c
+++ b/plugins/media-keys/test-media-window.c
@@ -27,7 +27,7 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
-#include "gsd-media-keys-window.h"
+#include "msd-media-keys-window.h"
static gboolean
update_state (GtkWidget *window)
@@ -38,58 +38,58 @@ update_state (GtkWidget *window)
switch (count) {
case 1:
- gsd_media_keys_window_set_volume_level (GSD_MEDIA_KEYS_WINDOW (window),
+ msd_media_keys_window_set_volume_level (MSD_MEDIA_KEYS_WINDOW (window),
50);
- gsd_media_keys_window_set_action (GSD_MEDIA_KEYS_WINDOW (window),
- GSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME);
+ msd_media_keys_window_set_action (MSD_MEDIA_KEYS_WINDOW (window),
+ MSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME);
gtk_widget_show (window);
break;
case 2:
- gsd_media_keys_window_set_volume_level (GSD_MEDIA_KEYS_WINDOW (window),
+ msd_media_keys_window_set_volume_level (MSD_MEDIA_KEYS_WINDOW (window),
100);
- gsd_media_keys_window_set_action (GSD_MEDIA_KEYS_WINDOW (window),
- GSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME);
+ msd_media_keys_window_set_action (MSD_MEDIA_KEYS_WINDOW (window),
+ MSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME);
gtk_widget_show (window);
break;
case 3:
- gsd_media_keys_window_set_volume_muted (GSD_MEDIA_KEYS_WINDOW (window),
+ msd_media_keys_window_set_volume_muted (MSD_MEDIA_KEYS_WINDOW (window),
TRUE);
- gsd_media_keys_window_set_action (GSD_MEDIA_KEYS_WINDOW (window),
- GSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME);
+ msd_media_keys_window_set_action (MSD_MEDIA_KEYS_WINDOW (window),
+ MSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME);
gtk_widget_show (window);
break;
case 4:
- gsd_media_keys_window_set_action_custom (GSD_MEDIA_KEYS_WINDOW (window),
+ msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window),
"media-eject",
FALSE);
gtk_widget_show (window);
break;
case 5:
- gsd_media_keys_window_set_volume_level (GSD_MEDIA_KEYS_WINDOW (window),
+ msd_media_keys_window_set_volume_level (MSD_MEDIA_KEYS_WINDOW (window),
0);
- gsd_media_keys_window_set_action_custom (GSD_MEDIA_KEYS_WINDOW (window),
+ msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window),
"gpm-brightness-lcd",
TRUE);
gtk_widget_show (window);
break;
case 6:
- gsd_media_keys_window_set_volume_level (GSD_MEDIA_KEYS_WINDOW (window),
+ msd_media_keys_window_set_volume_level (MSD_MEDIA_KEYS_WINDOW (window),
50);
- gsd_media_keys_window_set_action_custom (GSD_MEDIA_KEYS_WINDOW (window),
+ msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window),
"gpm-brightness-lcd",
TRUE);
gtk_widget_show (window);
break;
case 7:
- gsd_media_keys_window_set_volume_level (GSD_MEDIA_KEYS_WINDOW (window),
+ msd_media_keys_window_set_volume_level (MSD_MEDIA_KEYS_WINDOW (window),
100);
- gsd_media_keys_window_set_action_custom (GSD_MEDIA_KEYS_WINDOW (window),
+ msd_media_keys_window_set_action_custom (MSD_MEDIA_KEYS_WINDOW (window),
"gpm-brightness-lcd",
TRUE);
@@ -108,13 +108,13 @@ test_window (void)
{
GtkWidget *window;
- window = gsd_media_keys_window_new ();
+ window = msd_media_keys_window_new ();
gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER_ALWAYS);
- gsd_media_keys_window_set_volume_level (GSD_MEDIA_KEYS_WINDOW (window),
+ msd_media_keys_window_set_volume_level (MSD_MEDIA_KEYS_WINDOW (window),
0);
- gsd_media_keys_window_set_action (GSD_MEDIA_KEYS_WINDOW (window),
- GSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME);
+ msd_media_keys_window_set_action (MSD_MEDIA_KEYS_WINDOW (window),
+ MSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME);
gtk_widget_show (window);