From: Sergio Villar Senin Date: Mon, 21 Apr 2008 11:56:39 +0000 (+0000) Subject: * Fixes NB#84535, server errors are now shown over the contacts dialog X-Git-Tag: git_migration_finished~1442 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=3683156120f585a9280a87e8cdf4a6f38942141b * Fixes NB#84535, server errors are now shown over the contacts dialog pmo-trunk-r4439 --- diff --git a/src/maemo/modest-address-book.c b/src/maemo/modest-address-book.c index be1db54..e7c2dc9 100644 --- a/src/maemo/modest-address-book.c +++ b/src/maemo/modest-address-book.c @@ -38,6 +38,8 @@ #include #include "modest-hildon-includes.h" #include "modest-platform.h" +#include "modest-runtime.h" +#include "widgets/modest-window-mgr.h" #include #include #include @@ -187,6 +189,7 @@ modest_address_book_select_addresses (ModestRecptEditor *recpt_editor) contact_dialog = osso_abook_select_dialog_new (OSSO_ABOOK_TREE_VIEW (contact_view)); gtk_window_set_title (GTK_WINDOW (contact_dialog), _("mcen_ti_select_recipients")); + modest_window_mgr_set_modal (modest_runtime_get_window_mgr (), GTK_WINDOW (contact_dialog)); gtk_widget_show (contact_dialog); diff --git a/src/widgets/modest-window-mgr.h b/src/widgets/modest-window-mgr.h index 664c745..a8e7411 100644 --- a/src/widgets/modest-window-mgr.h +++ b/src/widgets/modest-window-mgr.h @@ -185,7 +185,6 @@ GtkWindow* modest_window_mgr_get_modal (ModestWindowMgr *self); * * set the modal dialog; set it to NULL after destroying the dialog * - * Returns: the modal dialog just set **/ void modest_window_mgr_set_modal (ModestWindowMgr *self, GtkWindow *window);