From: Sergio Villar Senin Date: Tue, 27 Nov 2007 10:22:25 +0000 (+0000) Subject: * The password request dialog was appearing bellow the accounts dialog and it's... X-Git-Tag: git_migration_finished~2009 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=c1bb3c442b1e6ae3a5a4f8b4b2fc5968c042f510 * The password request dialog was appearing bellow the accounts dialog and it's modal, so the user was unable to click on it or on the accounts dialog, so it seemed that modest is hanged pmo-trunk-r3826 --- diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index 369e4be..7cf832d 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -2995,7 +2995,7 @@ modest_ui_actions_on_password_requested (TnyAccountStore *account_store, NULL); #endif /* MODEST_PLATFORM_MAEMO */ - gtk_window_set_transient_for (GTK_WINDOW(dialog), GTK_WINDOW(main_window)); + modest_window_mgr_set_modal (modest_runtime_get_window_mgr(), GTK_WINDOW (dialog)); gchar *server_name = modest_account_mgr_get_server_account_hostname ( modest_runtime_get_account_mgr(), server_account_name);