diff options
author | Milan Crha <mcrha@redhat.com> | 2008-01-07 19:42:51 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-01-07 19:42:51 +0800 |
commit | 8f3a968fc9e8fc309eace95ff760378875ebf6fd (patch) | |
tree | 6095d44670ab59091eeab26b65bcd726f29c31a5 /widgets/misc/e-dateedit.h | |
parent | 93b1fdc66b7e504b44d7cc62d54e42065f87ab09 (diff) | |
download | gsoc2013-evolution-8f3a968fc9e8fc309eace95ff760378875ebf6fd.tar.gz 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 'widgets/misc/e-dateedit.h')
-rw-r--r-- | widgets/misc/e-dateedit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/misc/e-dateedit.h b/widgets/misc/e-dateedit.h index 3f8def7146..29005a575b 100644 --- a/widgets/misc/e-dateedit.h +++ b/widgets/misc/e-dateedit.h @@ -169,6 +169,10 @@ gboolean e_date_edit_get_make_time_insensitive(EDateEdit *dedit); void e_date_edit_set_make_time_insensitive(EDateEdit *dedit, gboolean make_insensitive); +/* Whether two-digit years in date could be modified as in future; default is TRUE */ +gboolean e_date_edit_get_twodigit_year_can_future (EDateEdit *dedit); +void e_date_edit_set_twodigit_year_can_future (EDateEdit *dedit, + gboolean value); /* Sets a callback to use to get the current time. This is useful if the application needs to use its own timezone data rather than rely on the |