Fix crash on deleting account in gtk window mgr
authorJose Dapena Paz <jdapena@igalia.com>
Thu, 3 Dec 2009 12:03:28 +0000 (13:03 +0100)
committerJose Dapena Paz <jdapena@igalia.com>
Thu, 3 Dec 2009 13:08:06 +0000 (14:08 +0100)
po/en_GB.po
src/gtk/modest-gtk-window-mgr.c

index e7e2c70..686c9c1 100644 (file)
@@ -1917,10 +1917,10 @@ msgstr "Select attachment"
 #~ msgid "emev_ib_ui_smtp_send_error"
 #~ msgstr "SMTP send operation failed. Please try again later."
 
-#~ msgid "emev_nc_delete_mailboximap"
-#~ msgstr ""
-#~ "Deleting this e-mail account will remove all local copies of messages "
-#~ "retrieved to this account's Inbox and IMAP folders. Delete anyway?"
+msgid "emev_nc_delete_mailboximap"
+msgstr ""
+"Deleting this e-mail account will remove all local copies of messages "
+"retrieved to this account's Inbox and IMAP folders. Delete anyway?"
 
 #~ msgid "emev_nc_mailbox_inuse"
 #~ msgstr "E-mail account in use"
index 2ff3a19..9e7f62f 100644 (file)
@@ -905,7 +905,7 @@ on_account_removed (TnyAccountStore *acc_store,
                       modal dialog would otherwise, prevent the
                       windows from being closed */
                    if (!strcmp (acc_name, modest_window_get_active_account (current_top)))
-                           g_idle_add (on_idle_close_all_but_first, (gpointer) priv->shell);
+                           g_idle_add (on_idle_close_all_but_first, (gpointer) user_data);
        }
 }