X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodest-utils.c;h=9753267bcaa0d40b91d2402fe16d02d7d16ac530;hb=a1d576310d8fd6c92053672e0f7d8c69e416807d;hp=545f6366d35549dbd10687b68c4780b4ef059398;hpb=6da1dc3a58c77120162480dea2f9812bc4eb2610;p=modest diff --git a/src/modest-utils.c b/src/modest-utils.c index 545f636..9753267 100644 --- a/src/modest-utils.c +++ b/src/modest-utils.c @@ -166,7 +166,6 @@ typedef struct GtkWidget* dialog; GtkWidget* progress; GError* error; - gboolean pulsing; } ModestGetSupportedAuthInfo; static void on_camel_account_get_supported_secure_authentication_status ( @@ -186,7 +185,6 @@ on_idle_secure_auth_finished (gpointer user_data) * the code below is or does Gtk+ code */ gdk_threads_enter(); /* CHECKED */ - info->pulsing = FALSE; gtk_dialog_response (GTK_DIALOG (info->dialog), GTK_RESPONSE_ACCEPT); gdk_threads_leave(); /* CHECKED */ @@ -275,7 +273,6 @@ on_secure_auth_cancel(GtkWidget* dialog, int response, gpointer user_data) /* This gives the ownership of the info to the worker thread. */ info->result = NULL; info->cancel = TRUE; - info->pulsing = FALSE; } } typedef struct { @@ -363,10 +360,12 @@ modest_utils_get_supported_secure_authentication_methods (ModestTransportStorePr info->result = NULL; info->cancel = FALSE; info->error = NULL; - info->pulsing = TRUE; info->progress = gtk_progress_bar_new(); - /* TODO: Need logical_ID for the title: */ - info->dialog = gtk_dialog_new_with_buttons(" ", + + /* FIXME: the title (first arg) here is empty; there should be 'accountwizard_fi_authentication', + * but that does not exist yet; see bug #82487. so, for now, we simply leave it empty + */ + info->dialog = gtk_dialog_new_with_buttons(" ", parent_window, GTK_DIALOG_MODAL, _("mcen_bd_dialog_cancel"), GTK_RESPONSE_REJECT,