aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-01-07 19:42:51 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-01-07 19:42:51 +0800
commit8f3a968fc9e8fc309eace95ff760378875ebf6fd (patch)
tree6095d44670ab59091eeab26b65bcd726f29c31a5 /addressbook
parent93b1fdc66b7e504b44d7cc62d54e42065f87ab09 (diff)
downloadgsoc2013-evolution-8f3a968fc9e8fc309eace95ff760378875ebf6fd.tar
gsoc2013-evolution-8f3a968fc9e8fc309eace95ff760378875ebf6fd.tar.gz
gsoc2013-evolution-8f3a968fc9e8fc309eace95ff760378875ebf6fd.tar.bz2
gsoc2013-evolution-8f3a968fc9e8fc309eace95ff760378875ebf6fd.tar.lz
gsoc2013-evolution-8f3a968fc9e8fc309eace95ff760378875ebf6fd.tar.xz
gsoc2013-evolution-8f3a968fc9e8fc309eace95ff760378875ebf6fd.tar.zst
gsoc2013-evolution-8f3a968fc9e8fc309eace95ff760378875ebf6fd.zip
** Fix for bug #339813
2008-01-07 Milan Crha <mcrha@redhat.com> ** Fix for bug #339813 * addressbook/gui/contact-editor/e-contact-editor.c: (e_contact_editor_create_date): Setting new option 'e_date_edit_set_twodigit_year_can_future' to FALSE. * widgets/misc/e-dateedit.h: (e_date_edit_get_twodigit_year_can_future), (e_date_edit_set_twodigit_year_can_future): Added new option for component. * widgets/misc/e-dateedit.c: (e_date_edit_get_twodigit_year_can_future), (e_date_edit_set_twodigit_year_can_future), (struct _EDateEditPrivate::twodigit_year_can_future), (e_date_edit_init), (e_date_edit_parse_date): Implementing new option for component. * widgets/misc/e-dateedit.c: (on_date_entry_focus_out): Always repaint value on focus out. * widgets/misc/e-dateedit.c: (e_date_edit_update_date_entry): Forced to always show 4-digit year. Note: Be sure you updated EDS too (revision 8343 and above) svn path=/trunk/; revision=34774
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index e2e91e36e0..3fe5f989ad 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2008-01-07 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #339813
+
+ * gui/contact-editor/e-contact-editor.c: (e_contact_editor_create_date):
+ Setting new option 'e_date_edit_set_twodigit_year_can_future' to FALSE.
+
2008-01-06 Michael Monreal <michael.monreal@gmx.net>
** Fix for bug #492188
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 9a78f9c381..3972889d6c 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -3786,6 +3786,7 @@ e_contact_editor_create_date(gchar *name,
TRUE);
e_date_edit_set_show_time (E_DATE_EDIT (widget), FALSE);
e_date_edit_set_time (E_DATE_EDIT (widget), -1);
+ e_date_edit_set_twodigit_year_can_future (E_DATE_EDIT (widget), FALSE);
a11y = gtk_widget_get_accessible (e_date_edit_get_entry (E_DATE_EDIT(widget)));
if (a11y != NULL) {