2006-10-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
authorMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Tue, 10 Oct 2006 12:02:23 +0000 (12:02 +0000)
committerMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Tue, 10 Oct 2006 12:02:23 +0000 (12:02 +0000)
* hildon-widgets/hildon-date-editor.c:
(hildon_date_editor_entry_validate): Set the stored date value
when it's validated with some entry empty. Fixes NB#42504.

ChangeLog
hildon-widgets/hildon-date-editor.c

index b276ba1..145634c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
 2006-10-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
+
+       * hildon-widgets/hildon-date-editor.c:
+       (hildon_date_editor_entry_validate): Set the stored date value 
+       when it's validated with some entry empty. Fixes NB#42504.
+
+2006-10-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
        
        [0.14.5-1 release]
        
index 7f0b1e9..5cc78e5 100644 (file)
@@ -918,6 +918,8 @@ hildon_date_editor_entry_validate(GtkWidget *widget, gpointer data)
       else
          g_signal_emit(ed, date_editor_signals[DATE_ERROR], 0, EMPTY_YEAR, &r);
 
+      /* restore empty entry to safe value */
+      hildon_date_editor_set_date (ed, priv->year, priv->month, priv->day);
       return;
     }