+Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcalendar.c (gtk_calendar_init): Use the current
+ day, as well as the current month and year.
+
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
+Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcalendar.c (gtk_calendar_init): Use the current
+ day, as well as the current month and year.
+
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
+Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcalendar.c (gtk_calendar_init): Use the current
+ day, as well as the current month and year.
+
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
+Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcalendar.c (gtk_calendar_init): Use the current
+ day, as well as the current month and year.
+
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
+Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcalendar.c (gtk_calendar_init): Use the current
+ day, as well as the current month and year.
+
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
+Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcalendar.c (gtk_calendar_init): Use the current
+ day, as well as the current month and year.
+
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
+Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcalendar.c (gtk_calendar_init): Use the current
+ day, as well as the current month and year.
+
Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdialog.c (gtk_dialog_init): Automatically set
ancestor with a colormap set on it explicitely, or if that
fails, the default colormap.
+* The default selected day for GtkCalendar is now the current day in the
+ month, not the first day in the month. The current month and year
+ were already used.
for (i=0;i<31;i++)
calendar->marked_date[i] = FALSE;
calendar->num_marked_dates = 0;
- calendar->selected_day = 1;
+ calendar->selected_day = tm->tm_mday;
calendar->display_flags = ( GTK_CALENDAR_SHOW_HEADING |
GTK_CALENDAR_SHOW_DAY_NAMES );