Changing the default max year to 2037 in HildonDateEditor. The max/min year propertie...
[hildon] / src / hildon-weekday-picker.c
index d588efe..3f1c56a 100644 (file)
@@ -8,7 +8,7 @@
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
  * as published by the Free Software Foundation; version 2.1 of
- * the License.
+ * the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -25,7 +25,7 @@
 /**
  * SECTION:hildon-weekday-picker
  * @short_description: A widget for picking days on which a certain event 
- * should take place
+ * should take place.
  * @see_also: #HildonWeekdayPicker 
  *
  * #HildonWeekdayPicker supports non-mutually exclusive selection of days of 
  * a certain event should take place, for example, which days a Calendar event 
  * should be repeated on. It is used in Calendar in the Repeat dialog, in Tasks 
  * in the Repeat dialog and in the Email set-up wizard.
+ * 
+ * <example>
+ * <title>HildonWeekdayPicker example</title>
+ * <programlisting>
+ * gint i;
+ * HildonWeekdayPicker *picker = hildon_weekday_picker_new ();
+ * <!-- -->
+ * hildon_weekday_picker_set_day (picker, i);
+ * hildon_weekday_picker_unset_day (picker, i);
+ * hildon_weekday_picker_toggle_day (picker, i);
+ * hildon_weekday_picker_set_all (picker);
+ * <!-- -->
+ * hildon_weekday_picker_unset_all( picker );
+ * </programlisting>
+ * </example>
+ *
  */  
  
  /* GDate numbers days from 1 to 7 and G_DATE_MONDAY is 1st day. However