* 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
30 lines
728 B
Plaintext
30 lines
728 B
Plaintext
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
/*
|
|
* Interface for the Evolution local storage.
|
|
*
|
|
* Authors:
|
|
* Ettore Perazzoli <ettore@helixcode.com>
|
|
*
|
|
* Copyright (C) 2000 Helix Code, Inc.
|
|
*/
|
|
|
|
#include <Bonobo.idl>
|
|
|
|
module Evolution {
|
|
interface LocalStorage : Evolution::Storage {
|
|
/**
|
|
* update_folder:
|
|
* @path: Path of a folder within the storage.
|
|
* @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 update_folder (in string path,
|
|
in string display_name,
|
|
in boolean highlighted);
|
|
};
|
|
};
|