From a9ee877c3368d9db97498d23e9cd15337d06e974 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Fri, 27 Jan 2006 19:39:45 +0000 Subject: Committing Rajeev's patch. svn path=/trunk/; revision=31332 --- calendar/gui/dialogs/task-editor.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'calendar/gui/dialogs/task-editor.c') diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c index 9dabb2059f..4416fabc93 100644 --- a/calendar/gui/dialogs/task-editor.c +++ b/calendar/gui/dialogs/task-editor.c @@ -196,7 +196,7 @@ menu_show_categories_cb (BonoboUIComponent *component, } static void -menu_class_public_cb (BonoboUIComponent *ui_component, +menu_class_public_cb (BonoboUIComponent *ui_component, const char *path, Bonobo_UIComponent_EventType type, const char *state, @@ -206,27 +206,28 @@ menu_class_public_cb (BonoboUIComponent *ui_component, if (state[0] == '0') return; - printf("Setting to public\n"); + + comp_editor_page_notify_changed (COMP_EDITOR_PAGE (te->priv->task_page)); task_page_set_classification (te->priv->task_page, E_CAL_COMPONENT_CLASS_PUBLIC); } static void -menu_class_private_cb (BonoboUIComponent *ui_component, +menu_class_private_cb (BonoboUIComponent *ui_component, const char *path, Bonobo_UIComponent_EventType type, const char *state, - gpointer user_data) + gpointer user_data) { TaskEditor *te = (TaskEditor *) user_data; if (state[0] == '0') return; - printf("Setting to private\n"); + comp_editor_page_notify_changed (COMP_EDITOR_PAGE (te->priv->task_page)); task_page_set_classification (te->priv->task_page, E_CAL_COMPONENT_CLASS_PRIVATE); } static void -menu_class_confidential_cb (BonoboUIComponent *ui_component, +menu_class_confidential_cb (BonoboUIComponent *ui_component, const char *path, Bonobo_UIComponent_EventType type, const char *state, @@ -236,7 +237,7 @@ menu_class_confidential_cb (BonoboUIComponent *ui_component, if (state[0] == '0') return; - printf("Setting to confidential\n"); + comp_editor_page_notify_changed (COMP_EDITOR_PAGE (te->priv->task_page)); task_page_set_classification (te->priv->task_page, E_CAL_COMPONENT_CLASS_CONFIDENTIAL); } -- cgit v1.2.3