[evolution-patches] Patch for "New" button prelight bug
- From: Ettore Perazzoli <ettore ximian com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] Patch for "New" button prelight bug
- Date: 08 May 2003 19:26:54 -0400
This fixes the annoying bug we have that causes the "New" toolbar button
to not un-prelight when the menu gets popped down.
-- Ettore
Index: misc/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/ChangeLog,v
retrieving revision 1.215
diff -u -p -r1.215 ChangeLog
--- misc/ChangeLog 8 May 2003 14:02:51 -0000 1.215
+++ misc/ChangeLog 8 May 2003 23:24:26 -0000
@@ -1,3 +1,10 @@
+2003-05-08 Ettore Perazzoli <ettore ximian com>
+
+ * 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 <jpr ximian com>
* e-search-bar.c (e_search_bar_set_text): trash e_utf8_gtk function
Index: misc/e-combo-button.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-combo-button.c,v
retrieving revision 1.11
diff -u -p -r1.11 e-combo-button.c
--- misc/e-combo-button.c 25 Mar 2003 15:48:09 -0000 1.11
+++ misc/e-combo-button.c 8 May 2003 23:24:27 -0000
@@ -213,6 +213,7 @@ menu_deactivate_callback (GtkMenuShell *
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));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]