[evolution] Day view print: Put day name in its box



commit 49bff67ed2db38c9f73346eec27e0080c7d67435
Author: Carlos Martín Nieto <carlos cmartin tk>
Date:   Sat Oct 9 00:44:47 2010 +0100

    Day view print: Put day name in its box

 calendar/gui/print.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/calendar/gui/print.c b/calendar/gui/print.c
index cfc84e8..ebbaead 100644
--- a/calendar/gui/print.c
+++ b/calendar/gui/print.c
@@ -2237,8 +2237,9 @@ print_day_view (GtkPrintContext *context, GnomeCalendar *gcal, time_t date)
 		format_date (date, DATE_DAYNAME, buf, 100);
 
 		print_text_size_bold (context, buf, PANGO_ALIGN_LEFT,
-				 4, todo, 32,
-                                 32 + 18);
+				      4, todo,
+				      HEADER_HEIGHT + 6,
+				      HEADER_HEIGHT + 6 + 18);
 
 		date = time_add_day_with_zone (date, 1, zone);
 	 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]