aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-selection-dialog.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-21 06:01:47 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-21 06:01:47 +0800
commitf8fe45a0632134b8abcc2c172020a82fb97419f0 (patch)
tree3234d81d0d5d37865aca908cc6658f6003db4391 /shell/e-shell-folder-selection-dialog.c
parentb07f8852a6cea6f39c4d942488b191085a4ad0d7 (diff)
downloadgsoc2013-evolution-f8fe45a0632134b8abcc2c172020a82fb97419f0.tar.gz
gsoc2013-evolution-f8fe45a0632134b8abcc2c172020a82fb97419f0.tar.zst
gsoc2013-evolution-f8fe45a0632134b8abcc2c172020a82fb97419f0.zip
(impl_dispose): Save the
expansion state for the EStorageSetView here. (impl_finalize): Instead of here. svn path=/trunk/; revision=18865
Diffstat (limited to 'shell/e-shell-folder-selection-dialog.c')
-rw-r--r--shell/e-shell-folder-selection-dialog.c3
1 files changed, 1 insertions, 2 deletions
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);