diff options
author | Not Zed <NotZed@Ximian.com> | 2005-04-13 11:32:58 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-04-13 11:32:58 +0800 |
commit | 3b1e3a9de11ec58e31904acdca9db518da410b6a (patch) | |
tree | 7d42f90ead9402f2c93eb98d2b91fd292ece4de3 /mail | |
parent | 605d797d7f6b7d68035fec708a2ef1b83033a3c1 (diff) | |
download | gsoc2013-evolution-3b1e3a9de11ec58e31904acdca9db518da410b6a.tar gsoc2013-evolution-3b1e3a9de11ec58e31904acdca9db518da410b6a.tar.gz gsoc2013-evolution-3b1e3a9de11ec58e31904acdca9db518da410b6a.tar.bz2 gsoc2013-evolution-3b1e3a9de11ec58e31904acdca9db518da410b6a.tar.lz gsoc2013-evolution-3b1e3a9de11ec58e31904acdca9db518da410b6a.tar.xz gsoc2013-evolution-3b1e3a9de11ec58e31904acdca9db518da410b6a.tar.zst gsoc2013-evolution-3b1e3a9de11ec58e31904acdca9db518da410b6a.zip |
** See bug #273752
2005-04-12 Not Zed <NotZed@Ximian.com>
** See bug #273752
* em-folder-tree.c (emft_drop_folder_rec): handle NULL
"parent_name" - dropping to store node.
svn path=/trunk/; revision=29206
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/em-folder-tree.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 93a3cd023e..44d6e157d5 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2005-04-12 Not Zed <NotZed@Ximian.com> + + ** See bug #273752 + + * em-folder-tree.c (emft_drop_folder_rec): handle NULL + "parent_name" - dropping to store node. + 2005-04-08 Jeffrey Stedfast <fejj@novell.com> * em-composer-utils.c (em_utils_send_receipt): Simplify the diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index a663022298..d0e34e9e83 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -833,7 +833,7 @@ emft_drop_folder_rec (CamelStore *store, CamelFolderInfo *fi, const char *parent break; /* handles dropping to the root properly */ - if (parent_name[0]) + if (parent_name && parent_name[0]) new_name = g_strdup_printf ("%s/%s", parent_name, src->name); else new_name = g_strdup (src->name); |