Commit a1f5f7ee authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

Use the current day, as well as the current month and year.

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.
parent ea77d8d7
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
......
......@@ -491,3 +491,6 @@ Incompatible Changes from GTK+-1.2 to GTK+-2.0:
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.
......@@ -447,7 +447,7 @@ gtk_calendar_init (GtkCalendar *calendar)
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 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment