From 34ea417fff1e1e15e40757ed776b1cf7df23df2b Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 27 Apr 2010 19:06:10 +0200 Subject: Bug #604430 - Calendar view not remembered --- widgets/menus/gal-view-instance.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'widgets') 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 * -- cgit v1.2.3