From 9de4ec1b868b8c28d3622d8b9703dc6a2cb32633 Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Sun, 19 Jan 2003 03:22:25 +0000 Subject: [PATCH] * src/app-utils/prefs.scm: Remove "user name" and "user address" preferences, as they are no longer used by anything. * src/report/standard/reports/register.scm: we're not using the 'invoice' portion anymore, so we don't need references to user name and user address preferences. This removes the "User Info" page from the Global Preferences. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7847 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 7 +++++++ src/app-utils/prefs.scm | 16 ++++++++-------- src/report/standard-reports/register.scm | 10 ++++++---- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index cfd8d73f9d..ed25ca1cda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -44,6 +44,13 @@ from the book-kvp options and use that as the default tax table FIXES 93462. + + * src/app-utils/prefs.scm: Remove "user name" and "user address" + preferences, as they are no longer used by anything. + * src/report/standard/reports/register.scm: we're not using the + 'invoice' portion anymore, so we don't need references to user + name and user address preferences. This removes the "User Info" + page from the Global Preferences. 2003-01-16 Derek Atkins diff --git a/src/app-utils/prefs.scm b/src/app-utils/prefs.scm index 1573cea7a5..9bfb800f9c 100644 --- a/src/app-utils/prefs.scm +++ b/src/app-utils/prefs.scm @@ -360,15 +360,15 @@ to enter a credit card payment") ;;; User Info Options -(gnc:register-configuration-option - (gnc:make-string-option - (N_ "User Info") (N_ "User Name") - "b" (N_ "The name of the user. This is used in some reports.") "")) +;(gnc:register-configuration-option +; (gnc:make-string-option +; (N_ "User Info") (N_ "User Name") +; "b" (N_ "The name of the user. This is used in some reports.") "")) -(gnc:register-configuration-option - (gnc:make-text-option - (N_ "User Info") (N_ "User Address") - "c" (N_ "The address of the user. This is used in some reports.") "")) +;(gnc:register-configuration-option +; (gnc:make-text-option +; (N_ "User Info") (N_ "User Address") +; "c" (N_ "The address of the user. This is used in some reports.") "")) ;;; General Options diff --git a/src/report/standard-reports/register.scm b/src/report/standard-reports/register.scm index 090a1a077f..82f13be354 100644 --- a/src/report/standard-reports/register.scm +++ b/src/report/standard-reports/register.scm @@ -553,12 +553,14 @@ document (gnc:make-html-text (gnc:html-markup-br) - (gnc:option-value - (gnc:lookup-global-option "User Info" "User Name")) + ;;(gnc:option-value + ;; (gnc:lookup-global-option "User Info" "User Name")) + "User Name" (gnc:html-markup-br) (string-expand - (gnc:option-value - (gnc:lookup-global-option "User Info" "User Address")) + ;;(gnc:option-value + ;; (gnc:lookup-global-option "User Info" "User Address")) + "User Address" #\newline "
") (gnc:html-markup-br)))