AUDIT: r17749 - gnucash/trunk/src/report/report-gnome - Bug #563160: Fix confusing order of "Column span" and "Row span"

Christian Stimming cstim at cvs.gnucash.org
Sat Dec 6 16:33:29 EST 2008


Author: cstim
Date: 2008-12-06 16:33:28 -0500 (Sat, 06 Dec 2008)
New Revision: 17749
Trac: http://svn.gnucash.org/trac/changeset/17749

Modified:
   gnucash/trunk/src/report/report-gnome/dialog-column-view.c
Log:
Bug #563160: Fix confusing order of "Column span" and "Row span"

The report options of multicolumn reports show in the Selected Reports the
attributes "Rows" and "Cols". If choose "Size" to edit these values a dialog
opens with "Column span" and "Row span" - just the other way around. I always
confuse this. This patch swaps the order in the dialog.

Patch by C.Ernst.
BP

Modified: gnucash/trunk/src/report/report-gnome/dialog-column-view.c
===================================================================
--- gnucash/trunk/src/report/report-gnome/dialog-column-view.c	2008-12-06 21:33:21 UTC (rev 17748)
+++ gnucash/trunk/src/report/report-gnome/dialog-column-view.c	2008-12-06 21:33:28 UTC (rev 17749)
@@ -368,15 +368,15 @@
     gtk_tree_view_append_column(r->contents, column);
 
     renderer = gtk_cell_renderer_text_new();
-    column = gtk_tree_view_column_new_with_attributes(_("Cols"), renderer,
-						      "text", CONTENTS_COL_REPORT_COLS,
+    column = gtk_tree_view_column_new_with_attributes(_("Rows"), renderer,
+						      "text", CONTENTS_COL_REPORT_ROWS,
 						      NULL);
     gtk_tree_view_append_column(r->contents, column);
 
     renderer = gtk_cell_renderer_text_new();
-    column = gtk_tree_view_column_new_with_attributes(_("Rows"), renderer,
-						      "text", CONTENTS_COL_REPORT_ROWS,
-						      NULL);
+    column = gtk_tree_view_column_new_with_attributes(_("Cols"), renderer,
+                  "text", CONTENTS_COL_REPORT_COLS,
+                  NULL);
     gtk_tree_view_append_column(r->contents, column);
 
     selection = gtk_tree_view_get_selection(r->contents);



More information about the gnucash-changes mailing list