aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-04-28 01:06:57 +0800
committerMilan Crha <mcrha@redhat.com>2010-04-28 01:06:57 +0800
commitb64434a8699fbeea77a9108b313f29828adab321 (patch)
treec9bc75ce701d24466382bd70458c81a9ac5a9116 /widgets
parentec2008c74600e15c4d4de30b78d8a6248f7549e2 (diff)
downloadgsoc2013-evolution-b64434a8699fbeea77a9108b313f29828adab321.tar
gsoc2013-evolution-b64434a8699fbeea77a9108b313f29828adab321.tar.gz
gsoc2013-evolution-b64434a8699fbeea77a9108b313f29828adab321.tar.bz2
gsoc2013-evolution-b64434a8699fbeea77a9108b313f29828adab321.tar.lz
gsoc2013-evolution-b64434a8699fbeea77a9108b313f29828adab321.tar.xz
gsoc2013-evolution-b64434a8699fbeea77a9108b313f29828adab321.tar.zst
gsoc2013-evolution-b64434a8699fbeea77a9108b313f29828adab321.zip
Bug #604430 - Calendar view not remembered
Diffstat (limited to 'widgets')
-rw-r--r--widgets/menus/gal-view-instance.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/menus/gal-view-instance.c b/widgets/menus/gal-view-instance.c
index fef74aab16..0d182608c5 100644
--- a/widgets/menus/gal-view-instance.c
+++ b/widgets/menus/gal-view-instance.c
@@ -394,8 +394,9 @@ gal_view_instance_set_current_view_id (GalViewInstance *instance, const gchar *v
connect_view (instance, gal_view_clone (view));
}
- save_current_view (instance);
- gal_view_instance_changed(instance);
+ if (instance->loaded)
+ save_current_view (instance);
+ gal_view_instance_changed (instance);
}
GalView *