diff options
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 44f9092c23..dc0281bddf 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2001-10-20 Christopher James Lahey <clahey@ximian.com> + + * gui/widgets/e-minicard.c (e_minicard_event): Changed this to not + grab on a right click. Fixes Ximian bug #12660. + 2001-10-19 Ettore Perazzoli <ettore@ximian.com> * gui/component/addressbook-component.c diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index fb06a126b1..754aaf3e9d 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -511,7 +511,7 @@ e_minicard_event (GnomeCanvasItem *item, GdkEvent *event) } break; case GDK_BUTTON_PRESS: { - if (1 <= event->button.button && event->button.button <= 3) { + if (1 <= event->button.button && event->button.button <= 2) { int ret_val = e_minicard_selected(e_minicard, event); GdkEventMask mask = ((1 << (4 + event->button.button)) | GDK_POINTER_MOTION_MASK | @@ -530,6 +530,10 @@ e_minicard_event (GnomeCanvasItem *item, GdkEvent *event) e_minicard->drag_button = event->button.button; e_minicard->drag_button_down = TRUE; return ret_val; + } else if (event->button.button == 3) { + int ret_val = e_minicard_selected(e_minicard, event); + if (ret_val != 0) + return ret_val; } break; } |