aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-04-28 01:06:57 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-04-30 00:40:25 +0800
commitdbbeab8bd0417702a182764386f727d27194774b (patch)
treebda2fc5a321b47212f10da30a0c4fb45a08c786b
parent630ddcda511e7c73b7978a630ede52e5c571dc97 (diff)
downloadgsoc2013-evolution-dbbeab8bd0417702a182764386f727d27194774b.tar.gz
gsoc2013-evolution-dbbeab8bd0417702a182764386f727d27194774b.tar.zst
gsoc2013-evolution-dbbeab8bd0417702a182764386f727d27194774b.zip
Bug #604430 - Calendar view not remembered
-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 *