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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Apr 3 17:43:35 EEST 2007
Author: jobi
Date: 2007-04-03 17:43:35 +0300 (Tue, 03 Apr 2007)
New Revision: 10940

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/src/hd-plugin-loader-legacy.c
Log:

2007-04-02  Johan Bilien  <johan.bilien at nokia.com>

	* src/hd-plugin-loader-legacy.c:
	- call show_all on the home widgets as it was done in
	maemo-af-desktop



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-04-03 13:19:32 UTC (rev 10939)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-04-03 14:43:35 UTC (rev 10940)
@@ -1,5 +1,11 @@
 2007-04-02  Johan Bilien  <johan.bilien at nokia.com>
 
+	* src/hd-plugin-loader-legacy.c:
+	- call show_all on the home widgets as it was done in
+	maemo-af-desktop
+
+2007-04-02  Johan Bilien  <johan.bilien at nokia.com>
+
 	* src/hn-app-switcher.c:
 	- moved creation of the internal VBox from the constructor
 	to the _orientation_changed. Fixes a warning

Modified: projects/haf/trunk/hildon-desktop/src/hd-plugin-loader-legacy.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-plugin-loader-legacy.c	2007-04-03 13:19:32 UTC (rev 10939)
+++ projects/haf/trunk/hildon-desktop/src/hd-plugin-loader-legacy.c	2007-04-03 14:43:35 UTC (rev 10940)
@@ -439,6 +439,9 @@
                  "Hildon Home Home Applet did not return a widget");
     return NULL;
   }
+
+  /* Legacy plugins were not expected to show all their internal widgets */
+  gtk_widget_show_all (module_widget);
   
   keyfile = hd_plugin_loader_get_key_file (HD_PLUGIN_LOADER (loader));
 
@@ -494,10 +497,9 @@
                                      "resize-type", resize_type,
                                      "minimum-width", min_width,
                                      "minimum-height", min_height,
+                                     "child", module_widget,
                                      NULL));
 
-  gtk_container_add (GTK_CONTAINER (applet), module_widget);
-
   return applet;
 }
 


More information about the maemo-commits mailing list