r17007 - gnucash/trunk/src/gnome-utils - Move month labels one row down to make them look like more in the center.
Andreas Köhler
andi5 at cvs.gnucash.org
Mon Mar 3 19:25:19 EST 2008
Author: andi5
Date: 2008-03-03 19:25:19 -0500 (Mon, 03 Mar 2008)
New Revision: 17007
Trac: http://svn.gnucash.org/trac/changeset/17007
Modified:
gnucash/trunk/src/gnome-utils/gnc-dense-cal.c
Log:
Move month labels one row down to make them look like more in the center.
Modified: gnucash/trunk/src/gnome-utils/gnc-dense-cal.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-dense-cal.c 2008-03-04 00:20:16 UTC (rev 17006)
+++ gnucash/trunk/src/gnome-utils/gnc-dense-cal.c 2008-03-04 00:25:19 UTC (rev 17007)
@@ -930,7 +930,7 @@
dcal->monthPositions[i].x
= floor(i/dcal->monthsPerCol)
* (col_width(dcal) + COL_BORDER_SIZE);
- dcal->monthPositions[i].y = ((GdkRectangle*)mcList->next->data)->y;
+ dcal->monthPositions[i].y = ((GdkRectangle*)mcList->next->next->data)->y;
for (mcListIter = mcList; mcListIter != NULL; mcListIter = mcListIter->next)
{
rect = (GdkRectangle*)mcListIter->data;
More information about the gnucash-changes
mailing list