diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-03-17 06:54:55 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-03-17 06:54:55 +0800 |
commit | b036a0df45473a69635b72f71341bc5d4f3deb5e (patch) | |
tree | c6c161541287b46cfdd74b513f4dcdb4aa453c91 /widgets | |
parent | adba504c23874aa85a3ab8e72c9c8dd49aed79ec (diff) | |
download | gsoc2013-evolution-b036a0df45473a69635b72f71341bc5d4f3deb5e.tar gsoc2013-evolution-b036a0df45473a69635b72f71341bc5d4f3deb5e.tar.gz gsoc2013-evolution-b036a0df45473a69635b72f71341bc5d4f3deb5e.tar.bz2 gsoc2013-evolution-b036a0df45473a69635b72f71341bc5d4f3deb5e.tar.lz gsoc2013-evolution-b036a0df45473a69635b72f71341bc5d4f3deb5e.tar.xz gsoc2013-evolution-b036a0df45473a69635b72f71341bc5d4f3deb5e.tar.zst gsoc2013-evolution-b036a0df45473a69635b72f71341bc5d4f3deb5e.zip |
Fix for bug #55358.
2004-03-16 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #55358.
* em-folder-tree.c (emft_expand_node): Changed to be the callback
function for em_folder_tree_model_expand_foreach().
(emft_maybe_expand_row): Renamed from emft_loading_row_cb(). We
now handle both "loading-row" an "loaded-row" signals. Also
updated for slight change in key generation.
(em_folder_tree_new_with_model): Connect to the "loaded-row"
signal.
(emft_update_model_expanded_state): Updated for slight change in
key generation.
* em-folder-tree-model.c (em_folder_tree_model_add_store): Emit
the "loaded-row" signal for the newly added store.
(em_folder_tree_model_set_folder_info): Emit "loaded-row" for the
row we've just set the info on (but only after we've added a child
node if there is one, so the signal handler can expand the newly
added row if appropriate).
(em_folder_tree_model_class_init): Setup the "loaded-row" signal.
(em_folder_tree_model_finalize): The tree-state is now an xml file
and not a binary file, so change the expanded free func.
(em_folder_tree_model_load_state): Load the expand-state xml
file. If one doesn't exist, setup some defaults.
(em_folder_tree_model_get_expanded): Scan the XML tree for the
node.
(em_folder_tree_model_set_expanded): Same.
(em_folder_tree_model_save_expanded): Save the expand-state xml
tree to disk.
(em_folder_tree_model_expand_foreach): New function to iterate
over all xml nodes and call the callback if the expand state is
"true".
svn path=/trunk/; revision=25094
Diffstat (limited to 'widgets')
0 files changed, 0 insertions, 0 deletions