}
/* Create and run the dialog */
- dialog = create_move_to_dialog (win, NULL, list_to_move);
toplevel = (GtkWindow *) gtk_widget_get_toplevel ((GtkWidget *) win);
+ dialog = create_move_to_dialog (toplevel, NULL, list_to_move);
modest_window_mgr_set_modal (modest_runtime_get_window_mgr (),
GTK_WINDOW (dialog),
toplevel);
distinguish if the notification belongs to
this account or not, so for safety reasons
we remove them all */
- modest_platform_remove_new_mail_notifications (FALSE);
+ modest_platform_remove_new_mail_notifications (FALSE, account_name);
} else {
g_warning ("%s: modest_account_mgr_remove_account() failed.\n", __FUNCTION__);
}