From 50fea9ab7e0038db89b5d24e86dc03171312b2d1 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 28 Jan 2001 09:58:37 +0000 Subject: Changed the EDropdownButton so that it works more like a standard menu bar (i.e. the menu is popped up on button_press instead of button_release). Now it is also based on GtkToggleButton, so it stays pushed down when the menu is on the screen. svn path=/trunk/; revision=7869 --- widgets/misc/e-dropdown-button.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'widgets/misc/e-dropdown-button.h') diff --git a/widgets/misc/e-dropdown-button.h b/widgets/misc/e-dropdown-button.h index 584cb0365b..6e3043f70e 100644 --- a/widgets/misc/e-dropdown-button.h +++ b/widgets/misc/e-dropdown-button.h @@ -28,7 +28,7 @@ #include #endif -#include +#include #include #include @@ -50,13 +50,13 @@ typedef struct _EDropdownButtonPrivate EDropdownButtonPrivate; typedef struct _EDropdownButtonClass EDropdownButtonClass; struct _EDropdownButton { - GtkButton parent; + GtkToggleButton parent; EDropdownButtonPrivate *priv; }; struct _EDropdownButtonClass { - GtkButtonClass parent_class; + GtkToggleButtonClass parent_class; }; -- cgit