diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/folderview.c | 6 | ||||
-rw-r--r-- | src/summaryview.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/folderview.c b/src/folderview.c index 252f4268..24b700dc 100644 --- a/src/folderview.c +++ b/src/folderview.c @@ -2016,6 +2016,12 @@ static gboolean folderview_key_pressed(GtkWidget *widget, GdkEventKey *event, } } break; + case GDK_F10: + if ((event->state & GDK_SHIFT_MASK) != 0) { + folderview_menu_popup(folderview, NULL); + return TRUE; + } + break; case GDK_Menu: folderview_menu_popup(folderview, NULL); return TRUE; 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, |