[maemo-commits] [maemo-commits] r8335 - in projects/haf/trunk/maemo-af-desktop: . hildon-navigator

From: www-data at stage.maemo.org www-data at stage.maemo.org
Date: Mon Nov 27 13:40:29 EET 2006
Author: jobi
Date: 2006-11-27 13:40:28 +0200 (Mon, 27 Nov 2006)
New Revision: 8335

Modified:
   projects/haf/trunk/maemo-af-desktop/ChangeLog
   projects/haf/trunk/maemo-af-desktop/hildon-navigator/hn-others-button.c
Log:

2006-11-27  Johan Bilien <johan.bilien at nokia.com>

	* hildon-navigator/hn-others-button.c: Systematically check
	if the menu has been generated before showing. Fixes: NB#48403



Modified: projects/haf/trunk/maemo-af-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/maemo-af-desktop/ChangeLog	2006-11-27 11:28:33 UTC (rev 8334)
+++ projects/haf/trunk/maemo-af-desktop/ChangeLog	2006-11-27 11:40:28 UTC (rev 8335)
@@ -1,5 +1,10 @@
-2006-11-24  Johan Bilien <johan.bilien at nokia.com>
+2006-11-27  Johan Bilien <johan.bilien at nokia.com>
 
+	* hildon-navigator/hn-others-button.c: Systematically check
+	if the menu has been generated before showing. Fixes: NB#48403
+
+2006-11-27  Johan Bilien <johan.bilien at nokia.com>
+
 	* libhildonmenu/libhildonmenu.c: Fixed a potential crash when
 	no Type = is provided in the .desktop file. Fixed: NB#48428
 

Modified: projects/haf/trunk/maemo-af-desktop/hildon-navigator/hn-others-button.c
===================================================================
--- projects/haf/trunk/maemo-af-desktop/hildon-navigator/hn-others-button.c	2006-11-27 11:28:33 UTC (rev 8334)
+++ projects/haf/trunk/maemo-af-desktop/hildon-navigator/hn-others-button.c	2006-11-27 11:40:28 UTC (rev 8335)
@@ -787,6 +787,9 @@
 hn_others_button_menu_show (HNOthersButton * button)
 {
   g_return_if_fail (button);
+  
+  if (!button->priv->menu)
+    hn_others_button_create_menu (button);
 
   gtk_menu_popup(GTK_MENU(button->priv->menu),
 		 NULL,


More information about the maemo-commits mailing list