diff options
author | Peter Williams <peterw@ximian.com> | 2001-08-24 05:42:45 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-08-24 05:42:45 +0800 |
commit | 56b58a3b644ce3d181d841ac3345302c6eaa6846 (patch) | |
tree | 1f1120df0c37c4af5c7f888a703f9f800982a1f1 | |
parent | 90823e758b76bbaed17a45975a3b577c13ad97bc (diff) | |
download | gsoc2013-evolution-56b58a3b644ce3d181d841ac3345302c6eaa6846.tar gsoc2013-evolution-56b58a3b644ce3d181d841ac3345302c6eaa6846.tar.gz gsoc2013-evolution-56b58a3b644ce3d181d841ac3345302c6eaa6846.tar.bz2 gsoc2013-evolution-56b58a3b644ce3d181d841ac3345302c6eaa6846.tar.lz gsoc2013-evolution-56b58a3b644ce3d181d841ac3345302c6eaa6846.tar.xz gsoc2013-evolution-56b58a3b644ce3d181d841ac3345302c6eaa6846.tar.zst gsoc2013-evolution-56b58a3b644ce3d181d841ac3345302c6eaa6846.zip |
Eek, let the user create new accounts if old_account == NULL.
2001-08-23 Peter Williams <peterw@ximian.com>
* mail-account-gui.c (mail_account_gui_save): Eek, let the user create
new accounts if old_account == NULL.
svn path=/trunk/; revision=12425
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-account-gui.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 0785f68098..653943135f 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-08-23 Peter Williams <peterw@ximian.com> + + * mail-account-gui.c (mail_account_gui_save): Eek, let the user create + new accounts if old_account == NULL. + 2001-08-23 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (destination_folder_handle_drop): Check to diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index 26c6fbf5b4..0a986c4f66 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -1580,7 +1580,7 @@ mail_account_gui_save (MailAccountGui *gui) new_name = e_utf8_gtk_entry_get_text (gui->account_name); old_account = mail_config_get_account_by_name (new_name); - if (old_account != account) { + if (old_account && old_account != account) { e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, _("You may not create two accounts with the same name.")); return FALSE; |