Fixed the bug 61219, changed from showing dialog to showing banner if the account...
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Fri, 29 Jun 2007 14:52:09 +0000 (14:52 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Fri, 29 Jun 2007 14:52:09 +0000 (14:52 +0000)
pmo-trunk-r2499

src/maemo/easysetup/modest-easysetup-wizard.c
src/maemo/modest-account-settings-dialog.c

index 1606b79..cfc3449 100644 (file)
@@ -1226,7 +1226,7 @@ on_before_next (ModestWizardDialog *dialog, GtkWidget *current_page, GtkWidget *
 
                if (name_in_use) {
                        /* Warn the user via a dialog: */
-                       show_error (GTK_WINDOW (account_wizard), _("mail_ib_account_name_already_existing"));
+                       hildon_banner_show_information(NULL, NULL, _("mail_ib_account_name_already_existing"));
             
                        return FALSE;
                }
index 4df0082..0aa7f85 100644 (file)
@@ -824,7 +824,7 @@ check_data (ModestAccountSettingsDialog *self)
        
                if (name_in_use) {
                        /* Warn the user via a dialog: */
-                       show_error (GTK_WINDOW (self), _("mail_ib_account_name_already_existing"));
+                       hildon_banner_show_information(NULL, NULL, _("mail_ib_account_name_already_existing"));
                
                        return FALSE;
                }
@@ -1464,7 +1464,3 @@ show_ok (GtkWindow *parent_window, const gchar* text)
        hildon_banner_show_information(GTK_WIDGET(
                                                                                                                                                                                gtk_widget_get_parent_window(GTK_WIDGET(parent_window))), NULL, text);
 }
-
-
-
-