aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/task-editor.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-01-28 03:39:45 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-01-28 03:39:45 +0800
commita9ee877c3368d9db97498d23e9cd15337d06e974 (patch)
tree5bc3e76b65eefcbab95c3eac5d5b3e4c916f6f2b /calendar/gui/dialogs/task-editor.c
parent824714d55eda1314ca5e7933084b21a58244e87f (diff)
downloadgsoc2013-evolution-a9ee877c3368d9db97498d23e9cd15337d06e974.tar.gz
gsoc2013-evolution-a9ee877c3368d9db97498d23e9cd15337d06e974.tar.zst
gsoc2013-evolution-a9ee877c3368d9db97498d23e9cd15337d06e974.zip
Committing Rajeev's patch.
svn path=/trunk/; revision=31332
Diffstat (limited to 'calendar/gui/dialogs/task-editor.c')
-rw-r--r--calendar/gui/dialogs/task-editor.c15
1 files changed, 8 insertions, 7 deletions
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);
}