diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-09-20 19:35:08 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-09-20 19:35:08 +0000 |
commit | a1f5f7ee6c95e51a046c8a0e95e385efd0c6eb90 (patch) | |
tree | b43145552837083daab668b76df331e0dd9d26d3 | |
parent | ea77d8d7dd491296c6051d364cdb10fcbab46469 (diff) | |
download | gdk-pixbuf-a1f5f7ee6c95e51a046c8a0e95e385efd0c6eb90.tar.gz |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 5 | ||||
-rw-r--r-- | docs/Changes-2.0.txt | 3 | ||||
-rw-r--r-- | gtk/gtkcalendar.c | 2 |
9 files changed, 39 insertions, 1 deletions
@@ -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 diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 23a0947cb..b8f4b4d3e 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -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 diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 23a0947cb..b8f4b4d3e 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -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 diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 23a0947cb..b8f4b4d3e 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -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 diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 23a0947cb..b8f4b4d3e 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -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 diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 23a0947cb..b8f4b4d3e 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -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 diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 23a0947cb..b8f4b4d3e 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -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 diff --git a/docs/Changes-2.0.txt b/docs/Changes-2.0.txt index be699e877..adf01fb29 100644 --- a/docs/Changes-2.0.txt +++ b/docs/Changes-2.0.txt @@ -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. diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c index bd4cb35f5..0f31cb350 100644 --- a/gtk/gtkcalendar.c +++ b/gtk/gtkcalendar.c @@ -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 ); |