diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-28 17:58:37 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-28 17:58:37 +0800 |
commit | 50fea9ab7e0038db89b5d24e86dc03171312b2d1 (patch) | |
tree | df48c884ba44d1c3e2e1d6eb360fc7ab8d2b1f43 /widgets/misc/e-dropdown-button.h | |
parent | 426c551eeed2096cb0de0b451adc1d84b055034f (diff) | |
download | gsoc2013-evolution-50fea9ab7e0038db89b5d24e86dc03171312b2d1.tar.gz gsoc2013-evolution-50fea9ab7e0038db89b5d24e86dc03171312b2d1.tar.zst gsoc2013-evolution-50fea9ab7e0038db89b5d24e86dc03171312b2d1.zip |
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
Diffstat (limited to 'widgets/misc/e-dropdown-button.h')
-rw-r--r-- | widgets/misc/e-dropdown-button.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 <config.h> #endif -#include <gtk/gtkbutton.h> +#include <gtk/gtktogglebutton.h> #include <gtk/gtkmenu.h> #include <gnome.h> @@ -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; }; |