From 53457a736667fad6397ec6cf9f163ff5c64423c0 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 3 Mar 2003 22:50:31 +0000 Subject: (e_select_names_new): Don't set the "modal" property through g_object_new(). (e_select_names_init): Explictly make the dialog modal here. svn path=/trunk/; revision=20131 --- addressbook/ChangeLog | 7 +++++++ addressbook/gui/component/select-names/e-select-names.c | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index d3464f0426..36f4125933 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2003-03-03 Ettore Perazzoli + + * gui/component/select-names/e-select-names.c + (e_select_names_new): Don't set the "modal" property through + g_object_new(). + (e_select_names_init): Explictly make the dialog modal here. + 2003-03-03 Ettore Perazzoli * gui/widgets/e-addressbook-view.c (create_minicard_view): No need diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index aae358905a..d916c2d832 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -492,6 +492,8 @@ e_select_names_init (ESelectNames *e_select_names) gtk_dialog_set_default_response (GTK_DIALOG (e_select_names), GTK_RESPONSE_OK); + gtk_window_set_modal (GTK_DIALOG (e_select_names), TRUE); + gtk_window_set_title(GTK_WINDOW(e_select_names), _("Select Contacts from Addressbook")); gtk_window_set_policy(GTK_WINDOW(e_select_names), FALSE, TRUE, FALSE); @@ -625,7 +627,7 @@ e_select_names_dispose (GObject *object) GtkWidget* e_select_names_new (void) { - GtkWidget *widget = g_object_new (E_TYPE_SELECT_NAMES, "modal", FALSE, NULL); + GtkWidget *widget = g_object_new (E_TYPE_SELECT_NAMES, NULL); return widget; } -- cgit v1.2.3