forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
ea77d8d7dd
commit
a1f5f7ee6c
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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 );
|
||||
|
Loading…
Reference in New Issue
Block a user