[evolution/express2] Bug #604430 - Calendar view not remembered
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/express2] Bug #604430 - Calendar view not remembered
- Date: Thu, 29 Apr 2010 17:14:10 +0000 (UTC)
commit dbbeab8bd0417702a182764386f727d27194774b
Author: Milan Crha <mcrha redhat com>
Date: Tue Apr 27 19:06:57 2010 +0200
Bug #604430 - Calendar view not remembered
widgets/menus/gal-view-instance.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/widgets/menus/gal-view-instance.c b/widgets/menus/gal-view-instance.c
index fef74aa..0d18260 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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]