#include <modest-account-mgr-helpers.h>
#include <string.h>
#include "modest-account-assistant.h"
+#include "modest-account-protocol.h"
#include "modest-tny-platform-factory.h"
#include "modest-platform.h"
gint response;
if (modest_account_mgr_get_store_protocol (account_mgr, account_name)
- == MODEST_PROTOCOL_STORE_POP) {
+ == MODEST_PROTOCOLS_STORE_POP) {
txt = g_strdup_printf (_("emev_nc_delete_mailbox"),
account_title);
} else {
/* there is no such wizard yet */
wizard = GTK_DIALOG (modest_account_assistant_new (modest_runtime_get_account_mgr ()));
modest_window_mgr_set_modal (modest_runtime_get_window_mgr(),
- GTK_WINDOW (wizard));
+ GTK_WINDOW (wizard), self);
/* if there is already another modal dialog, make it non-modal */
if (dialog)