diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-03-26 05:53:08 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-03-26 05:53:08 +0000 |
commit | 190c671cd205f52876f464699f594274c832874b (patch) | |
tree | ae09c6c3cabf90305f560ce39a6c39efcc2706e3 /src/summaryview.c | |
parent | c0e22aef9eecfddde486a62a4d366edd45d86d00 (diff) |
src/summaryview.c: enabled menu popup with Menu key.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3030 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/summaryview.c')
-rw-r--r-- | src/summaryview.c | 9 |
1 files changed, 8 insertions, 1 deletions
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; } |