aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-03-04 06:50:31 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-03-04 06:50:31 +0800
commit53457a736667fad6397ec6cf9f163ff5c64423c0 (patch)
tree4bc3537b0f3d3147bbabd108e9da367113701c36 /addressbook
parent484aa9de68ec6259f452c13a4c030bec510d33a9 (diff)
downloadgsoc2013-evolution-53457a736667fad6397ec6cf9f163ff5c64423c0.tar
gsoc2013-evolution-53457a736667fad6397ec6cf9f163ff5c64423c0.tar.gz
gsoc2013-evolution-53457a736667fad6397ec6cf9f163ff5c64423c0.tar.bz2
gsoc2013-evolution-53457a736667fad6397ec6cf9f163ff5c64423c0.tar.lz
gsoc2013-evolution-53457a736667fad6397ec6cf9f163ff5c64423c0.tar.xz
gsoc2013-evolution-53457a736667fad6397ec6cf9f163ff5c64423c0.tar.zst
gsoc2013-evolution-53457a736667fad6397ec6cf9f163ff5c64423c0.zip
(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
Diffstat (limited to 'addressbook')
-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;
}