From bed151743070dbe3aa3a403ccec00a24b587f644 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 2 Jun 2000 04:46:04 +0000 Subject: Made double click only work on the first button. 2000-06-02 Christopher James Lahey * gui/minicard/e-minicard-view.c, gui/minicard/e-minicard.c: Made double click only work on the first button. svn path=/trunk/; revision=3378 --- addressbook/gui/minicard/e-minicard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui/minicard/e-minicard.c') 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); -- cgit v1.2.3