diff options
author | Dan Winship <danw@src.gnome.org> | 2000-09-15 23:55:51 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-09-15 23:55:51 +0800 |
commit | 074035d2159af3b684cb890412ee317ea107c6a5 (patch) | |
tree | afcb86f26cbf240738d44bc517c066934d65fc3b /mail/mail-callbacks.c | |
parent | a1894051618b168045d202641ee7c6fe3571932f (diff) | |
download | gsoc2013-evolution-074035d2159af3b684cb890412ee317ea107c6a5.tar.gz gsoc2013-evolution-074035d2159af3b684cb890412ee317ea107c6a5.tar.zst gsoc2013-evolution-074035d2159af3b684cb890412ee317ea107c6a5.zip |
Revert **Temp fix** from below since the relevant shell bug has been fixed
* mail-callbacks.c (transfer_msg): Revert **Temp fix** from below
since the relevant shell bug has been fixed now.
svn path=/trunk/; revision=5453
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 6ced34a5db..748127ce4c 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -478,20 +478,22 @@ transfer_msg (GtkWidget *widget, gpointer user_data, gboolean delete_from_source extern EvolutionShellClient *global_shell_client; static char *last = NULL; + if (last == NULL) + last = g_strdup (""); if (delete_from_source) desc = _("Move message(s) to"); else desc = _("Copy message(s) to"); - evolution_shell_client_user_select_folder (global_shell_client, - desc, /* last ? last : */ "", - allowed_types, &uri, &physical); + evolution_shell_client_user_select_folder (global_shell_client, + desc, + last, allowed_types, &uri, &physical); if (!uri) return; path = strchr (uri, '/'); - if (!last || (last && path && strcmp (last, path))) { + if (path && strcmp (last, path) != 0) { g_free (last); last = g_strdup (path); } |