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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Mar 6 15:54:09 EET 2007
Author: jobi
Date: 2007-03-06 15:54:07 +0200 (Tue, 06 Mar 2007)
New Revision: 10424

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.c
Log:

2007-03-06  Johan Bilien  <johan.bilien at nokia.com>

	* libhildondesktop/hildon-desktop-home-item.c:
	- _realize(): we need to attach the style to the widget
	even when we don't have a window



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-03-06 13:52:09 UTC (rev 10423)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-03-06 13:54:07 UTC (rev 10424)
@@ -1,3 +1,9 @@
+2007-03-06  Johan Bilien  <johan.bilien at nokia.com>
+
+	* libhildondesktop/hildon-desktop-home-item.c:
+	- _realize(): we need to attach the style to the widget
+	even when we don't have a window
+
 2007-03-06  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* src/hd-plugin-loader-factory.c: monitor plugin loader directory to

Modified: projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.c
===================================================================
--- projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.c	2007-03-06 13:52:09 UTC (rev 10423)
+++ projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-home-item.c	2007-03-06 13:54:07 UTC (rev 10424)
@@ -628,8 +628,6 @@
                                        &attributes,
                                        attributes_mask);
       
-      widget->style = gtk_style_attach (widget->style, widget->window);
-      
       gdk_window_set_user_data (widget->window, widget);
   
 #if 0
@@ -682,6 +680,8 @@
       widget->window = gtk_widget_get_parent_window (widget);
       g_object_ref (widget->window);
     }
+      
+  widget->style = gtk_style_attach (widget->style, widget->window);
 
 }
 


More information about the maemo-commits mailing list