diff options
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/minicard/e-minicard-view.c | 1 | ||||
-rw-r--r-- | addressbook/gui/minicard/e-minicard.c | 2 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard-view.c | 1 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 2 |
4 files changed, 4 insertions, 2 deletions
diff --git a/addressbook/gui/minicard/e-minicard-view.c b/addressbook/gui/minicard/e-minicard-view.c index 2243f91b80..545bcc061f 100644 --- a/addressbook/gui/minicard/e-minicard-view.c +++ b/addressbook/gui/minicard/e-minicard-view.c @@ -283,6 +283,7 @@ e_minicard_view_event (GnomeCanvasItem *item, GdkEvent *event) switch( event->type ) { case GDK_2BUTTON_PRESS: + if (((GdkEventButton *)event)->button == 1) { gint result; ECard *card; diff --git a/addressbook/gui/minicard/e-minicard.c b/addressbook/gui/minicard/e-minicard.c index 1510c34205..3aabdab5ef 100644 --- a/addressbook/gui/minicard/e-minicard.c +++ b/addressbook/gui/minicard/e-minicard.c @@ -382,7 +382,7 @@ e_minicard_event (GnomeCanvasItem *item, GdkEvent *event) } break; case GDK_2BUTTON_PRESS: - if (E_IS_MINICARD_VIEW(item->parent)) { + if (event->button.button == 1 && E_IS_MINICARD_VIEW(item->parent)) { gint result; GtkWidget* contact_editor = e_contact_editor_new(e_minicard->card); diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c index 2243f91b80..545bcc061f 100644 --- a/addressbook/gui/widgets/e-minicard-view.c +++ b/addressbook/gui/widgets/e-minicard-view.c @@ -283,6 +283,7 @@ e_minicard_view_event (GnomeCanvasItem *item, GdkEvent *event) switch( event->type ) { case GDK_2BUTTON_PRESS: + if (((GdkEventButton *)event)->button == 1) { gint result; ECard *card; diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index 1510c34205..3aabdab5ef 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -382,7 +382,7 @@ e_minicard_event (GnomeCanvasItem *item, GdkEvent *event) } break; case GDK_2BUTTON_PRESS: - if (E_IS_MINICARD_VIEW(item->parent)) { + if (event->button.button == 1 && E_IS_MINICARD_VIEW(item->parent)) { gint result; GtkWidget* contact_editor = e_contact_editor_new(e_minicard->card); |