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

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17749 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming
2008-12-06 21:33:28 +00:00
parent 832751c8c2
commit c98d539cd8

View File

@@ -368,15 +368,15 @@ gnc_column_view_edit_options(SCM options, SCM view)
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);