From fa40c443641bc748bbf8edc4d9f9c5208095dc1c Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 21 Apr 2004 17:58:09 +0000 Subject: Fixes #56504 2004-04-21 JP Rosevear Fixes #56504 * gui/gnome-cal.c (gnome_calendar_destroy): no need to destroy the creatable item handler (gnome_calendar_set_ui_component): don't do the creatable item stuff here * gui/e-tasks.c (e_tasks_set_ui_component): don't do the creatable item stuff here (e_tasks_destroy): no need to destroy creatable item handler * gui/e-calendar-table.c (e_calendar_table_set_status_message): comment out temporarily * gui/e-calendar-view.c (e_calendar_view_set_status_message): ditto * gui/calendar-component.c: switch to using per component view information; don't listen for config changes to the primary selection and selection so that different windows can have different calendar selections; use a local creatable items handler so that the new button is associated with the right window when setting the default times * gui/tasks-component.c: ditto svn path=/trunk/; revision=25566 --- calendar/gui/e-tasks.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'calendar/gui/e-tasks.c') diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index dbee3dab4c..fab404b38d 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -79,8 +79,6 @@ struct _ETasksPrivate { GalViewMenus *view_menus; GList *notifications; - - EUserCreatableItemsHandler *creatable_items_handler; }; @@ -446,14 +444,6 @@ e_tasks_set_ui_component (ETasks *tasks, g_return_if_fail (ui_component == NULL || BONOBO_IS_UI_COMPONENT (ui_component)); e_search_bar_set_ui_component (E_SEARCH_BAR (tasks->priv->search_bar), ui_component); - - if (ui_component) { - if (!tasks->priv->creatable_items_handler) { - tasks->priv->creatable_items_handler = - e_user_creatable_items_handler_new ("tasks", NULL, NULL); - } - e_user_creatable_items_handler_activate (tasks->priv->creatable_items_handler, ui_component); - } } @@ -494,11 +484,6 @@ e_tasks_destroy (GtkObject *object) for (l = priv->notifications; l; l = l->next) calendar_config_remove_notification (GPOINTER_TO_UINT (l->data)); priv->notifications = NULL; - - if (priv->creatable_items_handler) { - g_object_unref (priv->creatable_items_handler); - priv->creatable_items_handler = NULL; - } g_free (priv); tasks->priv = NULL; -- cgit v1.2.3