diff options
author | JP Rosevear <jpr@ximian.com> | 2004-04-22 01:58:09 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-04-22 01:58:09 +0800 |
commit | fa40c443641bc748bbf8edc4d9f9c5208095dc1c (patch) | |
tree | dbbfa105523b96668066340844d7d8384cc7e988 /calendar/gui/e-tasks.c | |
parent | 4ff41b1ebe018859b2c8c10842403b45dd4af420 (diff) | |
download | gsoc2013-evolution-fa40c443641bc748bbf8edc4d9f9c5208095dc1c.tar.gz gsoc2013-evolution-fa40c443641bc748bbf8edc4d9f9c5208095dc1c.tar.zst gsoc2013-evolution-fa40c443641bc748bbf8edc4d9f9c5208095dc1c.zip |
Fixes #56504
2004-04-21 JP Rosevear <jpr@ximian.com>
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
Diffstat (limited to 'calendar/gui/e-tasks.c')
-rw-r--r-- | calendar/gui/e-tasks.c | 15 |
1 files changed, 0 insertions, 15 deletions
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; |