From 8f3a968fc9e8fc309eace95ff760378875ebf6fd Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 7 Jan 2008 11:42:51 +0000 Subject: ** Fix for bug #339813 2008-01-07 Milan Crha ** 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 --- addressbook/gui/contact-editor/e-contact-editor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'addressbook/gui/contact-editor') 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) { -- cgit v1.2.3