aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-07-31 17:54:41 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-07-31 17:54:41 +0800
commit731e83ac7fdef0f6b6e180d48a3f00dd1ba8a02a (patch)
treec6ea0d81aa89e5c4682c67e0f15ab7d435adae77 /calendar/gui
parent6a68e6ae90e693e52306c0a9fef709fd628344f3 (diff)
downloadgsoc2013-evolution-731e83ac7fdef0f6b6e180d48a3f00dd1ba8a02a.tar.gz
gsoc2013-evolution-731e83ac7fdef0f6b6e180d48a3f00dd1ba8a02a.tar.zst
gsoc2013-evolution-731e83ac7fdef0f6b6e180d48a3f00dd1ba8a02a.zip
Fixes #344927
svn path=/trunk/; revision=32447
Diffstat (limited to 'calendar/gui')
-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)) {