aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/event-page.c3
-rw-r--r--calendar/gui/dialogs/task-page.c3
2 files changed, 4 insertions, 2 deletions
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)) {