From 452dc1600d0a6ae63474220e3ce74664058ece5c Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Sat, 22 Jul 2006 10:17:18 +0000 Subject: Added support Gw notes. svn path=/trunk/; revision=32378 --- calendar/gui/e-memo-table-config.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'calendar/gui/e-memo-table-config.c') diff --git a/calendar/gui/e-memo-table-config.c b/calendar/gui/e-memo-table-config.c index 064ef0810f..f72c863c72 100644 --- a/calendar/gui/e-memo-table-config.c +++ b/calendar/gui/e-memo-table-config.c @@ -22,10 +22,13 @@ */ #include "calendar-config.h" +#include "e-cell-date-edit-config.h" #include "e-memo-table-config.h" struct _EMemoTableConfigPrivate { EMemoTable *table; + + ECellDateEditConfig *cell_config; GList *notifications; }; @@ -208,6 +211,11 @@ e_memo_table_config_set_table (EMemoTableConfig *table_config, EMemoTable *table priv->table = NULL; } + if (priv->cell_config) { + g_object_unref (priv->cell_config); + priv->cell_config = NULL; + } + for (l = priv->notifications; l; l = l->next) calendar_config_remove_notification (GPOINTER_TO_UINT (l->data)); @@ -231,4 +239,7 @@ e_memo_table_config_set_table (EMemoTableConfig *table_config, EMemoTable *table not = calendar_config_add_notification_24_hour_format (twentyfour_hour_changed_cb, table_config); priv->notifications = g_list_prepend (priv->notifications, GUINT_TO_POINTER (not)); + + /* Date cell */ + priv->cell_config = e_cell_date_edit_config_new (table->dates_cell); } -- cgit v1.2.3