diff options
author | Dan Winship <danw@src.gnome.org> | 2001-02-21 09:42:12 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-02-21 09:42:12 +0800 |
commit | 33041e67fcbf0e88b449ea4991d6648b51a84b38 (patch) | |
tree | 2f424511831e28538e1624aeedb19237352f9505 /shell/e-folder.h | |
parent | f0e49c7c18dff132093b74ae794f53675ac2d3d0 (diff) | |
download | gsoc2013-evolution-33041e67fcbf0e88b449ea4991d6648b51a84b38.tar gsoc2013-evolution-33041e67fcbf0e88b449ea4991d6648b51a84b38.tar.gz gsoc2013-evolution-33041e67fcbf0e88b449ea4991d6648b51a84b38.tar.bz2 gsoc2013-evolution-33041e67fcbf0e88b449ea4991d6648b51a84b38.tar.lz gsoc2013-evolution-33041e67fcbf0e88b449ea4991d6648b51a84b38.tar.xz gsoc2013-evolution-33041e67fcbf0e88b449ea4991d6648b51a84b38.tar.zst gsoc2013-evolution-33041e67fcbf0e88b449ea4991d6648b51a84b38.zip |
split "highlighted" into self_highlight and child_highligh.
* e-folder.c (_EFolderPrivate): split "highlighted" into
self_highlight and child_highligh.
(e_folder_get_highlighted): Return TRUE if either self_highlight
is true or any child is highlighted.
(e_folder_set_child_highlight): New function to tell the folder
about a child highlight change.
* e-storage.c (folder_changed_cb): Update child highlights
correctly on folders so that folders will be highlighted whenever
their children are.
svn path=/trunk/; revision=8311
Diffstat (limited to 'shell/e-folder.h')
-rw-r--r-- | shell/e-folder.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/shell/e-folder.h b/shell/e-folder.h index 5a720a957e..81bbd54448 100644 --- a/shell/e-folder.h +++ b/shell/e-folder.h @@ -77,11 +77,12 @@ const char *e_folder_get_description (EFolder *folder); const char *e_folder_get_physical_uri (EFolder *folder); gboolean e_folder_get_highlighted (EFolder *folder); -void e_folder_set_name (EFolder *folder, const char *name); -void e_folder_set_type_string (EFolder *folder, const char *type); -void e_folder_set_description (EFolder *folder, const char *description); -void e_folder_set_physical_uri (EFolder *folder, const char *physical_uri); -void e_folder_set_highlighted (EFolder *folder, gboolean highlighted); +void e_folder_set_name (EFolder *folder, const char *name); +void e_folder_set_type_string (EFolder *folder, const char *type); +void e_folder_set_description (EFolder *folder, const char *description); +void e_folder_set_physical_uri (EFolder *folder, const char *physical_uri); +void e_folder_set_highlighted (EFolder *folder, gboolean highlighted); +void e_folder_set_child_highlight (EFolder *folder, gboolean highlighted); #ifdef __cplusplus } |