[Gnucash-changes] r14138 - gnucash/trunk - Make the blue past/future dividing line thicker so that it is obvious.

David Hampton hampton at cvs.gnucash.org
Fri May 19 23:41:19 EDT 2006


Author: hampton
Date: 2006-05-19 23:41:18 -0400 (Fri, 19 May 2006)
New Revision: 14138
Trac: http://svn.gnucash.org/trac/changeset/14138

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/register/register-gnome/gnucash-grid.c
Log:
Make the blue past/future dividing line thicker so that it is obvious.
Fixes #342051.


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-05-20 02:02:20 UTC (rev 14137)
+++ gnucash/trunk/ChangeLog	2006-05-20 03:41:18 UTC (rev 14138)
@@ -1,5 +1,9 @@
 2006-05-19  David Hampton  <hampton at employees.org>
 
+	* src/register/register-gnome/gnucash-grid.c: Make the blue
+	past/future dividing line thicker so that it is obvious.  Fixes
+	#342051.
+
 	* src/engine/engine-helpers.c:
 	* macros/legacy_macros.m4:
 	* configure.in: Make the removal of scm_block_gc conditional on

Modified: gnucash/trunk/src/register/register-gnome/gnucash-grid.c
===================================================================
--- gnucash/trunk/src/register/register-gnome/gnucash-grid.c	2006-05-20 02:02:20 UTC (rev 14137)
+++ gnucash/trunk/src/register/register-gnome/gnucash-grid.c	2006-05-20 03:41:18 UTC (rev 14138)
@@ -439,7 +439,9 @@
                 if (virt_loc.vcell_loc.virt_row == table->model->dividing_row)
                 {
                         gdk_gc_set_foreground (grid->gc, &gn_blue);
-                        gdk_draw_line (drawable, grid->gc, x, y, x + width, y);
+                        gdk_draw_line (drawable, grid->gc, x, y-1, x + width, y-1);
+                        gdk_draw_line (drawable, grid->gc, x, y,   x + width, y);
+                        gdk_draw_line (drawable, grid->gc, x, y+1, x + width, y+1);
                 }
         }
 
@@ -450,8 +452,12 @@
                     (table->model->dividing_row - 1))
                 {
                         gdk_gc_set_foreground (grid->gc, &gn_blue);
+                        gdk_draw_line (drawable, grid->gc, x, y + height - 1,
+                                       x + width, y + height - 1);
                         gdk_draw_line (drawable, grid->gc, x, y + height,
                                        x + width, y + height);
+                        gdk_draw_line (drawable, grid->gc, x, y + height + 1,
+                                       x + width, y + height + 1);
                 }
         }
 



More information about the gnucash-changes mailing list