From 9c0c8e49ec7aa64d21dc027acd46c7fbd530ec31 Mon Sep 17 00:00:00 2001 From: Jens Granseuer Date: Fri, 29 Jun 2007 16:16:24 +0000 Subject: [PATCH] add a frame to the media popup (closes bug #451674) 2007-06-29 Jens Granseuer * actions/acme.glade: * gsd-media-keys-window.c: (gsd_media_keys_window_init): add a frame to the media popup (closes bug #451674) svn path=/trunk/; revision=7803 --- gnome-settings-daemon/ChangeLog | 6 ++ gnome-settings-daemon/actions/acme.glade | 68 ++++++++++--------- gnome-settings-daemon/gsd-media-keys-window.c | 12 ++-- 3 files changed, 49 insertions(+), 37 deletions(-) diff --git a/gnome-settings-daemon/ChangeLog b/gnome-settings-daemon/ChangeLog index a31f3f31f..fda6ce9e5 100644 --- a/gnome-settings-daemon/ChangeLog +++ b/gnome-settings-daemon/ChangeLog @@ -1,3 +1,9 @@ +2007-06-29 Jens Granseuer + + * actions/acme.glade: + * gsd-media-keys-window.c: (gsd_media_keys_window_init): add a frame to + the media popup (closes bug #451674) + 2007-06-22 Rodrigo Moya * gnome-settings-daemon.c: incorporate fixes from Matthias Clasen in diff --git a/gnome-settings-daemon/actions/acme.glade b/gnome-settings-daemon/actions/acme.glade index c1cddd481..ed933d117 100644 --- a/gnome-settings-daemon/actions/acme.glade +++ b/gnome-settings-daemon/actions/acme.glade @@ -19,42 +19,48 @@ False - - 12 + + GTK_SHADOW_OUT True - False - 6 - + + 12 True - 6 - stock_volume-max - 0.5 - 0.5 - 0 - 0 - - - 0 - True - True - - + False + 6 - - - True - GTK_PROGRESS_LEFT_TO_RIGHT - 0 - 0.10000000149 - PANGO_ELLIPSIZE_NONE - - - 0 - False - False - + + + True + 6 + stock_volume-max + 0.5 + 0.5 + 0 + 0 + + + 0 + True + True + + + + + + True + GTK_PROGRESS_LEFT_TO_RIGHT + 0 + PANGO_ELLIPSIZE_NONE + + + 0 + False + False + + + diff --git a/gnome-settings-daemon/gsd-media-keys-window.c b/gnome-settings-daemon/gsd-media-keys-window.c index 5d2ed0923..d9c2a6c92 100644 --- a/gnome-settings-daemon/gsd-media-keys-window.c +++ b/gnome-settings-daemon/gsd-media-keys-window.c @@ -852,14 +852,14 @@ gsd_media_keys_window_init (GsdMediaKeysWindow *window) gtk_window_set_default_size (GTK_WINDOW (window), 300, 300); g_signal_connect (window, "expose-event", G_CALLBACK (on_expose_event), window); } else { - GtkWidget *vbox; + GtkWidget *frame; - window->priv->xml = glade_xml_new (GNOMECC_GLADE_DIR "/acme.glade", "acme_vbox", NULL); + window->priv->xml = glade_xml_new (GNOMECC_GLADE_DIR "/acme.glade", "acme_frame", NULL); - vbox = glade_xml_get_widget (window->priv->xml, "acme_vbox"); - if (vbox != NULL) { - gtk_container_add (GTK_CONTAINER (window), vbox); - gtk_widget_show_all (vbox); + frame = glade_xml_get_widget (window->priv->xml, "acme_frame"); + if (frame != NULL) { + gtk_container_add (GTK_CONTAINER (window), frame); + gtk_widget_show_all (frame); } } }