aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-memo-table.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-08-04 21:04:02 +0800
committerMilan Crha <mcrha@redhat.com>2009-08-04 21:04:02 +0800
commitb6313289303f2263649c70ea477e04aea4a994ec (patch)
tree36b4435a060aca6425e717b1b0ddd29efb8a0712 /calendar/gui/e-memo-table.c
parentbc301a8c3784610a0c55c9fb5056ec63ca574f4d (diff)
downloadgsoc2013-evolution-b6313289303f2263649c70ea477e04aea4a994ec.tar.gz
gsoc2013-evolution-b6313289303f2263649c70ea477e04aea4a994ec.tar.zst
gsoc2013-evolution-b6313289303f2263649c70ea477e04aea4a994ec.zip
Bug #205137 - Configurable date formats in components
Diffstat (limited to 'calendar/gui/e-memo-table.c')
-rw-r--r--calendar/gui/e-memo-table.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/e-memo-table.c b/calendar/gui/e-memo-table.c
index 47b3d4410c..50158899ac 100644
--- a/calendar/gui/e-memo-table.c
+++ b/calendar/gui/e-memo-table.c
@@ -41,6 +41,7 @@
#include <table/e-cell-toggle.h>
#include <table/e-cell-text.h>
#include <table/e-cell-combo.h>
+#include <table/e-cell-date.h>
#include <e-util/e-dialog-utils.h>
#include <widgets/misc/e-cell-date-edit.h>
#include <widgets/misc/e-cell-percent.h>
@@ -255,6 +256,10 @@ e_memo_table_init (EMemoTable *memo_table)
e_table_extras_add_cell(extras, "icon", cell);
e_table_extras_add_pixbuf(extras, "icon", icon_pixbufs[0]);
+ /* set proper format component for a default 'date' cell renderer */
+ cell = e_table_extras_get_cell (extras, "date");
+ e_cell_date_set_format_component (E_CELL_DATE (cell), "calendar");
+
/* Create the table */
etspecfile = g_build_filename (EVOLUTION_ETSPECDIR,