Fixed a optionmenu bug where if you set a new menu on a optionmenu, the

selected widget would not get positioned correctly inside of the optionmenu.
-Jay
This commit is contained in:
Jay Painter 1997-12-03 16:38:54 +00:00
parent 6653fcf391
commit c3ac6c80a6
8 changed files with 36 additions and 0 deletions

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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));