aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorRodney Dawes <dobey@novell.com>2004-06-24 00:10:58 +0800
committerRodney Dawes <dobey@src.gnome.org>2004-06-24 00:10:58 +0800
commitc2bd7a6754627f0af3d4fe2684a2576cb0f1b45d (patch)
treec40ba0b4fa5cdcd667e9b8254a085bea22714c88 /calendar
parent181829f14206127361b0766ac22299fd0f4b8be0 (diff)
downloadgsoc2013-evolution-c2bd7a6754627f0af3d4fe2684a2576cb0f1b45d.tar
gsoc2013-evolution-c2bd7a6754627f0af3d4fe2684a2576cb0f1b45d.tar.gz
gsoc2013-evolution-c2bd7a6754627f0af3d4fe2684a2576cb0f1b45d.tar.bz2
gsoc2013-evolution-c2bd7a6754627f0af3d4fe2684a2576cb0f1b45d.tar.lz
gsoc2013-evolution-c2bd7a6754627f0af3d4fe2684a2576cb0f1b45d.tar.xz
gsoc2013-evolution-c2bd7a6754627f0af3d4fe2684a2576cb0f1b45d.tar.zst
gsoc2013-evolution-c2bd7a6754627f0af3d4fe2684a2576cb0f1b45d.zip
Revert previous change to add the callbacks for notification of calendar
2004-06-23 Rodney Dawes <dobey@novell.com> * gui/calendar-component.c: Revert previous change to add the callbacks for notification of calendar selection changes (create_new_view): Update the comment for watching notification on the tasks selection to state it is for the mini tasks view svn path=/trunk/; revision=26478
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/calendar-component.c24
2 files changed, 9 insertions, 22 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index f48ea19dbc..94aa13e52e 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2004-06-23 Rodney Dawes <dobey@novell.com>
+
+ * gui/calendar-component.c: Revert previous change to add the
+ callbacks for notification of calendar selection changes
+ (create_new_view): Update the comment for watching notification on
+ the tasks selection to state it is for the mini tasks view
+
2004-06-23 JP Rosevear <jpr@novell.com>
Fixes #57862
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 74852b18a3..857812f5c3 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -571,12 +571,6 @@ config_primary_selection_changed_cb (GConfClient *client, guint id, GConfEntry *
}
static void
-config_calendars_selection_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointer data)
-{
- update_selection (data);
-}
-
-static void
config_tasks_selection_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointer data)
{
update_task_selection (data);
@@ -584,12 +578,6 @@ config_tasks_selection_changed_cb (GConfClient *client, guint id, GConfEntry *en
static void
-config_primary_calendar_selection_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointer data)
-{
- update_primary_selection (data);
-}
-
-static void
config_primary_tasks_selection_changed_cb (GConfClient *client, guint id, GConfEntry *entry, gpointer data)
{
update_primary_task_selection (data);
@@ -1126,16 +1114,8 @@ create_component_view (CalendarComponent *calendar_component)
update_task_selection (component_view);
update_primary_task_selection (component_view);
- /* If the calendar selection changes elsewhere, update it */
- not = calendar_config_add_notification_calendars_selected (config_calendars_selection_changed_cb,
- component_view);
- component_view->notifications = g_list_prepend (component_view->notifications, GUINT_TO_POINTER (not));
-
- not = calendar_config_add_notification_primary_calendar (config_primary_calendar_selection_changed_cb,
- component_view);
- component_view->notifications = g_list_prepend (component_view->notifications, GUINT_TO_POINTER (not));
-
- /* If the task selection changes elsewhere, update it */
+ /* If the tasks selection changes elsewhere, update it for the mini
+ mini tasks view sidebar */
not = calendar_config_add_notification_tasks_selected (config_tasks_selection_changed_cb,
component_view);
component_view->notifications = g_list_prepend (component_view->notifications, GUINT_TO_POINTER (not));