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:
@ -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>
|
Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
|
||||||
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
||||||
it wasn't used anywhere and caused portability problems
|
it wasn't used anywhere and caused portability problems
|
||||||
|
|||||||
@ -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>
|
Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
|
||||||
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
||||||
it wasn't used anywhere and caused portability problems
|
it wasn't used anywhere and caused portability problems
|
||||||
|
|||||||
@ -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>
|
Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
|
||||||
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
||||||
it wasn't used anywhere and caused portability problems
|
it wasn't used anywhere and caused portability problems
|
||||||
|
|||||||
@ -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>
|
Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
|
||||||
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
||||||
it wasn't used anywhere and caused portability problems
|
it wasn't used anywhere and caused portability problems
|
||||||
|
|||||||
@ -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>
|
Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
|
||||||
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
||||||
it wasn't used anywhere and caused portability problems
|
it wasn't used anywhere and caused portability problems
|
||||||
|
|||||||
@ -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>
|
Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
|
||||||
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
||||||
it wasn't used anywhere and caused portability problems
|
it wasn't used anywhere and caused portability problems
|
||||||
|
|||||||
@ -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>
|
Tue Dec 1 1997 Owen Taylor <owt1@cornell.edu>
|
||||||
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
* glib/glib.h, glib/configure.in. Disabled gldouble, since
|
||||||
it wasn't used anywhere and caused portability problems
|
it wasn't used anywhere and caused portability problems
|
||||||
|
|||||||
@ -446,6 +446,7 @@ gtk_option_menu_update_contents (GtkOptionMenu *option_menu)
|
|||||||
gtk_container_unblock_resize (GTK_CONTAINER (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_size_allocate (GTK_WIDGET (option_menu),
|
||||||
&(GTK_WIDGET (option_menu)->allocation));
|
&(GTK_WIDGET (option_menu)->allocation));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user