aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-04-28 01:06:10 +0800
committerMilan Crha <mcrha@redhat.com>2010-04-28 01:06:10 +0800
commit34ea417fff1e1e15e40757ed776b1cf7df23df2b (patch)
tree16d51a6dad9e24bee83391d570107c7609145e45 /widgets
parent8f9f3a9d5fcd3246d26a6acbd2030a0bedabceb7 (diff)
downloadgsoc2013-evolution-34ea417fff1e1e15e40757ed776b1cf7df23df2b.tar
gsoc2013-evolution-34ea417fff1e1e15e40757ed776b1cf7df23df2b.tar.gz
gsoc2013-evolution-34ea417fff1e1e15e40757ed776b1cf7df23df2b.tar.bz2
gsoc2013-evolution-34ea417fff1e1e15e40757ed776b1cf7df23df2b.tar.lz
gsoc2013-evolution-34ea417fff1e1e15e40757ed776b1cf7df23df2b.tar.xz
gsoc2013-evolution-34ea417fff1e1e15e40757ed776b1cf7df23df2b.tar.zst
gsoc2013-evolution-34ea417fff1e1e15e40757ed776b1cf7df23df2b.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 *