2006-09-15 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
authorMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Fri, 15 Sep 2006 08:31:46 +0000 (08:31 +0000)
committerMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Fri, 15 Sep 2006 08:31:46 +0000 (08:31 +0000)
* hildon-widgets/hildon-window.c: When a new menu is being attached to
the window, call show on the menu itself, not the whole window. Fixes
#NB40566.

ChangeLog
hildon-widgets/hildon-window.c

index 55a14a7..bf5fde8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-15  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
+
+       * hildon-widgets/hildon-window.c: When a new menu is being attached to
+       the window, call show on the menu itself, not the whole window. Fixes
+       #NB40566.
+
 2006-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
 
        * hildon-widgets/hildon-date-editor.c:
index 3038f63..dac6de3 100644 (file)
@@ -1687,9 +1687,8 @@ hildon_window_set_menu (HildonWindow *self, GtkMenu *menu)
         gtk_widget_set_name (self->priv->menu, "menu_force_with_corners");
         gtk_menu_attach_to_widget (GTK_MENU (self->priv->menu), GTK_WIDGET (self), &detach_menu_func);
         g_object_ref (GTK_MENU (self->priv->menu));
+        gtk_widget_show_all (GTK_WIDGET (self->priv->menu));
     }
-
-    gtk_widget_show_all (GTK_WIDGET (self));
 }
 
 /**