[maemo-commits] [maemo-commits] r13609 - in projects/haf/trunk/hildon-desktop: . libhildondesktop src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Sep 5 16:41:00 EEST 2007
Author: moimart
Date: 2007-09-05 16:40:58 +0300 (Wed, 05 Sep 2007)
New Revision: 13609

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-panel-expandable.c
   projects/haf/trunk/hildon-desktop/src/hd-panel-window-dialog.c
Log:
2007-09-05  Moises Martinez  <moises.martinez at nokia.com>

        * libhildondesktop/hildon-desktop-panel-expandable.c:
        (hildon_desktop_panel_expandable_constructor):
        - Insert the GtkTable into a GtkFrame
        * src/hd-panel-window-dialog.c:
        (hd_panel_window_dialog_constructor):
        - Set the theme to GtkTable's parent. Fixes partially: NB#65211
	* ChangeLog updated.



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-05 13:40:22 UTC (rev 13608)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-05 13:40:58 UTC (rev 13609)
@@ -1,5 +1,14 @@
 2007-09-05  Moises Martinez  <moises.martinez at nokia.com>
 
+	* libhildondesktop/hildon-desktop-panel-expandable.c:
+	(hildon_desktop_panel_expandable_constructor):
+	- Insert the GtkTable into a GtkFrame
+	* src/hd-panel-window-dialog.c:
+	(hd_panel_window_dialog_constructor):
+	- Set the theme to GtkTable's parent. Fixes partially: NB#65211
+
+2007-09-05  Moises Martinez  <moises.martinez at nokia.com>
+
 	* libhildondesktop/hildon-desktop-panel.c:
 	(hildon_desktop_panel_refresh_items_status):
 	- When refreshing items check if the container is a

Modified: projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-panel-expandable.c
===================================================================
--- projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-panel-expandable.c	2007-09-05 13:40:22 UTC (rev 13608)
+++ projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-panel-expandable.c	2007-09-05 13:40:58 UTC (rev 13609)
@@ -326,6 +326,7 @@
 {
   GObject *object;
   HildonDesktopPanelExpandable *panel;
+  GtkWidget *frame;
   gint item_width, item_height;
 
   object = 
@@ -356,7 +357,14 @@
 		"column-spacing", 0,
 		NULL);	
 
+  frame = gtk_frame_new (NULL);
+
   gtk_container_add (GTK_CONTAINER (panel->priv->extension_window),
+		     frame);
+
+  gtk_widget_show (frame);
+  
+  gtk_container_add (GTK_CONTAINER (frame),
 		     GTK_WIDGET (panel->priv->extension_table));
 
   gtk_widget_show (GTK_WIDGET (panel->priv->extension_table));

Modified: projects/haf/trunk/hildon-desktop/src/hd-panel-window-dialog.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-panel-window-dialog.c	2007-09-05 13:40:22 UTC (rev 13608)
+++ projects/haf/trunk/hildon-desktop/src/hd-panel-window-dialog.c	2007-09-05 13:40:58 UTC (rev 13609)
@@ -209,7 +209,8 @@
   extension = 
     hildon_desktop_panel_expandable_get_extension (HILDON_DESKTOP_PANEL_EXPANDABLE (panel));
 
-  gtk_widget_set_name (extension, "HildonStatusBarExtension");
+  if (extension->parent) /* Parent because it is a GtkTable */
+    gtk_widget_set_name (extension->parent, "HildonStatusBarExtension");
   
   return object;
 }


More information about the maemo-commits mailing list