diff options
author | Damon Chaplin <damon@ximian.com> | 2001-11-29 06:11:07 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-11-29 06:11:07 +0800 |
commit | 57d95cb3b74694ab500d10ae16f06827b9acf3ff (patch) | |
tree | aadaa81c754718774976b04b5942799e1970bbd1 /widgets/misc/e-dateedit.c | |
parent | 38fbff6863e876da8e1eba60e95586552059dff8 (diff) | |
download | gsoc2013-evolution-57d95cb3b74694ab500d10ae16f06827b9acf3ff.tar.gz gsoc2013-evolution-57d95cb3b74694ab500d10ae16f06827b9acf3ff.tar.zst gsoc2013-evolution-57d95cb3b74694ab500d10ae16f06827b9acf3ff.zip |
updated to new version from Ximian Setup Tools. Fixes bug #7641.
2001-11-28 Damon Chaplin <damon@ximian.com>
* e-map.c: updated to new version from Ximian Setup Tools.
Fixes bug #7641.
2001-11-27 Damon Chaplin <damon@ximian.com>
* e-dateedit.c (e_date_edit_get_date): if allow_no_date_set is FALSE,
return the last valid date entered, even if the field is currently
empty. Fixes bug #15749.
svn path=/trunk/; revision=14817
Diffstat (limited to 'widgets/misc/e-dateedit.c')
-rw-r--r-- | widgets/misc/e-dateedit.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c index 09ba1ad2d9..e8f6e74aea 100644 --- a/widgets/misc/e-dateedit.c +++ b/widgets/misc/e-dateedit.c @@ -673,13 +673,14 @@ e_date_edit_get_date (EDateEdit *dedit, /* Try to parse any new value now. */ e_date_edit_check_date_changed (dedit); - if (priv->date_set_to_none) - return FALSE; - *year = priv->year + 1900; *month = priv->month + 1; *day = priv->day; + if (priv->date_set_to_none + && e_date_edit_get_allow_no_date_set (dedit)) + return FALSE; + return TRUE; } |