aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-vfolder.c
diff options
context:
space:
mode:
author8 <NotZed@Ximian.com>2001-10-28 18:53:02 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-28 18:53:02 +0800
commit4229e6849ddbb2ecef6bef8177203c9b90c98686 (patch)
tree47f5b887300c08292f1b17acd03bc6b20c967edb /mail/mail-vfolder.c
parent4ee4cf5693acf3ec206b9dda7ddaf772aa441489 (diff)
downloadgsoc2013-evolution-4229e6849ddbb2ecef6bef8177203c9b90c98686.tar.gz
gsoc2013-evolution-4229e6849ddbb2ecef6bef8177203c9b90c98686.tar.zst
gsoc2013-evolution-4229e6849ddbb2ecef6bef8177203c9b90c98686.zip
Remove uic, kill dumb warning.
2001-10-28 <NotZed@Ximian.com> * folder-browser-ui.c (fbui_sensitize_timeout): Remove uic, kill dumb warning. * mail-autofilter.c (mail_filter_rename_uri): Implement function for filters to keep track of uri's being renamed. (mail_filter_delete_uri): Similarly for deleting uri's. Note that these functions are just noops though. (real_flush_updates): Also rename and delete uri's from filters. (mls_delete_folder): Unref the store when done. (mls_rename_folder): Fix implementation, shell already created destination folder, so we can't just rename :( (xfer_folder): Manually call rename code, since the shell will do a remove/add later on, AND there's no way we can determine the new path from the crock of an api we have to work with. svn path=/trunk/; revision=14291
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r--mail/mail-vfolder.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c
index 5db432a3b6..216337b4b0 100644
--- a/mail/mail-vfolder.c
+++ b/mail/mail-vfolder.c
@@ -440,7 +440,7 @@ mail_vfolder_rename_uri(CamelStore *store, const char *from, const char *to)
CamelVeeFolder *vf;
int changed = 0;
- printf("vfolder rename uri: %s to %s\n", from, to);
+ d(printf("vfolder rename uri: %s to %s\n", from, to));
if (context == NULL || !strncmp(from, "vtrash:", 7) || !strncmp(to, "vtrash:", 7))
return;
@@ -457,7 +457,7 @@ mail_vfolder_rename_uri(CamelStore *store, const char *from, const char *to)
/* Remove all sources that match, ignore changed events though
because the adduri call above does the work async */
if (uri_cmp(from, source)) {
- printf("Vfolder '%s' used '%s' ('%s') now uses '%s'\n", rule->name, source, from, to);
+ d(printf("Vfolder '%s' used '%s' ('%s') now uses '%s'\n", rule->name, source, from, to));
vf = g_hash_table_lookup(vfolder_hash, rule->name);
g_assert(vf);
gtk_signal_disconnect_by_func((GtkObject *)rule, rule_changed, vf);
@@ -502,7 +502,7 @@ rule_changed(FilterRule *rule, CamelFolder *folder)
CamelFolder *old;
LOCK();
- printf("Changing folder name in hash table to '%s'\n", rule->name);
+ d(printf("Changing folder name in hash table to '%s'\n", rule->name));
if (g_hash_table_lookup_extended(vfolder_hash, folder->full_name, (void **)&key, (void **)&old)) {
g_hash_table_remove(vfolder_hash, key);
g_free(key);
@@ -666,11 +666,11 @@ store_folder_renamed(CamelObject *o, void *event_data, void *data)
/* This should be more-or-less thread-safe */
- printf("Folder renamed to '%s' from '%s'\n", info->new->full_name, info->old_base);
+ d(printf("Folder renamed to '%s' from '%s'\n", info->new->full_name, info->old_base));
/* Folder is already renamed? */
LOCK();
- printf("Changing folder name in hash table to '%s'\n", info->new->full_name);
+ d(printf("Changing folder name in hash table to '%s'\n", info->new->full_name));
if (g_hash_table_lookup_extended(vfolder_hash, info->old_base, (void **)&key, (void **)&folder)) {
g_hash_table_remove(vfolder_hash, key);
g_free(key);