From f8fe45a0632134b8abcc2c172020a82fb97419f0 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 20 Nov 2002 22:01:47 +0000 Subject: (impl_dispose): Save the expansion state for the EStorageSetView here. (impl_finalize): Instead of here. svn path=/trunk/; revision=18865 --- shell/ChangeLog | 6 ++++++ shell/e-shell-folder-selection-dialog.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index da69a3e029..b39cfabce9 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,9 @@ +2002-11-20 Ettore Perazzoli + + * e-shell-folder-selection-dialog.c (impl_dispose): Save the + expansion state for the EStorageSetView here. + (impl_finalize): Instead of here. + 2002-11-20 Chris Toshok * e-folder-list.c (e_folder_list_class_init): use e_shell_ diff --git a/shell/e-shell-folder-selection-dialog.c b/shell/e-shell-folder-selection-dialog.c index 1d77d6d109..f7f6f7a6ee 100644 --- a/shell/e-shell-folder-selection-dialog.c +++ b/shell/e-shell-folder-selection-dialog.c @@ -185,6 +185,7 @@ impl_dispose (GObject *object) priv = folder_selection_dialog->priv; if (priv->storage_set != NULL) { + save_expanded_state (folder_selection_dialog); g_object_unref (priv->storage_set); priv->storage_set = NULL; } @@ -201,8 +202,6 @@ impl_finalize (GObject *object) folder_selection_dialog = E_SHELL_FOLDER_SELECTION_DIALOG (object); priv = folder_selection_dialog->priv; - save_expanded_state (folder_selection_dialog); - e_free_string_list (priv->allowed_types); g_free (priv); -- cgit