diff options
author | Milan Crha <mcrha@redhat.com> | 2010-04-01 21:33:04 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-04-01 21:33:04 +0800 |
commit | ba1c4eade6a41d285fae59969f2db4b253139041 (patch) | |
tree | 4040e61dcb605759ec5e57bcb4cd063af238cddd /modules/calendar/e-cal-shell-view-private.c | |
parent | 841fa6274b1390bde05a8327ee026cf91666852f (diff) | |
download | gsoc2013-evolution-ba1c4eade6a41d285fae59969f2db4b253139041.tar gsoc2013-evolution-ba1c4eade6a41d285fae59969f2db4b253139041.tar.gz gsoc2013-evolution-ba1c4eade6a41d285fae59969f2db4b253139041.tar.bz2 gsoc2013-evolution-ba1c4eade6a41d285fae59969f2db4b253139041.tar.lz gsoc2013-evolution-ba1c4eade6a41d285fae59969f2db4b253139041.tar.xz gsoc2013-evolution-ba1c4eade6a41d285fae59969f2db4b253139041.tar.zst gsoc2013-evolution-ba1c4eade6a41d285fae59969f2db4b253139041.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.c | 4 |
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 5fc42feacc..8806ad691b 100644 --- a/modules/calendar/e-cal-shell-view-private.c +++ b/modules/calendar/e-cal-shell-view-private.c @@ -591,6 +591,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); |