X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-msg-edit-window-ui.h;h=006d3f99a77b094df467994e4238d02aba7e196b;hb=4306fe319d2e238ee2f99bc1420623b25b1dfdd6;hp=a89dd60e531f3b3ff0dcde3f07897f3815fdb514;hpb=e61bc5bdd2caaabfffa138d95062511bb849f052;p=modest diff --git a/src/widgets/modest-msg-edit-window-ui.h b/src/widgets/modest-msg-edit-window-ui.h index a89dd60..006d3f9 100644 --- a/src/widgets/modest-msg-edit-window-ui.h +++ b/src/widgets/modest-msg-edit-window-ui.h @@ -58,14 +58,14 @@ static const GtkActionEntry modest_msg_edit_action_entries [] = { { "ActionsNewMessage", NULL, N_("mcen_me_new_message"), "N", NULL, G_CALLBACK (modest_ui_actions_on_new_msg) }, #else { "ActionsNewMessage", NULL, N_("mcen_me_viewer_newemail"), "N", NULL, G_CALLBACK (modest_ui_actions_on_new_msg) }, -#endif { "ActionsSaveToDrafts", NULL, N_("mcen_me_editor_save_as_draft"), "S", NULL, G_CALLBACK (modest_ui_actions_on_save_to_drafts) }, +#endif #ifdef MODEST_TOOLKIT_HILDON2 { "ActionsDelete", NULL, N_("mcen_me_delete_messages"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_delete_message) }, #else { "ActionsDelete", NULL, N_("mcen_me_inbox_delete"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_delete_message) }, #endif - { "ActionsSend", NULL, N_("mcen_me_editor_send"), "KP_Enter", NULL, G_CALLBACK (modest_ui_actions_on_send) }, + { "ActionsSend", NULL, N_("mcen_me_editor_send"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_send) }, #ifndef MODEST_TOOLKIT_HILDON2 { "ActionsFontColor", GTK_STOCK_SELECT_COLOR, N_("Color"), NULL, N_("Change text color"), G_CALLBACK (modest_ui_actions_on_select_editor_color)}, { "BackgroundColor", GTK_STOCK_SELECT_COLOR, N_("Background color"), NULL, N_("Change background color"), G_CALLBACK (modest_ui_actions_on_select_editor_background_color)}, @@ -97,15 +97,19 @@ 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) }, +#ifdef MODEST_TOOLKIT_HILDON2 + { "SendShortcut2", NULL, N_("Send email"), "Return", NULL, G_CALLBACK (modest_ui_actions_on_send) }, +#endif { "ToggleFullscreen", NULL, N_("Toggle fullscreen"), "F6", NULL, G_CALLBACK (modest_ui_actions_on_change_fullscreen) }, { "CloseWindowShortcut", NULL, NULL, "Escape", NULL, NULL }, /* TOOLBAR ACTIONS */ - { "ToolbarSend", MODEST_STOCK_MAIL_SEND, N_("qgn_toolb_messagin_send"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_send) }, - -#ifdef MODEST_TOOLKIT_HILDON2 - /* Find in page. This is a normal menu option in Hildon2, and a checkbox in the others */ - { "FindInMessage", NULL, N_("mcen_me_viewer_find"), "F", NULL, G_CALLBACK (modest_ui_actions_on_toggle_find_in_page)}, +#ifndef MODEST_TOOLKIT_HILDON2 + { "ToolbarSend", MODEST_TOOLBAR_ICON_MAIL_SEND, N_("mcen_me_editor_send"), "Return", NULL, G_CALLBACK (modest_ui_actions_on_send) }, +#endif +#ifdef MODEST_TOOLKIT_GTK + { "ToolbarAttach", "stock_attach", N_("mcen_me_editor_attachfile"), NULL, NULL, G_CALLBACK (modest_ui_actions_on_attach_file) }, #endif }; @@ -133,10 +137,8 @@ static const GtkToggleActionEntry modest_msg_edit_toggle_action_entries [] = { { "ActionsBold", MODEST_TOOLBAR_ICON_BOLD, MODEST_TOOLBAR_ICON_BOLD, NULL, NULL, G_CALLBACK (modest_ui_actions_on_toggle_bold), FALSE }, { "ActionsItalics", MODEST_TOOLBAR_ICON_ITALIC, MODEST_TOOLBAR_ICON_ITALIC, NULL, NULL, G_CALLBACK (modest_ui_actions_on_toggle_italics), FALSE }, -#ifndef MODEST_TOOLKIT_HILDON2 /* Find in page */ { "FindInMessage", NULL, N_("mcen_me_viewer_find"), "F", NULL, G_CALLBACK (modest_ui_actions_on_toggle_find_in_page), FALSE }, -#endif }; static const GtkRadioActionEntry modest_msg_edit_alignment_radio_action_entries [] = {