diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-03-26 06:08:48 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-03-26 06:08:48 +0000 |
commit | 9df14117131cf7db5551e1cf44bd052afd1dc176 (patch) | |
tree | 0f6bdbc2a5ed63348b4bff4610ac2fa09cb929b7 /src/summaryview.c | |
parent | 190c671cd205f52876f464699f594274c832874b (diff) |
also support Shift+F10 for menu popup.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3031 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/summaryview.c')
-rw-r--r-- | src/summaryview.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/summaryview.c b/src/summaryview.c index f8161f42..d8cfca3e 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -6072,7 +6072,11 @@ static gboolean summary_key_pressed(GtkWidget *widget, GdkEventKey *event, BREAK_ON_MODIFIER_KEY(); summary_delete(summaryview); return TRUE; + case GDK_F10: case GDK_Menu: + if (event->keyval == GDK_F10 && + (event->state & GDK_SHIFT_MASK) == 0) + break; syl_plugin_signal_emit("summaryview-menu-popup", summaryview->popupfactory); gtk_menu_popup(GTK_MENU(summaryview->popupmenu), NULL, NULL, |