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-LocalStorage.idl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'shell/Evolution-LocalStorage.idl') diff --git a/shell/Evolution-LocalStorage.idl b/shell/Evolution-LocalStorage.idl index 0a31105c3e..4ca81670e4 100644 --- a/shell/Evolution-LocalStorage.idl +++ b/shell/Evolution-LocalStorage.idl @@ -13,14 +13,17 @@ module Evolution { interface LocalStorage : Evolution::Storage { /** - * set_display_name: + * update_folder: * @path: Path of a folder within the storage. - * @display: Name to be displayed in the tree view for this folder + * @display_name: Name to be displayed in the tree view for + * this folder + * @highlighted: Whether or not to highlight the name. * * Set the name to display for the folder at the specified * @path. */ - void set_display_name (in string path, - in string display_name); + void update_folder (in string path, + in string display_name, + in boolean highlighted); }; }; -- cgit