aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-combo-button.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/misc/e-combo-button.c b/widgets/misc/e-combo-button.c
index e6634b5c86..5277180f7d 100644
--- a/widgets/misc/e-combo-button.c
+++ b/widgets/misc/e-combo-button.c
@@ -244,10 +244,12 @@ impl_button_press_event (GtkWidget *widget,
combo_button = E_COMBO_BUTTON (widget);
priv = combo_button->priv;
- if (event->type == GDK_BUTTON_PRESS && event->button == 1) {
+ if (event->type == GDK_BUTTON_PRESS &&
+ (event->button == 1 || event->button == 3)) {
GTK_BUTTON (widget)->button_down = TRUE;
- if (event->x >= priv->arrow_pixmap->allocation.x) {
+ if (event->button == 3 ||
+ event->x >= priv->arrow_pixmap->allocation.x) {
/* User clicked on the right side: pop up the menu. */
gtk_button_pressed (GTK_BUTTON (widget));