diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-09-21 07:52:34 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-21 07:52:34 +0800 |
commit | 4a4c4187a0ee763fc247319389f1fae017423542 (patch) | |
tree | 5877e939651dade67ab61b12da2c093f955d3fc1 /mail | |
parent | d79a40783c811837fa86f2fccd18a2ed25c2d90e (diff) | |
download | gsoc2013-evolution-4a4c4187a0ee763fc247319389f1fae017423542.tar gsoc2013-evolution-4a4c4187a0ee763fc247319389f1fae017423542.tar.gz gsoc2013-evolution-4a4c4187a0ee763fc247319389f1fae017423542.tar.bz2 gsoc2013-evolution-4a4c4187a0ee763fc247319389f1fae017423542.tar.lz gsoc2013-evolution-4a4c4187a0ee763fc247319389f1fae017423542.tar.xz gsoc2013-evolution-4a4c4187a0ee763fc247319389f1fae017423542.tar.zst gsoc2013-evolution-4a4c4187a0ee763fc247319389f1fae017423542.zip |
Don't "note" the folder if we failed to get it.
2001-09-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-tools.c (mail_tool_uri_to_folder): Don't "note" the folder
if we failed to get it.
svn path=/trunk/; revision=13030
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 9 | ||||
-rw-r--r-- | mail/mail-tools.c | 11 |
2 files changed, 10 insertions, 10 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 3cfa062846..10b6ac4d71 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,7 +1,12 @@ +2001-09-20 Jeffrey Stedfast <fejj@ximian.com> + + * mail-tools.c (mail_tool_uri_to_folder): Don't "note" the folder + if we failed to get it. + 2001-09-20 Iain Holmes <iain@ximian.com> - * mail-account-gui.c (mail_account_gui_new): Set the sensitivity of the - edit buttons correctly. + * mail-account-gui.c (mail_account_gui_new): Set the sensitivity + of the edit buttons correctly. 2001-09-20 <NotZed@Ximian.com> diff --git a/mail/mail-tools.c b/mail/mail-tools.c index 250e7c2f06..16e37047d9 100644 --- a/mail/mail-tools.c +++ b/mail/mail-tools.c @@ -360,14 +360,9 @@ mail_tool_uri_to_folder (const char *uri, CamelException *ex) camel_object_unref (CAMEL_OBJECT (store)); } - if (camel_exception_is_set (ex)) { - if (folder) { - camel_object_unref (CAMEL_OBJECT (folder)); - folder = NULL; - } - } else { - vfolder_register_source(folder); - mail_note_folder(folder); + if (folder) { + vfolder_register_source (folder); + mail_note_folder (folder); } camel_url_free (url); |