diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-07-22 18:17:18 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-07-22 18:17:18 +0800 |
commit | 452dc1600d0a6ae63474220e3ce74664058ece5c (patch) | |
tree | 8075bdefbdbe868f304ec3c79772d9dd8b38206f /calendar/gui/e-memo-table-config.c | |
parent | 30042452b679b31bdf0f51918e55c76d644dc772 (diff) | |
download | gsoc2013-evolution-452dc1600d0a6ae63474220e3ce74664058ece5c.tar.gz gsoc2013-evolution-452dc1600d0a6ae63474220e3ce74664058ece5c.tar.zst gsoc2013-evolution-452dc1600d0a6ae63474220e3ce74664058ece5c.zip |
Added support Gw notes.
svn path=/trunk/; revision=32378
Diffstat (limited to 'calendar/gui/e-memo-table-config.c')
-rw-r--r-- | calendar/gui/e-memo-table-config.c | 11 |
1 files changed, 11 insertions, 0 deletions
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); } |