From 0fa29927fc5a0913388dc8fbc4a9b816c0a11119 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 2 Nov 2000 00:11:53 +0000 Subject: Add "highligted" field to Folder. Add update_folder method to * Evolution-Storage.idl: Add "highligted" field to Folder. Add update_folder method to StorageListener to change display_name and highlight status. * e-folder.c: Add "highlighted" to EFolder to match the Evolution::Folder type. (e_folder_get_highlighted, e_folder_set_highlighted): Added * evolution-storage-listener.c (impl_Evolution_StorageListener_update_folder, etc): * e-storage.c (e_storage_updated_folder, etc): * e-corba-storage.c (impl_StorageListener_update_folder, etc): Implement update_folder. * e-storage-set.c (storage_updated_folder_cb, etc): Re-emit updated_folder signals received from EStorage. * e-storage-set-view.c (various): Add another model column to the ETable and set it up as a bold_column based on e_folder_get_highligted. (updated_folder_cb, etc): Listen to EStorageSet update_folder signal and emit ETree node_changed signals. * evolution-storage.c (evolution_storage_update_folder): Client function to update a folder's display_name and highlighted status. * Evolution-LocalStorage.idl: * evolution-local-storage.c: * e-local-storage.c: Change set_display_name to update_folder to match Evolution::StorageListener svn path=/trunk/; revision=6328 --- shell/evolution-storage.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shell/evolution-storage.h') diff --git a/shell/evolution-storage.h b/shell/evolution-storage.h index d32b716f86..45a5e4a543 100644 --- a/shell/evolution-storage.h +++ b/shell/evolution-storage.h @@ -90,6 +90,10 @@ EvolutionStorageResult evolution_storage_new_folder (EvolutionStora const char *type, const char *physical_uri, const char *description); +EvolutionStorageResult evolution_storage_update_folder (EvolutionStorage *evolution_storage, + const char *path, + const char *display_name, + gboolean highlighted); EvolutionStorageResult evolution_storage_removed_folder (EvolutionStorage *evolution_storage, const char *path); -- cgit