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/e-shell-folder-selection-dialog.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'shell/e-shell-folder-selection-dialog.c') 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 v1.2.3