* 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
This commit is contained in:
Derek Atkins 2003-01-19 03:22:25 +00:00
parent 8f95724061
commit 9de4ec1b86
3 changed files with 21 additions and 12 deletions

View File

@ -44,6 +44,13 @@
from the book-kvp options and use that as the default tax table from the book-kvp options and use that as the default tax table
FIXES 93462. 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 <derek@ihtfp.com> 2003-01-16 Derek Atkins <derek@ihtfp.com>

View File

@ -360,15 +360,15 @@ to enter a credit card payment")
;;; User Info Options ;;; User Info Options
(gnc:register-configuration-option ;(gnc:register-configuration-option
(gnc:make-string-option ; (gnc:make-string-option
(N_ "User Info") (N_ "User Name") ; (N_ "User Info") (N_ "User Name")
"b" (N_ "The name of the user. This is used in some reports.") "")) ; "b" (N_ "The name of the user. This is used in some reports.") ""))
(gnc:register-configuration-option ;(gnc:register-configuration-option
(gnc:make-text-option ; (gnc:make-text-option
(N_ "User Info") (N_ "User Address") ; (N_ "User Info") (N_ "User Address")
"c" (N_ "The address of the user. This is used in some reports.") "")) ; "c" (N_ "The address of the user. This is used in some reports.") ""))
;;; General Options ;;; General Options

View File

@ -553,12 +553,14 @@
document document
(gnc:make-html-text (gnc:make-html-text
(gnc:html-markup-br) (gnc:html-markup-br)
(gnc:option-value ;;(gnc:option-value
(gnc:lookup-global-option "User Info" "User Name")) ;; (gnc:lookup-global-option "User Info" "User Name"))
"User Name"
(gnc:html-markup-br) (gnc:html-markup-br)
(string-expand (string-expand
(gnc:option-value ;;(gnc:option-value
(gnc:lookup-global-option "User Info" "User Address")) ;; (gnc:lookup-global-option "User Info" "User Address"))
"User Address"
#\newline #\newline
"<br>") "<br>")
(gnc:html-markup-br))) (gnc:html-markup-br)))