Add attachment in menu of editor
authorJose Dapena Paz <jdapena@igalia.com>
Fri, 24 Apr 2009 21:46:01 +0000 (21:46 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Fri, 24 Apr 2009 21:46:01 +0000 (21:46 +0000)
pmo-trunk-r9129

src/hildon2/modest-msg-edit-window.c

index 47d8b7d..066f599 100644 (file)
@@ -4249,6 +4249,9 @@ setup_menu (ModestMsgEditWindow *self)
        modest_hildon2_window_add_to_menu (MODEST_HILDON2_WINDOW (self), _("mcen_me_editor_attach_inlineimage"), NULL,
                                           APP_MENU_CALLBACK (modest_ui_actions_on_insert_image),
                                           MODEST_DIMMING_CALLBACK (modest_ui_dimming_rules_on_set_style));
+       modest_hildon2_window_add_to_menu (MODEST_HILDON2_WINDOW (self), _("TODO: add attachment"), NULL,
+                                          APP_MENU_CALLBACK (modest_msg_edit_window_add_attachment_clicked),
+                                          NULL);
        modest_hildon2_window_add_to_menu (MODEST_HILDON2_WINDOW (self), _("mcen_me_inbox_remove_attachments"), NULL,
                                           APP_MENU_CALLBACK (modest_ui_actions_on_remove_attachments),
                                           MODEST_DIMMING_CALLBACK (modest_ui_dimming_rules_on_editor_remove_attachment));