From 75595d233ba382dee053d70cf35e26b7eff3befa Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 8 Nov 2012 17:26:32 +0100 Subject: Bug #683877 - No more contextual menus for links --- mail/e-mail-browser.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'mail') diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c index 7535785c35..6b1eb6cd11 100644 --- a/mail/e-mail-browser.c +++ b/mail/e-mail-browser.c @@ -311,7 +311,6 @@ mail_browser_message_list_built_cb (EMailBrowser *browser, static gboolean mail_browser_popup_event_cb (EMailBrowser *browser, - GdkEventButton *event, const gchar *uri) { EMailReader *reader; @@ -333,14 +332,9 @@ mail_browser_popup_event_cb (EMailBrowser *browser, state = e_mail_reader_check_state (reader); e_mail_reader_update_actions (reader, state); - if (event == NULL) - gtk_menu_popup ( - menu, NULL, NULL, NULL, NULL, - 0, gtk_get_current_event_time ()); - else - gtk_menu_popup ( - menu, NULL, NULL, NULL, NULL, - event->button, event->time); + gtk_menu_popup ( + menu, NULL, NULL, NULL, NULL, + 0, gtk_get_current_event_time ()); return TRUE; } -- cgit