Changed this to not grab on a right click. Fixes Ximian bug #12660.
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. svn path=/trunk/; revision=13818
This commit is contained in:

committed by
Chris Lahey

parent
a1709b95e1
commit
631389f175
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user