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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon May 28 18:19:15 EEST 2007
Author: moimart
Date: 2007-05-28 18:19:14 +0300 (Mon, 28 May 2007)
New Revision: 11914

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/src/hd-applications-menu.c
   projects/haf/trunk/hildon-desktop/src/hn-others-button.c
Log:
2007-05-28  Moises Martinez  <moises.martinez at nokia.com>

        * src/hn-others-button.c:
        * src/hd-applications-menu.c:
        - Attached to proper widgets.
	* ChangeLog updated.



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-05-28 15:02:47 UTC (rev 11913)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-05-28 15:19:14 UTC (rev 11914)
@@ -1,3 +1,9 @@
+2007-05-28  Moises Martinez  <moises.martinez at nokia.com>
+
+	* src/hn-others-button.c:
+	* src/hd-applications-menu.c:
+	- Attached to proper widgets.
+	
 2007-05-28  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	Implementation of UI policy infrastructure to define specific

Modified: projects/haf/trunk/hildon-desktop/src/hd-applications-menu.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-applications-menu.c	2007-05-28 15:02:47 UTC (rev 11913)
+++ projects/haf/trunk/hildon-desktop/src/hd-applications-menu.c	2007-05-28 15:19:14 UTC (rev 11914)
@@ -675,6 +675,8 @@
 
   gtk_widget_set_size_request (GTK_WIDGET (popup_window), 650, 480);
 
+  hildon_desktop_popup_window_attach_widget (popup_window, button->priv->button);
+  
   button->priv->menu_categories =
     HILDON_DESKTOP_POPUP_MENU (g_object_new (HILDON_DESKTOP_TYPE_POPUP_MENU,
 		  		    	     "item-height", 68,

Modified: projects/haf/trunk/hildon-desktop/src/hn-others-button.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hn-others-button.c	2007-05-28 15:02:47 UTC (rev 11913)
+++ projects/haf/trunk/hildon-desktop/src/hn-others-button.c	2007-05-28 15:19:14 UTC (rev 11914)
@@ -694,6 +694,10 @@
     gtk_widget_destroy (GTK_WIDGET (TASKNAVIGATOR_ITEM (button)->menu));
     g_debug ("done.");
   }
+
+  gtk_menu_attach_to_widget (GTK_MENU (menu),
+		  	     button->priv->button,
+			     NULL); 
     
   TASKNAVIGATOR_ITEM (button)->menu = GTK_MENU (menu);
 


More information about the maemo-commits mailing list