aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c4
2 files changed, 10 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index d3464f0426..36f4125933 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,12 @@
2003-03-03 Ettore Perazzoli <ettore@ximian.com>
+ * 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 <ettore@ximian.com>
+
* gui/widgets/e-addressbook-view.c (create_minicard_view): No need
to do any reparenting here; the widget is created with no parent.
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;
}