hildon_app_menu_append (menu, GTK_BUTTON (button));
}
+static void
+on_new_account (GtkAction *action,
+ ModestWindow *window)
+{
+ modest_ui_actions_run_account_setup_wizard (window);
+}
+
static void setup_menu (ModestAccountsWindow *self)
{
ModestAccountsWindowPrivate *priv = NULL;
app_menu = hildon_app_menu_new ();
/* Settings menu buttons */
+ add_to_menu (self, HILDON_APP_MENU (app_menu), _("TODO: new account"),
+ G_CALLBACK (on_new_account));
+ add_to_menu (self, HILDON_APP_MENU (app_menu), _("TODO: edit accounts"),
+ G_CALLBACK (modest_ui_actions_on_accounts));
add_to_menu (self, HILDON_APP_MENU (app_menu), _("mcen_me_inbox_options"),
G_CALLBACK (modest_ui_actions_on_settings));
- add_to_menu (self, HILDON_APP_MENU (app_menu), _("mcen_me_inbox_accounts"),
- G_CALLBACK (modest_ui_actions_on_accounts));
add_to_menu (self, HILDON_APP_MENU (app_menu), _("mcen_me_inbox_globalsmtpservers"),
G_CALLBACK (modest_ui_actions_on_smtp_servers));
+ add_to_menu (self, HILDON_APP_MENU (app_menu), _("mcen_me_viewer_newemail"),
+ G_CALLBACK (modest_ui_actions_on_new_msg));
+ add_to_menu (self, HILDON_APP_MENU (app_menu), _("mcen_me_inbox_sendandreceive"),
+ G_CALLBACK (modest_ui_actions_on_send_receive));
+ add_to_menu (self, HILDON_APP_MENU (app_menu), _("mcen_me_outbox_cancelsend"),
+ G_CALLBACK (modest_ui_actions_cancel_send));
hildon_stackable_window_set_main_menu (HILDON_STACKABLE_WINDOW (self),
HILDON_APP_MENU (app_menu));