From 50302d03b3ce145b165db2ddef4e92ad190cbef9 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 4 Aug 2009 15:04:02 +0200 Subject: Bug #205137 - Configurable date formats in components --- modules/mail/em-mailer-prefs.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/mail') diff --git a/modules/mail/em-mailer-prefs.c b/modules/mail/em-mailer-prefs.c index d9ec9e751b..e2c956e0ff 100644 --- a/modules/mail/em-mailer-prefs.c +++ b/modules/mail/em-mailer-prefs.c @@ -41,6 +41,7 @@ #include "libedataserverui/e-cell-renderer-color.h" #include "e-util/e-binding.h" +#include "e-util/e-datetime-format.h" #include "e-util/e-util-private.h" #include "widgets/misc/e-charset-combo-box.h" @@ -811,6 +812,7 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs, GHashTable *default_header_hash; GtkWidget *toplevel; GtkWidget *container; + GtkWidget *table; GtkWidget *widget; GtkTreeSelection *selection; GtkCellRenderer *renderer; @@ -1133,6 +1135,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 */ widget = glade_xml_get_widget (gui, "chkCheckIncomingMail"); e_mutual_binding_new ( -- cgit v1.2.3