aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-dropdown-button.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-01-28 17:58:37 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-01-28 17:58:37 +0800
commit50fea9ab7e0038db89b5d24e86dc03171312b2d1 (patch)
treedf48c884ba44d1c3e2e1d6eb360fc7ab8d2b1f43 /widgets/misc/e-dropdown-button.h
parent426c551eeed2096cb0de0b451adc1d84b055034f (diff)
downloadgsoc2013-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.h6
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;
};