aboutsummaryrefslogtreecommitdiffstats
path: root/modules
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 /modules
parentba634a1fb1ea927e37bd59b2a1d99aa7fa184eb4 (diff)
downloadgsoc2013-evolution-75595d233ba382dee053d70cf35e26b7eff3befa.tar
gsoc2013-evolution-75595d233ba382dee053d70cf35e26b7eff3befa.tar.gz
gsoc2013-evolution-75595d233ba382dee053d70cf35e26b7eff3befa.tar.bz2
gsoc2013-evolution-75595d233ba382dee053d70cf35e26b7eff3befa.tar.lz
gsoc2013-evolution-75595d233ba382dee053d70cf35e26b7eff3befa.tar.xz
gsoc2013-evolution-75595d233ba382dee053d70cf35e26b7eff3befa.tar.zst
gsoc2013-evolution-75595d233ba382dee053d70cf35e26b7eff3befa.zip
Bug #683877 - No more contextual menus for links
Diffstat (limited to 'modules')
-rw-r--r--modules/mail/e-mail-shell-view-private.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/modules/mail/e-mail-shell-view-private.c b/modules/mail/e-mail-shell-view-private.c
index 53da2bc288..83a4fa48fe 100644
--- a/modules/mail/e-mail-shell-view-private.c
+++ b/modules/mail/e-mail-shell-view-private.c
@@ -398,7 +398,6 @@ mail_shell_view_message_list_right_click_cb (EShellView *shell_view,
static gboolean
mail_shell_view_popup_event_cb (EMailShellView *mail_shell_view,
- GdkEventButton *event,
const gchar *uri)
{
EMailShellContent *mail_shell_content;
@@ -424,14 +423,9 @@ mail_shell_view_popup_event_cb (EMailShellView *mail_shell_view,
shell_view = E_SHELL_VIEW (mail_shell_view);
e_shell_view_update_actions (shell_view);
- 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;
}