]> Pileus Git - ~andy/gtk/commitdiff
Draw bottom shadow of GtkCalender headings. (#506113)
authorMathias Hasselmann <hasselmm@src.gnome.org>
Fri, 28 Dec 2007 19:46:53 +0000 (19:46 +0000)
committerMathias Hasselmann <hasselmm@src.gnome.org>
Fri, 28 Dec 2007 19:46:53 +0000 (19:46 +0000)
* gtk/gtkcalendar.c: Set proper initial height for priv->header_win.

svn path=/trunk/; revision=19282

ChangeLog
gtk/gtkcalendar.c

index f85f980d1e5f561d7e236fbd0df144a53dd932a7..1414d21d236f6eb838daff736d2b01a606cac9ad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
+
+       Draw bottom shadow of GtkCalender headings. (#506113)
+
+       * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
+
 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkcalendar.c: Document the initial values of year/month/day
@@ -56,7 +62,7 @@
 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
 
        Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
-       are shown within the widget, or jst as tooltip.
+       are shown within the widget, or jst as tooltip. (#339540)
 
        * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
        aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
index 8735bd757566ce0eca632630df14abe059846aec..c91858e718c3ea3cf182c7c261f1b5caede2bb30 100644 (file)
@@ -1481,7 +1481,7 @@ calendar_realize_header (GtkCalendar *calendar)
       attributes.x = widget->style->xthickness;
       attributes.y = widget->style->ythickness;
       attributes.width = widget->allocation.width - 2 * attributes.x;
-      attributes.height = priv->header_h - 2 * attributes.y;
+      attributes.height = priv->header_h;
       priv->header_win = gdk_window_new (widget->window,
                                         &attributes, attributes_mask);