X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-tny-account-store.c;h=004e88afdc2d6cb5e97594df8171006bd07b1f5b;hb=63f8fe0a7c7eeae9c390bc87fb97703fe54438d8;hp=8ef37433c0a11f276415c768fd89886ccc041aa3;hpb=d9e6029cf28b623669c6ed2c305daeb48e3fea95;p=modest diff --git a/src/modest-tny-account-store.c b/src/modest-tny-account-store.c index 8ef3743..004e88a 100644 --- a/src/modest-tny-account-store.c +++ b/src/modest-tny-account-store.c @@ -1073,7 +1073,7 @@ modest_tny_account_store_alert (TnyAccountStore *self, TnyAlertType type, break; } - GtkWidget *dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, + GtkWidget *dialog = gtk_message_dialog_new (NULL, 0, gtktype, GTK_BUTTONS_YES_NO, prompt); #endif /* #ifdef MODEST_PLATFORM_MAEMO */ @@ -1081,7 +1081,7 @@ modest_tny_account_store_alert (TnyAccountStore *self, TnyAlertType type, const int response = gtk_dialog_run (GTK_DIALOG (dialog)); if (question) { retval = (response == GTK_RESPONSE_YES) || - (response == GTK_RESPONSE_OK); + (response == GTK_RESPONSE_OK); } gtk_widget_destroy (dialog);