From d2cf3e574132d63272f6760c1bb30e68406156dd Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Sun, 23 Jun 2002 03:00:17 +0000 Subject: [PATCH] Fix the column headers. Expand the acronyms to be clear, and mark them as "LEFT" instead of "RIGHT" to get the beginning of the header instead of the end. Fixes bugID #85691. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7005 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/business/business-ledger/gncEntryLedgerLayout.c | 10 +++++----- src/business/business-ledger/gncEntryLedgerModel.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/business/business-ledger/gncEntryLedgerLayout.c b/src/business/business-ledger/gncEntryLedgerLayout.c index 51034b62bc..4e2160705c 100644 --- a/src/business/business-ledger/gncEntryLedgerLayout.c +++ b/src/business/business-ledger/gncEntryLedgerLayout.c @@ -52,7 +52,7 @@ static void gnc_entry_ledger_layout_add_cells (GncEntryLedger *ledger, gboolean span; } cells[] = { { ENTRY_INV_CELL, RECN_CELL_TYPE_NAME, N_("sample:X")+7, - CELL_ALIGN_RIGHT, FALSE, FALSE }, + CELL_ALIGN_LEFT, FALSE, FALSE }, { ENTRY_DATE_CELL, DATE_CELL_TYPE_NAME, N_("sample:12/12/2000")+7, CELL_ALIGN_RIGHT, FALSE, FALSE }, { ENTRY_DESC_CELL, QUICKFILL_CELL_TYPE_NAME, @@ -67,17 +67,17 @@ static void gnc_entry_ledger_layout_add_cells (GncEntryLedger *ledger, { ENTRY_DISC_CELL, PRICE_CELL_TYPE_NAME, N_("sample:9,999.00") + 7, CELL_ALIGN_RIGHT, FALSE, FALSE }, { ENTRY_DISTYPE_CELL, RECN_CELL_TYPE_NAME, N_("sample(DT):+%")+11, - CELL_ALIGN_RIGHT, FALSE, FALSE }, + CELL_ALIGN_LEFT, FALSE, FALSE }, { ENTRY_DISHOW_CELL, RECN_CELL_TYPE_NAME, N_("sample(DH):+%")+11, - CELL_ALIGN_RIGHT, FALSE, FALSE }, + CELL_ALIGN_LEFT, FALSE, FALSE }, { ENTRY_ACCT_CELL, COMBO_CELL_TYPE_NAME, N_("sample:Xfer:Account")+7, CELL_ALIGN_RIGHT, FALSE, FALSE }, { ENTRY_TAXABLE_CELL, RECN_CELL_TYPE_NAME, N_("sample:T?")+7, CELL_ALIGN_RIGHT, FALSE, FALSE }, { ENTRY_TAXINCLUDED_CELL, RECN_CELL_TYPE_NAME, N_("sample:TI")+7, - CELL_ALIGN_RIGHT, FALSE, FALSE }, + CELL_ALIGN_LEFT, FALSE, FALSE }, { ENTRY_TAXTABLE_CELL, COMBO_CELL_TYPE_NAME, N_("sample:Tax Table 1")+7, - CELL_ALIGN_RIGHT, FALSE, FALSE }, + CELL_ALIGN_LEFT, FALSE, FALSE }, { ENTRY_VALUE_CELL, PRICE_CELL_TYPE_NAME, N_("sample:999,999.00")+7, CELL_ALIGN_RIGHT, FALSE, FALSE }, { ENTRY_TAXVAL_CELL, PRICE_CELL_TYPE_NAME, N_("sample:999.00")+7, diff --git a/src/business/business-ledger/gncEntryLedgerModel.c b/src/business/business-ledger/gncEntryLedgerModel.c index 593b46dc8f..28be76a0ef 100644 --- a/src/business/business-ledger/gncEntryLedgerModel.c +++ b/src/business/business-ledger/gncEntryLedgerModel.c @@ -60,12 +60,12 @@ static const char * get_disc_label (VirtualLocation virt_loc, gpointer data) static const char * get_distype_label (VirtualLocation virt_loc, gpointer data) { - return _("DT"); + return _("Discount Type"); } static const char * get_dishow_label (VirtualLocation virt_loc, gpointer data) { - return _("DH"); + return _("Discount How"); } static const char * get_pric_label (VirtualLocation virt_loc, gpointer data)