Mailing List Archive

r19444 - in projects/haf/trunk/gtk+: . gtk
Author: mitch
Date: 2009-10-15 17:27:22 +0300 (Thu, 15 Oct 2009)
New Revision: 19444

Modified:
projects/haf/trunk/gtk+/ChangeLog
projects/haf/trunk/gtk+/gtk/gtkmenu.c
Log:
2009-10-15 Michael Natterer <mitch@lanedo.com>

Fixes: NB#137960 - position of CSM is changing while rotating from
portrait mode to landscape mode

Apply patch from Kristian Rietveld:

* gtk/gtkmenu.c (menu_screen_size_changed): simply close menus
instead of repositioning them when the screen is rotated.



Modified: projects/haf/trunk/gtk+/ChangeLog
===================================================================
--- projects/haf/trunk/gtk+/ChangeLog 2009-10-15 10:59:58 UTC (rev 19443)
+++ projects/haf/trunk/gtk+/ChangeLog 2009-10-15 14:27:22 UTC (rev 19444)
@@ -1,3 +1,13 @@
+2009-10-15 Michael Natterer <mitch@lanedo.com>
+
+ Fixes: NB#137960 - position of CSM is changing while rotating from
+ portrait mode to landscape mode
+
+ Apply patch from Kristian Rietveld:
+
+ * gtk/gtkmenu.c (menu_screen_size_changed): simply close menus
+ instead of repositioning them when the screen is rotated.
+
2009-10-15 Kristian Rietveld <kris@lanedo.com>

Fixes: NB#110430 - Failed assertion in _gtk_rbtree_node_find_offset()

Modified: projects/haf/trunk/gtk+/gtk/gtkmenu.c
===================================================================
--- projects/haf/trunk/gtk+/gtk/gtkmenu.c 2009-10-15 10:59:58 UTC (rev 19443)
+++ projects/haf/trunk/gtk+/gtk/gtkmenu.c 2009-10-15 14:27:22 UTC (rev 19444)
@@ -1186,7 +1186,7 @@
menu_screen_size_changed (GdkScreen *screen,
GtkMenu *menu)
{
- gtk_menu_reposition (menu);
+ gtk_menu_shell_cancel (GTK_MENU_SHELL (menu));
}
#endif /* MAEMO_CHANGES */


_______________________________________________
maemo-commits mailing list
maemo-commits@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-commits