* Removed maemo code from account store
authorSergio Villar Senin <svillar@igalia.com>
Thu, 15 Nov 2007 19:16:48 +0000 (19:16 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Thu, 15 Nov 2007 19:16:48 +0000 (19:16 +0000)
pmo-trunk-r3749

src/modest-tny-account-store.c

index 84e448b..d2ba6a6 100644 (file)
@@ -581,7 +581,12 @@ show_wrong_password_dialog (TnyAccount *account)
                        account, 0);
                        
                /* Show it and delete it when it closes: */
-               modest_maemo_show_dialog_and_forget (GTK_WINDOW (main_window), GTK_DIALOG (dialog));
+               gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (main_window));
+               g_signal_connect_swapped (dialog, 
+                                         "response", 
+                                         G_CALLBACK (gtk_widget_destroy), 
+                                         dialog);
+               gtk_widget_show (GTK_WIDGET (dialog));
        }
        else {
                /* Just show it instead of showing it and deleting it when it closes,