diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-24 08:56:21 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-01-24 08:56:21 +0800 |
commit | 4e98233a4d7f8e06736b716c92a04f7e0709e16e (patch) | |
tree | ce2a7c44513429147e65a7b20f70e52c4e8d3de6 /shell/e-folder-tree.h | |
parent | 15a1741ae42da39ffd66e7ba6bd0d73da99e5ac9 (diff) | |
download | gsoc2013-evolution-4e98233a4d7f8e06736b716c92a04f7e0709e16e.tar.gz gsoc2013-evolution-4e98233a4d7f8e06736b716c92a04f7e0709e16e.tar.zst gsoc2013-evolution-4e98233a4d7f8e06736b716c92a04f7e0709e16e.zip |
Fix the logic for updating the shortuct labels when the display names
of the corresponding folders change, so that it doesn't crash.
I have removed the redundant "folder_updated" signal on
`ELocalStorage' and changed EStorage so that it emits "updated_folder"
automatically when any of the folders changes its properties.
svn path=/trunk/; revision=7770
Diffstat (limited to 'shell/e-folder-tree.h')
-rw-r--r-- | shell/e-folder-tree.h | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/shell/e-folder-tree.h b/shell/e-folder-tree.h index 59613cbaba..26fa4b13a4 100644 --- a/shell/e-folder-tree.h +++ b/shell/e-folder-tree.h @@ -31,22 +31,27 @@ typedef void (* EFolderDestroyNotify) (EFolderTree *tree, const char *path, vo typedef void (* EFolderTreeForeachFunc) (EFolderTree *tree, const char *path, void *data, void *closure); -EFolderTree *e_folder_tree_new (EFolderDestroyNotify folder_destroy_notify, - void *closure); -void e_folder_tree_destroy (EFolderTree *folder_tree); -gboolean e_folder_tree_add (EFolderTree *folder_tree, - const char *path, - void *data); -gboolean e_folder_tree_remove (EFolderTree *folder_tree, - const char *path); +EFolderTree *e_folder_tree_new (EFolderDestroyNotify folder_destroy_notify, + void *closure); + +void e_folder_tree_destroy (EFolderTree *folder_tree); + +gboolean e_folder_tree_add (EFolderTree *folder_tree, + const char *path, + void *data); +gboolean e_folder_tree_remove (EFolderTree *folder_tree, + const char *path); + +void *e_folder_tree_get_folder (EFolderTree *folder_tree, + const char *path); +GList *e_folder_tree_get_subfolders (EFolderTree *folder_tree, + const char *path); + +void e_folder_tree_foreach (EFolderTree *folder_tree, + EFolderTreeForeachFunc foreach_func, + void *data); -void *e_folder_tree_get_folder (EFolderTree *folder_tree, - const char *path); -GList *e_folder_tree_get_subfolders (EFolderTree *folder_tree, - const char *path); - -void e_folder_tree_foreach (EFolderTree *folder_tree, - EFolderTreeForeachFunc foreach_func, - void *data); +const char *e_folder_tree_get_path_for_data (EFolderTree *folder_tree, + const void *data); #endif /* _E_FOLDER_TREE_H_ */ |