]> Pileus Git - ~andy/gtk/commit
Call gtk_widget_size_request() on reparented child, if one. Otherwise,
authorOwen Taylor <otaylor@redhat.com>
Sun, 2 Jul 2000 18:41:29 +0000 (18:41 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sun, 2 Jul 2000 18:41:29 +0000 (18:41 +0000)
commitb02ebc65e4a0aa3d6b198d5491589f4ac3e60365
tree51d5ad924cd504838abb952704aecb024dbe1b18
parentd2058c2875606f33da5fdbb8a3a779588a2f7fc7
Call gtk_widget_size_request() on reparented child, if one. Otherwise,

Sun Jul  2 14:37:58 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkoptionmenu.c (gtk_option_menu_size_request): Call
gtk_widget_size_request() on reparented child, if one. Otherwise,
queue_resize() on the child never results in it getting size-requested
at all.

* gtk/testgtk.c (build_option_menu): Remove silly radio-menu-items
in option menus, so that (with luck) people won't copy it into
their apps in the future.

* gtk/gtkoptionmenu.c: Connect ::size_request on the menu
to gtk_option_menu_calc_size. This isn't perfect, but should fix
a lot of problems with changing the size of the menu's menu
items after adding it to the option menu.

* gtk/gtktexttag.c: Include gtkmain.h for gtk_get_default_language().

* gtk/gtkwidget.[ch]: Add a ::direction_changed that triggers when
the text direction for a widget changes.

* gtk/gtk{entry.c,label.[ch],textview.[ch]} gtk/testgtk.c: Use
::direction_changed to get rid of various hacks.
17 files changed:
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/gtkentry.c
gtk/gtklabel.c
gtk/gtklabel.h
gtk/gtkoptionmenu.c
gtk/gtktexttag.c
gtk/gtktextview.c
gtk/gtkwidget.c
gtk/gtkwidget.h
gtk/testgtk.c
tests/testgtk.c