Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-panel/applets/clock/ChangeLog,v
retrieving revision 1.524
diff -u -u -r1.524 ChangeLog
--- ChangeLog	11 Mar 2004 12:34:31 -0000	1.524
+++ ChangeLog	11 Mar 2004 13:52:19 -0000
@@ -1,3 +1,8 @@
+2004-03-11  Fernando Herrera  <fherrera@onirica.com>
+
+	* clock.c: (set_format_cb): Fix bug introduced by the last comit. Now 
+	valid values for ClockFormat begin from 1.
+
 2004-03-11  Mark McLoughlin  <mark@skynet.ie>
 
 	* clock.c: (fill_clock_applet): don't assume enums
Index: clock.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/applets/clock/clock.c,v
retrieving revision 1.136
diff -u -u -r1.136 clock.c
--- clock.c	11 Mar 2004 12:34:31 -0000	1.136
+++ clock.c	11 Mar 2004 13:52:26 -0000
@@ -2089,7 +2089,8 @@
 {
         ClockFormat format;
 
-        format = gtk_combo_box_get_active (combo);
+	/* valid values begin from 1 */
+        format = gtk_combo_box_get_active (combo) + 1;
 
         update_properties_for_format (cd, combo, format);
 
