[maemo-commits] [maemo-commits] r9071 - projects/haf/branches/maemo-af-desktop/hildon-desktop/src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Jan 11 17:27:25 EET 2007
Author: moimart
Date: 2007-01-11 17:27:24 +0200 (Thu, 11 Jan 2007)
New Revision: 9071

Modified:
   projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hn-app-switcher.c
Log:

	Fixed typo



Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hn-app-switcher.c
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hn-app-switcher.c	2007-01-11 15:19:09 UTC (rev 9070)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hn-app-switcher.c	2007-01-11 15:27:24 UTC (rev 9071)
@@ -612,11 +612,9 @@
     gdk_window_get_origin (widget->window, x, y);
     *x += widget->allocation.width;
 
-  gtk_widget_size_request (GTK_WIDGET (menu), &req);
-  *y = *y + widget->allocation.y - req.height;
+  gtk_widget_size_request ((HN_APP_SWITCHER (widget)->priv->main_menu), &req);
+  *y = (*y + widget->allocation.y) + req.height;
 
-  g_debug ("y position: %d",*y);
-  
   *push_in = FALSE;
 }
 


More information about the maemo-commits mailing list