From 190c671cd205f52876f464699f594274c832874b Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 26 Mar 2012 05:53:08 +0000 Subject: src/summaryview.c: enabled menu popup with Menu key. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3030 ee746299-78ed-0310-b773-934348b2243d --- src/summaryview.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/summaryview.c b/src/summaryview.c index d6499ee2..f8161f42 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2011 Hiroyuki Yamamoto + * Copyright (C) 1999-2012 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -6072,6 +6072,13 @@ static gboolean summary_key_pressed(GtkWidget *widget, GdkEventKey *event, BREAK_ON_MODIFIER_KEY(); summary_delete(summaryview); return TRUE; + case GDK_Menu: + syl_plugin_signal_emit("summaryview-menu-popup", + summaryview->popupfactory); + gtk_menu_popup(GTK_MENU(summaryview->popupmenu), NULL, NULL, + menu_widget_position, summaryview->treeview, + 0, GDK_CURRENT_TIME); + return TRUE; default: break; } -- cgit v1.2.3