diff options
author | Milan Crha <mcrha@redhat.com> | 2009-08-04 21:04:02 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-08-04 21:04:02 +0800 |
commit | b6313289303f2263649c70ea477e04aea4a994ec (patch) | |
tree | 36b4435a060aca6425e717b1b0ddd29efb8a0712 /addressbook/gui/component | |
parent | bc301a8c3784610a0c55c9fb5056ec63ca574f4d (diff) | |
download | gsoc2013-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 'addressbook/gui/component')
-rw-r--r-- | addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in | 4 | ||||
-rw-r--r-- | addressbook/gui/component/autocompletion-config.c | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in b/addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in index 823d5bd89f..4000f01526 100644 --- a/addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in +++ b/addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in @@ -115,10 +115,10 @@ </oaf_attribute> <oaf_attribute name="evolution2:config_item:title" type="string" - _value="Autocompletion"/> + _value="Contacts"/> <oaf_attribute name="evolution2:config_item:description" type="string" - _value="Configure autocomplete here"/> + _value="Configure contacts and autocompletion here"/> <oaf_attribute name="evolution2:config_item:icon_name" type="string" value="preferences-autocompletion"/> diff --git a/addressbook/gui/component/autocompletion-config.c b/addressbook/gui/component/autocompletion-config.c index 9773f5bd5b..ebb2381e1e 100644 --- a/addressbook/gui/component/autocompletion-config.c +++ b/addressbook/gui/component/autocompletion-config.c @@ -39,6 +39,8 @@ #include <gtk/gtk.h> #include <glib/gi18n.h> +#include "e-util/e-datetime-format.h" + typedef struct { EvolutionConfigControl *config_control; @@ -159,7 +161,7 @@ autocompletion_config_control_new (void) { AutocompletionConfig *ac; CORBA_Environment ev; - GtkWidget *scrolledwin, *vbox, *itembox, *w; + GtkWidget *scrolledwin, *vbox, *itembox, *w, *table; ac = g_new0 (AutocompletionConfig, 1); @@ -177,6 +179,11 @@ autocompletion_config_control_new (void) g_signal_connect (w, "toggled", (GCallback)show_address_check_toggled_cb, ac); gtk_box_pack_start (GTK_BOX (itembox), w, FALSE, FALSE, 0); + itembox = add_section (vbox, _("Date/Time Format"), FALSE); + table = gtk_table_new (1, 3, FALSE); + gtk_box_pack_start (GTK_BOX (itembox), table, TRUE, TRUE, 0); + e_datetime_format_add_setup_widget (table, 0, "addressbook", "table", DTFormatKindDateTime, _("Table column:")); + itembox = add_section (vbox, _("Look up in address books"), TRUE); ac->source_list = e_source_list_new_for_gconf_default ("/apps/evolution/addressbook/sources"); |