aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-mailer-prefs.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 /mail/em-mailer-prefs.c
parentbc301a8c3784610a0c55c9fb5056ec63ca574f4d (diff)
downloadgsoc2013-evolution-b6313289303f2263649c70ea477e04aea4a994ec.tar
gsoc2013-evolution-b6313289303f2263649c70ea477e04aea4a994ec.tar.gz
gsoc2013-evolution-b6313289303f2263649c70ea477e04aea4a994ec.tar.bz2
gsoc2013-evolution-b6313289303f2263649c70ea477e04aea4a994ec.tar.lz
gsoc2013-evolution-b6313289303f2263649c70ea477e04aea4a994ec.tar.xz
gsoc2013-evolution-b6313289303f2263649c70ea477e04aea4a994ec.tar.zst
gsoc2013-evolution-b6313289303f2263649c70ea477e04aea4a994ec.zip
Bug #205137 - Configurable date formats in components
Diffstat (limited to 'mail/em-mailer-prefs.c')
-rw-r--r--mail/em-mailer-prefs.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/em-mailer-prefs.c b/mail/em-mailer-prefs.c
index 057b2d9210..7da40551a5 100644
--- a/mail/em-mailer-prefs.c
+++ b/mail/em-mailer-prefs.c
@@ -41,6 +41,7 @@
#include "libedataserverui/e-cell-renderer-color.h"
+#include "e-util/e-datetime-format.h"
#include "e-util/e-util-private.h"
#include "e-util/e-util-labels.h"
@@ -1147,7 +1148,7 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs)
{
GSList *header_config_list, *header_add_list, *p;
GHashTable *default_header_hash;
- GtkWidget *toplevel;
+ GtkWidget *toplevel, *table;
GtkTreeSelection *selection;
GtkCellRenderer *renderer;
GtkTreeIter iter;
@@ -1449,6 +1450,11 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs)
g_slist_free (header_add_list);
+ /* date/time format */
+ table = glade_xml_get_widget (gui, "datetime_format_table");
+ e_datetime_format_add_setup_widget (table, 0, "mail", "header", DTFormatKindDateTime, _("Date header:"));
+ e_datetime_format_add_setup_widget (table, 1, "mail", "table", DTFormatKindDateTime, _("Table column:"));
+
/* Junk prefs */
prefs->check_incoming = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui, "chkCheckIncomingMail"));
toggle_button_init (prefs, prefs->check_incoming, FALSE,