diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-11-06 07:10:12 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-11-06 07:10:12 +0800 |
commit | cdd8a5be80319480840cb62521ee157b41319950 (patch) | |
tree | ea5c22c2648bc5246a15fb33d9809e5991855b52 /mail/mail-config.h | |
parent | 016bfe6a735a8f5b2b31731795d4812cbdaf8f7a (diff) | |
download | gsoc2013-evolution-cdd8a5be80319480840cb62521ee157b41319950.tar.gz 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.h')
-rw-r--r-- | mail/mail-config.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <glib.h> +#include <gtk/gtk.h> #include <camel/camel.h> #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); |