diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-09-26 03:02:44 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-09-26 03:02:44 +0800 |
commit | 1084ed7340617c3476cf33694256dd06f07d86ec (patch) | |
tree | 7722ba20ba70bc455448a9b4b7cd28953cd38e9d /README | |
parent | 2e854aa41563a9a1506f36f7cc3f8a2ddf9ffa67 (diff) | |
download | gsoc2013-evolution-1084ed7340617c3476cf33694256dd06f07d86ec.tar gsoc2013-evolution-1084ed7340617c3476cf33694256dd06f07d86ec.tar.gz gsoc2013-evolution-1084ed7340617c3476cf33694256dd06f07d86ec.tar.bz2 gsoc2013-evolution-1084ed7340617c3476cf33694256dd06f07d86ec.tar.lz gsoc2013-evolution-1084ed7340617c3476cf33694256dd06f07d86ec.tar.xz gsoc2013-evolution-1084ed7340617c3476cf33694256dd06f07d86ec.tar.zst gsoc2013-evolution-1084ed7340617c3476cf33694256dd06f07d86ec.zip |
add save_state stuff to ETreeModel, and prototypes for the public methods.
2000-09-25 Chris Toshok <toshok@helixcode.com>
* gal/e-table/e-tree-model.h: add save_state stuff to ETreeModel, and
prototypes for the public methods.
* gal/e-table/e-tree-model.c: add save_id to the ENode.
(expanded_remove_func): new function, iterator to delete the save
id's.
(etree_destroy): iterate over expanded_state.
(etree_set_expanded): if the node has a save id, make sure to
update both the collapsed and expanded counts.
(e_tree_model_node_insert_id): convenience function that inserts a
node and sets its id.
(e_tree_model_node_sort): remove extra spew.
(save_expanded_state_func): new function, iterator for saving
expanded state.
(e_tree_model_save_expanded_state): new function.
(get_string_value): helper function for loading.
(e_tree_model_load_expanded_state): new function.
(e_tree_model_node_set_save_id): sets the save id for a node,
adding it to the hashtable if it's not already there. if the id
was there previously, set the expanded flag of the node
accordingly.
svn path=/trunk/; revision=5573
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions