]> Pileus Git - ~andy/gtk/commitdiff
Fixed a optionmenu bug where if you set a new menu on a optionmenu, the
authorJay Painter <jpaint@src.gnome.org>
Wed, 3 Dec 1997 16:38:54 +0000 (16:38 +0000)
committerJay Painter <jpaint@src.gnome.org>
Wed, 3 Dec 1997 16:38:54 +0000 (16:38 +0000)
selected widget would not get positioned correctly inside of the optionmenu.
-Jay

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkoptionmenu.c

index 131f840a56e76eced2dad4dba2172a8d5e0a4119..dcbc48a8c376b42b80ef1e374edd808732c4a4ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Dec 3 1997 Jay Painter <jpaint@serv.net>
+       * gtk/gtkoptionmenu.c: fixed a old bug where if you set a new 
+       menu for a optionmenu the widget would not get positioned correctly
+       inside of the optionmenu.
+
 Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
        * glib/glib.h, glib/configure.in. Disabled gldouble, since
        it wasn't used anywhere and caused portability problems
index 131f840a56e76eced2dad4dba2172a8d5e0a4119..dcbc48a8c376b42b80ef1e374edd808732c4a4ef 100644 (file)
@@ -1,3 +1,8 @@
+Wed Dec 3 1997 Jay Painter <jpaint@serv.net>
+       * gtk/gtkoptionmenu.c: fixed a old bug where if you set a new 
+       menu for a optionmenu the widget would not get positioned correctly
+       inside of the optionmenu.
+
 Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
        * glib/glib.h, glib/configure.in. Disabled gldouble, since
        it wasn't used anywhere and caused portability problems
index 131f840a56e76eced2dad4dba2172a8d5e0a4119..dcbc48a8c376b42b80ef1e374edd808732c4a4ef 100644 (file)
@@ -1,3 +1,8 @@
+Wed Dec 3 1997 Jay Painter <jpaint@serv.net>
+       * gtk/gtkoptionmenu.c: fixed a old bug where if you set a new 
+       menu for a optionmenu the widget would not get positioned correctly
+       inside of the optionmenu.
+
 Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
        * glib/glib.h, glib/configure.in. Disabled gldouble, since
        it wasn't used anywhere and caused portability problems
index 131f840a56e76eced2dad4dba2172a8d5e0a4119..dcbc48a8c376b42b80ef1e374edd808732c4a4ef 100644 (file)
@@ -1,3 +1,8 @@
+Wed Dec 3 1997 Jay Painter <jpaint@serv.net>
+       * gtk/gtkoptionmenu.c: fixed a old bug where if you set a new 
+       menu for a optionmenu the widget would not get positioned correctly
+       inside of the optionmenu.
+
 Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
        * glib/glib.h, glib/configure.in. Disabled gldouble, since
        it wasn't used anywhere and caused portability problems
index 131f840a56e76eced2dad4dba2172a8d5e0a4119..dcbc48a8c376b42b80ef1e374edd808732c4a4ef 100644 (file)
@@ -1,3 +1,8 @@
+Wed Dec 3 1997 Jay Painter <jpaint@serv.net>
+       * gtk/gtkoptionmenu.c: fixed a old bug where if you set a new 
+       menu for a optionmenu the widget would not get positioned correctly
+       inside of the optionmenu.
+
 Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
        * glib/glib.h, glib/configure.in. Disabled gldouble, since
        it wasn't used anywhere and caused portability problems
index 131f840a56e76eced2dad4dba2172a8d5e0a4119..dcbc48a8c376b42b80ef1e374edd808732c4a4ef 100644 (file)
@@ -1,3 +1,8 @@
+Wed Dec 3 1997 Jay Painter <jpaint@serv.net>
+       * gtk/gtkoptionmenu.c: fixed a old bug where if you set a new 
+       menu for a optionmenu the widget would not get positioned correctly
+       inside of the optionmenu.
+
 Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
        * glib/glib.h, glib/configure.in. Disabled gldouble, since
        it wasn't used anywhere and caused portability problems
index 131f840a56e76eced2dad4dba2172a8d5e0a4119..dcbc48a8c376b42b80ef1e374edd808732c4a4ef 100644 (file)
@@ -1,3 +1,8 @@
+Wed Dec 3 1997 Jay Painter <jpaint@serv.net>
+       * gtk/gtkoptionmenu.c: fixed a old bug where if you set a new 
+       menu for a optionmenu the widget would not get positioned correctly
+       inside of the optionmenu.
+
 Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
        * glib/glib.h, glib/configure.in. Disabled gldouble, since
        it wasn't used anywhere and caused portability problems
index 919aa266924b44678c3150e4eacc0d531ceae713..493351d06d9e658619aefe23a215e044ae6c59b3 100644 (file)
@@ -446,6 +446,7 @@ gtk_option_menu_update_contents (GtkOptionMenu *option_menu)
              gtk_container_unblock_resize (GTK_CONTAINER (option_menu));
            }
 
+         gtk_widget_size_request (child, &child->requisition);
          gtk_widget_size_allocate (GTK_WIDGET (option_menu),
                                    &(GTK_WIDGET (option_menu)->allocation));