From 731e83ac7fdef0f6b6e180d48a3f00dd1ba8a02a Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Mon, 31 Jul 2006 09:54:41 +0000 Subject: Fixes #344927 svn path=/trunk/; revision=32447 --- calendar/ChangeLog | 6 ++++++ calendar/gui/dialogs/event-page.c | 3 ++- calendar/gui/dialogs/task-page.c | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index a5786a3a6d..656abd73e5 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2006-07-31 Chenthill Palanisamy + + Fixes #344927 + * gui/dialogs/event-page.c: + (event_page_fill_widgets): Set the classification. + 2006-07-31 Chenthill Palanisamy Fixes #333423 diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index 7834c2b37e..4f27a21b47 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -552,7 +552,7 @@ clear_widgets (EventPage *epage) set_all_day (epage, FALSE); /* Classification */ - priv->classification = E_CAL_COMPONENT_CLASS_PRIVATE; + priv->classification = E_CAL_COMPONENT_CLASS_PUBLIC; set_classification_menu (epage, priv->classification); /* Show Time As (Transparency) */ @@ -1108,6 +1108,7 @@ event_page_fill_widgets (CompEditorPage *page, ECalComponent *comp) break; } set_classification_menu (epage, cl); + priv->classification = cl; /* Show Time As (Transparency) */ e_cal_component_get_transparency (comp, &transparency); diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index bd354d7bd3..581714dc00 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -327,7 +327,7 @@ clear_widgets (TaskPage *tpage) e_date_edit_set_time (E_DATE_EDIT (priv->due_date), 0); /* Classification */ - priv->classification = E_CAL_COMPONENT_CLASS_PRIVATE; + priv->classification = E_CAL_COMPONENT_CLASS_PUBLIC; set_classification_menu (tpage, priv->classification); /* Categories */ @@ -644,6 +644,7 @@ task_page_fill_widgets (CompEditorPage *page, ECalComponent *comp) break; } set_classification_menu (tpage, cl); + priv->classification = cl; e_cal_component_get_uid (comp, &uid); if (e_cal_get_object (COMP_EDITOR_PAGE (tpage)->client, uid, NULL, &icalcomp, NULL)) { -- cgit v1.2.3