X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-account-settings-dialog.c;h=21ba1cf5eba8b9552912c7a1668a33297792de99;hb=652527fd671cc695045b75893d7010c246585ef2;hp=ed0e1c68ae4aedf585bc2687d8577ac151824c68;hpb=5ddf55d5203d0df352b0ccf55c43bbd948b92e14;p=modest diff --git a/src/maemo/modest-account-settings-dialog.c b/src/maemo/modest-account-settings-dialog.c index ed0e1c6..21ba1cf 100644 --- a/src/maemo/modest-account-settings-dialog.c +++ b/src/maemo/modest-account-settings-dialog.c @@ -1275,27 +1275,33 @@ modest_account_settings_dialog_class_init (ModestAccountSettingsDialogClass *kla static void show_error (GtkWindow *parent_window, const gchar* text) { + GtkDialog *dialog = GTK_DIALOG (hildon_note_new_information (parent_window, text)); + /* GtkDialog *dialog = GTK_DIALOG (gtk_message_dialog_new (parent_window, (GtkDialogFlags)0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, text )); - - gtk_dialog_run (dialog); - gtk_widget_destroy (GTK_WIDGET (dialog)); + */ + + gtk_dialog_run (dialog); + gtk_widget_destroy (GTK_WIDGET (dialog)); } static void show_ok (GtkWindow *parent_window, const gchar* text) { + GtkDialog *dialog = GTK_DIALOG (hildon_note_new_information (parent_window, text)); + /* GtkDialog *dialog = GTK_DIALOG (gtk_message_dialog_new (parent_window, (GtkDialogFlags)0, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, text )); + */ - gtk_dialog_run (dialog); - gtk_widget_destroy (GTK_WIDGET (dialog)); + gtk_dialog_run (dialog); + gtk_widget_destroy (GTK_WIDGET (dialog)); }