diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-03-04 06:50:31 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-03-04 06:50:31 +0800 |
commit | 53457a736667fad6397ec6cf9f163ff5c64423c0 (patch) | |
tree | 4bc3537b0f3d3147bbabd108e9da367113701c36 /addressbook/gui | |
parent | 484aa9de68ec6259f452c13a4c030bec510d33a9 (diff) | |
download | gsoc2013-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/gui')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |