aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-druid.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-11-06 07:10:12 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-11-06 07:10:12 +0800
commitcdd8a5be80319480840cb62521ee157b41319950 (patch)
treeea5c22c2648bc5246a15fb33d9809e5991855b52 /mail/mail-config-druid.c
parent016bfe6a735a8f5b2b31731795d4812cbdaf8f7a (diff)
downloadgsoc2013-evolution-cdd8a5be80319480840cb62521ee157b41319950.tar
gsoc2013-evolution-cdd8a5be80319480840cb62521ee157b41319950.tar.gz
gsoc2013-evolution-cdd8a5be80319480840cb62521ee157b41319950.tar.bz2
gsoc2013-evolution-cdd8a5be80319480840cb62521ee157b41319950.tar.lz
gsoc2013-evolution-cdd8a5be80319480840cb62521ee157b41319950.tar.xz
gsoc2013-evolution-cdd8a5be80319480840cb62521ee157b41319950.tar.zst
gsoc2013-evolution-cdd8a5be80319480840cb62521ee157b41319950.zip
Don't make the account editor modal either.
2001-11-05 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Don't make the account editor modal either. * mail-accounts.c (mail_add): Use the new global account druid variable so that we can avoid having more than a single druid at a time. If a druid already exists, bring it to the top. (mail_edit): Same idea only for the account editor this time. (mail_editor_destroyed): Set the global editor to NULL. (mail_add_finished): Set the global druid to NULL. (mail_delete): Don't allow any deletes if an account editor is opened (we don't want to be able to delete the account we are editing...) (news_edit): Same thing for the news editor. (news_editor_destroyed): Set the news editor to NULL. (news_add): And again for the news add. * mail-account-gui.c (service_check_supported): Updated to pass a GtkWindow argument to mail_config_check_service(). * mail-config.c (mail_config_check_service): Now takes a GtkWindow argument so we can set our parent window. Also, don't make this dialog modal either. * mail-config-druid.c (construct): Don't make this druid modal. svn path=/trunk/; revision=14598
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r--mail/mail-config-druid.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index 08e77db626..41d272a626 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -592,16 +592,15 @@ construct (MailConfigDruid *druid)
/* get our toplevel widget and reparent it */
widget = glade_xml_get_widget (druid->xml, "druid");
gtk_widget_reparent (widget, GTK_WIDGET (druid));
-
+
druid->druid = GNOME_DRUID (widget);
/* set window title */
gtk_window_set_title (GTK_WINDOW (druid), _("Evolution Account Assistant"));
gtk_window_set_policy (GTK_WINDOW (druid), FALSE, TRUE, FALSE);
- gtk_window_set_modal (GTK_WINDOW (druid), TRUE);
+ gtk_window_set_modal (GTK_WINDOW (druid), FALSE);
gtk_object_set (GTK_OBJECT (druid), "type", GTK_WINDOW_DIALOG, NULL);
-
druid->listener = bonobo_listener_new (NULL, NULL);
gtk_signal_connect (GTK_OBJECT (druid->listener), "event-notify",
GTK_SIGNAL_FUNC (wizard_listener_event), druid);