From 2f73ae894f233860ade8d09c6383e325e8c6b4c2 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Wed, 25 Mar 2009 21:29:33 +0000 Subject: [PATCH] Add KP_Enter as accepted shortcut for sending (fixes NB#100845) pmo-trunk-r8390 --- src/hildon2/ui/modest-msg-edit-window-ui.xml | 1 + src/widgets/modest-msg-edit-window-ui.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/hildon2/ui/modest-msg-edit-window-ui.xml b/src/hildon2/ui/modest-msg-edit-window-ui.xml index e455f95..19364a0 100644 --- a/src/hildon2/ui/modest-msg-edit-window-ui.xml +++ b/src/hildon2/ui/modest-msg-edit-window-ui.xml @@ -91,6 +91,7 @@ + diff --git a/src/widgets/modest-msg-edit-window-ui.h b/src/widgets/modest-msg-edit-window-ui.h index 1443eb8..ee73572 100644 --- a/src/widgets/modest-msg-edit-window-ui.h +++ b/src/widgets/modest-msg-edit-window-ui.h @@ -97,6 +97,7 @@ static const GtkActionEntry modest_msg_edit_action_entries [] = { /* KEY ACCELERATOR ACTIONS */ { "ZoomPlus", NULL, N_("Zoom +"), "F7", NULL, G_CALLBACK (modest_ui_actions_on_zoom_plus) }, { "ZoomMinus", NULL, N_("Zoom -"), "F8", NULL, G_CALLBACK (modest_ui_actions_on_zoom_minus) }, + { "SendShortcut", NULL, N_("Send email"), "KP_Enter", NULL, G_CALLBACK (modest_ui_actions_on_send) }, { "ToggleFullscreen", NULL, N_("Toggle fullscreen"), "F6", NULL, G_CALLBACK (modest_ui_actions_on_change_fullscreen) }, { "CloseWindowShortcut", NULL, NULL, "Escape", NULL, NULL }, -- 1.7.9.5