diff options
author | Jason Leach <jleach@ximian.com> | 2001-06-07 03:38:28 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-06-07 03:38:28 +0800 |
commit | c77b7e30202573c1c4ab54086388202d93181b45 (patch) | |
tree | ae8398641bd6ab8c397b721226d20c77aa40e0ef /shell/e-shell-view.h | |
parent | 0a7445949918ec1cc80cd303217df742e10fb6f5 (diff) | |
download | gsoc2013-evolution-c77b7e30202573c1c4ab54086388202d93181b45.tar.gz gsoc2013-evolution-c77b7e30202573c1c4ab54086388202d93181b45.tar.zst gsoc2013-evolution-c77b7e30202573c1c4ab54086388202d93181b45.zip |
(Fix bug #418: Save state of folder tree view)
2001-06-06 Jason Leach <jleach@ximian.com>
(Fix bug #418: Save state of folder tree view)
* e-shell-view.c (e_shell_view_save_settings): Changed the char *
@prefix argument to an int @view_num.
(e_shell_view_load_settings): Ditto.
(get_local_prefix_for_view): New function that gets us a prefix
from a view_num.
* e-shell-view.c (e_shell_view_save_settings): Save the
expanded/collapsed information for each storage-set-view here.
(e_shell_view_load_settings): Load it here.
* e-storage-set-view.c (e_storage_set_view_construct): Make it so
new storage set views have their storages expanded by default, but
will respsect the expanded state information that we load into it.
(insert_storages): Minor change here too.
(new_folder_cb): Ditto.
svn path=/trunk/; revision=10135
Diffstat (limited to 'shell/e-shell-view.h')
-rw-r--r-- | shell/e-shell-view.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/e-shell-view.h b/shell/e-shell-view.h index 605691b46d..c7ee7fa4af 100644 --- a/shell/e-shell-view.h +++ b/shell/e-shell-view.h @@ -96,9 +96,10 @@ int e_shell_view_get_current_shortcuts_group_num (EShellView *she void e_shell_view_set_current_shortcuts_group_num (EShellView *shell_view, int group_num); gboolean e_shell_view_save_settings (EShellView *shell_view, - const char *prefix); + int view_num); gboolean e_shell_view_load_settings (EShellView *shell_view, - const char *prefix); + int view_num); + #ifdef __cplusplus } |