diff options
author | Dan Winship <danw@src.gnome.org> | 2001-08-15 00:37:59 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-08-15 00:37:59 +0800 |
commit | 250946204244dce6c91d99ce4f573ae3de2dcb7a (patch) | |
tree | a98c9f5768fa301bf7dbc7b4f988bd9356009fcd /shell | |
parent | f604364042e94ed58b2cbce5746791d88e7c0776 (diff) | |
download | gsoc2013-evolution-250946204244dce6c91d99ce4f573ae3de2dcb7a.tar.gz gsoc2013-evolution-250946204244dce6c91d99ce4f573ae3de2dcb7a.tar.zst gsoc2013-evolution-250946204244dce6c91d99ce4f573ae3de2dcb7a.zip |
Use the passed-in unread_count.
* evolution-storage.c (evolution_storage_new_folder): Use the
passed-in unread_count.
* e-corba-storage.c (impl_StorageListener_notifyFolderCreated):
Pass the passed-in unread_count to e_storage_new_folder.
svn path=/trunk/; revision=12018
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 8 | ||||
-rw-r--r-- | shell/e-corba-storage.c | 1 | ||||
-rw-r--r-- | shell/evolution-storage.c | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index f59611fcd0..2fb964e268 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,11 @@ +2001-08-14 Dan Winship <danw@ximian.com> + + * evolution-storage.c (evolution_storage_new_folder): Use the + passed-in unread_count. + + * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): + Pass the passed-in unread_count to e_storage_new_folder. + 2001-08-13 Ettore Perazzoli <ettore@ximian.com> * e-gray-bar.c (impl_style_set): Chain to the parent class. diff --git a/shell/e-corba-storage.c b/shell/e-corba-storage.c index 5745ee8fcf..394a06cf3a 100644 --- a/shell/e-corba-storage.c +++ b/shell/e-corba-storage.c @@ -110,6 +110,7 @@ impl_StorageListener_notifyFolderCreated (PortableServer_Servant servant, folder->description); e_folder_set_physical_uri (e_folder, folder->physical_uri); + e_folder_set_unread_count (e_folder, folder->unread_count); if (! e_storage_new_folder (storage, path, e_folder)) { g_print ("Cannot register folder -- %s %s\n", path, folder->display_name); diff --git a/shell/evolution-storage.c b/shell/evolution-storage.c index fb0ca7604c..55ca4c3b7d 100644 --- a/shell/evolution-storage.c +++ b/shell/evolution-storage.c @@ -826,7 +826,7 @@ evolution_storage_new_folder (EvolutionStorage *evolution_storage, corba_folder->description = CORBA_string_dup (description); corba_folder->type = CORBA_string_dup (type); corba_folder->physical_uri = CORBA_string_dup (physical_uri); - corba_folder->unread_count = 0; + corba_folder->unread_count = unread_count; if (! e_folder_tree_add (priv->folder_tree, path, corba_folder)) { CORBA_free (corba_folder); |