diff options
author | Dan Winship <danw@src.gnome.org> | 2000-11-02 11:46:15 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-11-02 11:46:15 +0800 |
commit | f99dfd474c829a059da873f9b08acfdfd0f4c2d2 (patch) | |
tree | ec137cb1bc26a6c81d98835a2c0fdba1fb37c6fd /shell | |
parent | 6db2305b3345ebb436c81bda685ccf1cb8bcbfa7 (diff) | |
download | gsoc2013-evolution-f99dfd474c829a059da873f9b08acfdfd0f4c2d2.tar.gz gsoc2013-evolution-f99dfd474c829a059da873f9b08acfdfd0f4c2d2.tar.zst gsoc2013-evolution-f99dfd474c829a059da873f9b08acfdfd0f4c2d2.zip |
Make this take "highlighted" as well.
* evolution-storage.c (evolution_storage_new_folder): Make this
take "highlighted" as well.
* e-local-storage.c (new_folder):
* e-corba-storage.c (impl_StorageListener_new_folder): set
highlighted on the new folder.
* e-storage-set-view.c (updated_folder_cb): Remove an unused
variable.
svn path=/trunk/; revision=6338
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 12 | ||||
-rw-r--r-- | shell/e-corba-storage.c | 1 | ||||
-rw-r--r-- | shell/e-local-storage.c | 3 | ||||
-rw-r--r-- | shell/e-storage-set-view.c | 1 | ||||
-rw-r--r-- | shell/evolution-storage.c | 4 | ||||
-rw-r--r-- | shell/evolution-storage.h | 3 |
6 files changed, 20 insertions, 4 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index a391fac53c..127b6d4d05 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,15 @@ +2000-11-01 Dan Winship <danw@helixcode.com> + + * evolution-storage.c (evolution_storage_new_folder): Make this + take "highlighted" as well. + + * e-local-storage.c (new_folder): + * e-corba-storage.c (impl_StorageListener_new_folder): set + highlighted on the new folder. + + * e-storage-set-view.c (updated_folder_cb): Remove an unused + variable. + 2000-10-26 Iain Holmes <iain@helixcode.com> * Evolution-ShellView.idl: Added a change_current_view method and diff --git a/shell/e-corba-storage.c b/shell/e-corba-storage.c index a62af2fd60..c6a3a99cdc 100644 --- a/shell/e-corba-storage.c +++ b/shell/e-corba-storage.c @@ -110,6 +110,7 @@ impl_StorageListener_new_folder (PortableServer_Servant servant, folder->description); e_folder_set_physical_uri (e_folder, folder->physical_uri); + e_folder_set_highlighted (e_folder, folder->highlighted); 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/e-local-storage.c b/shell/e-local-storage.c index 25db4ab988..852a6e2945 100644 --- a/shell/e-local-storage.c +++ b/shell/e-local-storage.c @@ -170,7 +170,8 @@ new_folder (ELocalStorage *local_storage, e_folder_get_name (folder), e_folder_get_type_string (folder), e_folder_get_physical_uri (folder), - e_folder_get_description (folder)); + e_folder_get_description (folder), + e_folder_get_highlighted (folder)); } static gboolean diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index 7ea9465f54..08a4e77f8b 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -680,7 +680,6 @@ updated_folder_cb (EStorageSet *storage_set, EStorageSetViewPrivate *priv; ETreeModel *etree; ETreePath *node; - char *node_data; storage_set_view = E_STORAGE_SET_VIEW (data); priv = storage_set_view->priv; diff --git a/shell/evolution-storage.c b/shell/evolution-storage.c index d1a1285297..1ca69da867 100644 --- a/shell/evolution-storage.c +++ b/shell/evolution-storage.c @@ -483,7 +483,8 @@ evolution_storage_new_folder (EvolutionStorage *evolution_storage, const char *display_name, const char *type, const char *physical_uri, - const char *description) + const char *description, + gboolean highlighted) { EvolutionStorageResult result; EvolutionStoragePrivate *priv; @@ -512,6 +513,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->highlighted = highlighted; result = EVOLUTION_STORAGE_OK; diff --git a/shell/evolution-storage.h b/shell/evolution-storage.h index 45a5e4a543..91b34c4efe 100644 --- a/shell/evolution-storage.h +++ b/shell/evolution-storage.h @@ -89,7 +89,8 @@ EvolutionStorageResult evolution_storage_new_folder (EvolutionStora const char *display_name, const char *type, const char *physical_uri, - const char *description); + const char *description, + gboolean highlighted); EvolutionStorageResult evolution_storage_update_folder (EvolutionStorage *evolution_storage, const char *path, const char *display_name, |