From cdd8a5be80319480840cb62521ee157b41319950 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 5 Nov 2001 23:10:12 +0000 Subject: Don't make the account editor modal either. 2001-11-05 Jeffrey Stedfast * 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 --- mail/mail-config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/mail-config.h') diff --git a/mail/mail-config.h b/mail/mail-config.h index 367f7f217e..66bdfd4b1b 100644 --- a/mail/mail-config.h +++ b/mail/mail-config.h @@ -23,7 +23,7 @@ #ifndef MAIL_CONFIG_H #define MAIL_CONFIG_H -#include +#include #include #ifdef __cplusplus @@ -205,7 +205,7 @@ GSList *mail_config_get_sources (void); /* static utility functions */ char *mail_config_folder_to_cachename (CamelFolder *folder, const char *prefix); -gboolean mail_config_check_service (const char *url, CamelProviderType type, GList **authtypes); +gboolean mail_config_check_service (const char *url, CamelProviderType type, GList **authtypes, GtkWindow *window); -- cgit