Commit 2227e299 authored by Mathias Hasselmann's avatar Mathias Hasselmann

Draw bottom shadow of GtkCalender headings. (#506113)

* gtk/gtkcalendar.c: Set proper initial height for priv->header_win.

svn path=/trunk/; revision=19282
parent 2c35a3f9
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.
......
......@@ -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);
......
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