aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-07-10 04:27:17 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-07-10 04:27:17 +0800
commit6d2b6fa6d25e72aef704f3fefb0d3fa907f2086d (patch)
treeebf375b1a6a93278f0a70b74b3545061d6f34074 /mail
parentdbb4e600dede6660bd4f130a7f21b781146319b7 (diff)
downloadgsoc2013-evolution-6d2b6fa6d25e72aef704f3fefb0d3fa907f2086d.tar
gsoc2013-evolution-6d2b6fa6d25e72aef704f3fefb0d3fa907f2086d.tar.gz
gsoc2013-evolution-6d2b6fa6d25e72aef704f3fefb0d3fa907f2086d.tar.bz2
gsoc2013-evolution-6d2b6fa6d25e72aef704f3fefb0d3fa907f2086d.tar.lz
gsoc2013-evolution-6d2b6fa6d25e72aef704f3fefb0d3fa907f2086d.tar.xz
gsoc2013-evolution-6d2b6fa6d25e72aef704f3fefb0d3fa907f2086d.tar.zst
gsoc2013-evolution-6d2b6fa6d25e72aef704f3fefb0d3fa907f2086d.zip
Pass NULL @custom_icon_name to evolution_storage_new_folder().
* gui/component/addressbook-storage.c (load_source_data): Pass NULL @custom_icon_name to evolution_storage_new_folder(). (addressbook_storage_add_source): Likewise. [Note we could be passing a nice custom here. ;-)] * subscribe-dialog.c (recursive_add_folder): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * evolution-test-component.c (setup_custom_storage): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * e-local-storage.c (new_folder): Pass the custom_icon_name here to evolution_storage_new_folder(). * evolution-shell-client.c (impl_FolderSelectionListener_selected): Set customIconName here too. * e-folder.c (e_folder_to_corba): Set customIconName too. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): Set customIconName. Also, use e_safe_corba_string() to clean up the code a bit. * evolution-storage.c (evolution_storage_new_folder): New arg @custom_icon_name. * Evolution-common.idl: New member customIconName in struct Folder. svn path=/trunk/; revision=17397
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-folder-cache.c3
-rw-r--r--mail/subscribe-dialog.c2
3 files changed, 11 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 9e42c25a82..88af461378 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2002-07-09 Ettore Perazzoli <ettore@ximian.com>
+
+ * subscribe-dialog.c (recursive_add_folder): Pass NULL for
+ @custom_icon_name to evolution_storage_new_folder().
+
+ * mail-folder-cache.c (real_flush_updates): Pass NULL for
+ @custom_icon_name to evolution_storage_new_folder().
+
2002-07-08 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (redirect): Don't ever use the mail-display's
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index 8b55601f7a..945406b99a 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -191,7 +191,8 @@ real_flush_updates(void *o, void *event_data, void *data)
d(printf("Adding new folder: %s\n", up->path));
evolution_storage_new_folder(storage,
- up->path, up->name, type, up->uri, up->name, up->unread,
+ up->path, up->name, type, up->uri, up->name, NULL,
+ up->unread,
TRUE);
}
diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c
index 0d553dd326..46484ddbd4 100644
--- a/mail/subscribe-dialog.c
+++ b/mail/subscribe-dialog.c
@@ -185,7 +185,7 @@ recursive_add_folder (EvolutionStorage *storage, const char *path, const char *n
g_free (parent);
}
- evolution_storage_new_folder (storage, path, name, "mail", url, name, FALSE, TRUE);
+ evolution_storage_new_folder (storage, path, name, "mail", url, name, NULL, FALSE, TRUE);
}
/* ** Get one level of folderinfo ****************************************** */