From bd74840ef301ac84fd67b3a04e279fefe7f6b399 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Wed, 21 May 2008 17:06:18 +0000 Subject: [PATCH] * src/maemo/modest-platform.c: * (modest_platform_run_information_dialog): if we want an information dialog without blocking then we don't set modality because this way non parented dialogs are shown in their expected place (fixes NB#85528). pmo-trunk-r4556 --- src/maemo/modest-platform.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/maemo/modest-platform.c b/src/maemo/modest-platform.c index 7f3f6b2..400e273 100644 --- a/src/maemo/modest-platform.c +++ b/src/maemo/modest-platform.c @@ -1051,8 +1051,9 @@ modest_platform_run_information_dialog (GtkWindow *parent_window, GtkWidget *note; note = hildon_note_new_information (parent_window, message); - modest_window_mgr_set_modal (modest_runtime_get_window_mgr (), - GTK_WINDOW (note)); + if (block) + modest_window_mgr_set_modal (modest_runtime_get_window_mgr (), + GTK_WINDOW (note)); if (block) { gtk_dialog_run (GTK_DIALOG (note)); -- 1.7.9.5