aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-11-09 00:26:32 +0800
committerMilan Crha <mcrha@redhat.com>2012-11-09 00:27:37 +0800
commit75595d233ba382dee053d70cf35e26b7eff3befa (patch)
treec1d38c5c8aa1e34f158cb1d8be6626ce0342f898 /mail
parentba634a1fb1ea927e37bd59b2a1d99aa7fa184eb4 (diff)
downloadgsoc2013-evolution-75595d233ba382dee053d70cf35e26b7eff3befa.tar.gz
gsoc2013-evolution-75595d233ba382dee053d70cf35e26b7eff3befa.tar.zst
gsoc2013-evolution-75595d233ba382dee053d70cf35e26b7eff3befa.zip
Bug #683877 - No more contextual menus for links
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-browser.c12
1 files changed, 3 insertions, 9 deletions
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;
}