From bcbf0b3fb212c5bf468c7146023f9eaa6cf6f5cd Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 9 May 2003 16:34:04 +0000 Subject: *** empty log message *** svn path=/trunk/; revision=21139 --- widgets/misc/ChangeLog | 7 +++++++ widgets/misc/e-combo-button.c | 1 + 2 files changed, 8 insertions(+) (limited to 'widgets') diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index f619912eb9..5a007e75ad 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,10 @@ +2003-05-08 Ettore Perazzoli + + * e-combo-button.c (menu_deactivate_callback): Set in_button to + FALSE; this makes sure the button gets the right appearance after + the menu is popped down (the reason why this is necessary is that + the widget doesn't never gets to the leave_notify event). + 2003-05-07 JP Rosevear * e-search-bar.c (e_search_bar_set_text): trash e_utf8_gtk function diff --git a/widgets/misc/e-combo-button.c b/widgets/misc/e-combo-button.c index 33b89d9943..933c4e8ae4 100644 --- a/widgets/misc/e-combo-button.c +++ b/widgets/misc/e-combo-button.c @@ -213,6 +213,7 @@ menu_deactivate_callback (GtkMenuShell *menu_shell, priv->menu_popped_up = FALSE; GTK_BUTTON (combo_button)->button_down = FALSE; + GTK_BUTTON (combo_button)->in_button = FALSE; gtk_button_leave (GTK_BUTTON (combo_button)); gtk_button_clicked (GTK_BUTTON (combo_button)); } -- cgit v1.2.3