[maemo-commits] [maemo-commits] r9792 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildondesktop

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Feb 9 18:04:48 EET 2007
Author: moimart
Date: 2007-02-09 18:04:45 +0200 (Fri, 09 Feb 2007)
New Revision: 9792

Modified:
   projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
   projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-panel-expandable.c
   projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-panel-window-dialog.c
Log:

	* libhildondesktop/hildon-desktop-panel-expandable.c:
        - Fixed potential crashing when adding ICCCM systray icons
        * libhildondesktop/hildon-desktop-panel-window-dialog.c:
        - Changed number of items
	* ChangeLog updated.



Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2007-02-09 15:23:38 UTC (rev 9791)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2007-02-09 16:04:45 UTC (rev 9792)
@@ -1,5 +1,12 @@
 2007-02-09  Moises Martinez  <moises.martinez at nokia.com>
 
+	* libhildondesktop/hildon-desktop-panel-expandable.c:
+	- Fixed potential crashing when adding ICCCM systray icons
+	* libhildondesktop/hildon-desktop-panel-window-dialog.c:
+	- Changed number of items
+
+2007-02-09  Moises Martinez  <moises.martinez at nokia.com>
+
 	* test/test8.c: ICCCM systray example applet.
 
 2007-02-09  Moises Martinez  <moises.martinez at nokia.com>

Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-panel-expandable.c
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-panel-expandable.c	2007-02-09 15:23:38 UTC (rev 9791)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-panel-expandable.c	2007-02-09 16:04:45 UTC (rev 9792)
@@ -539,6 +539,8 @@
 
     if (STATUSBAR_IS_ITEM (l->data) && !STATUSBAR_ITEM (l->data)->condition)
       g_debug ("not unreffing");
+    else if (STATUSBAR_IS_ITEM (l->data) && STATUSBAR_ITEM (l->data)->mandatory)
+      g_debug ("not unreffing");
     else
       g_object_unref (G_OBJECT (l->data));
   }	  

Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-panel-window-dialog.c
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-panel-window-dialog.c	2007-02-09 15:23:38 UTC (rev 9791)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-panel-window-dialog.c	2007-02-09 16:04:45 UTC (rev 9792)
@@ -127,7 +127,7 @@
   gtk_widget_push_composite_child ();
 
   HILDON_DESKTOP_WINDOW (window)->container = 
-    g_object_new (HILDON_DESKTOP_TYPE_PANEL_EXPANDABLE, "items_row", 7,NULL);
+    g_object_new (HILDON_DESKTOP_TYPE_PANEL_EXPANDABLE, "items_row", 6,NULL);
 
   if (parent != NULL)
     gtk_container_add (parent,


More information about the maemo-commits mailing list