aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-cal-shell-view-private.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-04-01 21:31:35 +0800
committerMilan Crha <mcrha@redhat.com>2010-04-01 21:31:35 +0800
commitfc4fbc6cabf39ef1356a05931983dca09fc83549 (patch)
tree288850578577ab753f1356dafe1381d658581d0f /modules/calendar/e-cal-shell-view-private.c
parentb3c6fdfc6b91198da99d435fc85c39d58e6dc347 (diff)
downloadgsoc2013-evolution-fc4fbc6cabf39ef1356a05931983dca09fc83549.tar
gsoc2013-evolution-fc4fbc6cabf39ef1356a05931983dca09fc83549.tar.gz
gsoc2013-evolution-fc4fbc6cabf39ef1356a05931983dca09fc83549.tar.bz2
gsoc2013-evolution-fc4fbc6cabf39ef1356a05931983dca09fc83549.tar.lz
gsoc2013-evolution-fc4fbc6cabf39ef1356a05931983dca09fc83549.tar.xz
gsoc2013-evolution-fc4fbc6cabf39ef1356a05931983dca09fc83549.tar.zst
gsoc2013-evolution-fc4fbc6cabf39ef1356a05931983dca09fc83549.zip
Bug #613356 - Calendar doesn't save Task/Memo table state
Diffstat (limited to 'modules/calendar/e-cal-shell-view-private.c')
-rw-r--r--modules/calendar/e-cal-shell-view-private.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c
index e43eb261ca..5576224644 100644
--- a/modules/calendar/e-cal-shell-view-private.c
+++ b/modules/calendar/e-cal-shell-view-private.c
@@ -597,6 +597,10 @@ e_cal_shell_view_private_dispose (ECalShellView *cal_shell_view)
{
ECalShellViewPrivate *priv = cal_shell_view->priv;
+ /* Calling calendar's save state from here, because it is too late in its dispose */
+ if (priv->cal_shell_content)
+ e_cal_shell_content_save_state (priv->cal_shell_content);
+
DISPOSE (priv->cal_shell_backend);
DISPOSE (priv->cal_shell_content);
DISPOSE (priv->cal_shell_sidebar);