aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/task-editor.c8
-rw-r--r--calendar/gui/e-tasks.c7
-rw-r--r--calendar/gui/event-editor.c8
3 files changed, 21 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c
index 64e73e30f5..30e5987eea 100644
--- a/calendar/gui/dialogs/task-editor.c
+++ b/calendar/gui/dialogs/task-editor.c
@@ -553,6 +553,8 @@ task_editor_set_cal_client (TaskEditor *tedit,
static void
obj_updated_cb (CalClient *client, const char *uid, gpointer data)
{
+ /* FIXME: Do something sensible if the component changes under our feet */
+#if 0
TaskEditor *tedit;
TaskEditorPrivate *priv;
CalComponent *comp;
@@ -595,12 +597,17 @@ obj_updated_cb (CalClient *client, const char *uid, gpointer data)
}
raise_and_focus (priv->app);
+#endif
}
/* Callback used when the calendar client tells us that an object was removed */
static void
obj_removed_cb (CalClient *client, const char *uid, gpointer data)
{
+ /* FIXME: Do something sensible if the component is removed under our
+ * feet.
+ */
+#if 0
TaskEditor *tedit;
TaskEditorPrivate *priv;
const gchar *editing_uid;
@@ -621,6 +628,7 @@ obj_removed_cb (CalClient *client, const char *uid, gpointer data)
raise_and_focus (priv->app);
+#endif
}
diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c
index 69e6ddaeb4..e69b2a4037 100644
--- a/calendar/gui/e-tasks.c
+++ b/calendar/gui/e-tasks.c
@@ -551,12 +551,15 @@ e_tasks_setup_menus (ETasks *tasks,
GalViewMenus *views;
GalViewFactory *factory;
ETableSpecification *spec;
+ char *dir;
collection = gal_view_collection_new();
- /* FIXME: Memory leak. */
+
+ dir = gnome_util_prepend_user_home ("/evolution/views/tasks/");
gal_view_collection_set_storage_directories (collection,
EVOLUTION_DATADIR "/evolution/views/tasks/",
- gnome_util_prepend_user_home ("/evolution/views/tasks/"));
+ dir);
+ g_free (dir);
spec = e_table_specification_new ();
e_table_specification_load_from_string (spec, e_calendar_table_get_spec());
diff --git a/calendar/gui/event-editor.c b/calendar/gui/event-editor.c
index 8e3f86c92f..30abe1ae9a 100644
--- a/calendar/gui/event-editor.c
+++ b/calendar/gui/event-editor.c
@@ -2600,6 +2600,8 @@ raise_and_focus (GtkWidget *widget)
static void
obj_updated_cb (CalClient *client, const char *uid, gpointer data)
{
+ /* FIXME: Do something sensible if the component changes under our feet */
+#if 0
EventEditor *ee;
EventEditorPrivate *priv;
CalComponent *comp;
@@ -2642,12 +2644,17 @@ obj_updated_cb (CalClient *client, const char *uid, gpointer data)
}
raise_and_focus (priv->app);
+#endif
}
/* Callback used when the calendar client tells us that an object was removed */
static void
obj_removed_cb (CalClient *client, const char *uid, gpointer data)
{
+ /* FIXME: Do something sensible if the component is removed under our
+ * feet.
+ */
+#if 0
EventEditor *ee;
EventEditorPrivate *priv;
const gchar *editing_uid;
@@ -2668,6 +2675,7 @@ obj_removed_cb (CalClient *client, const char *uid, gpointer data)
raise_and_focus (priv->app);
+#endif
}
/**