*** account-piecharts.scm	2009-01-18 00:48:46.000000000 +0100
--- account-piecharts.scm.bak	2009-01-18 00:17:16.000000000 +0100
***************
*** 70,76 ****
  
  (define optname-fullname (N_ "Show long account names"))
  (define optname-show-total (N_ "Show Totals"))
- (define optname-show-percent (N_ "Show Percents"))
  (define optname-slices (N_ "Maximum Slices"))
  (define optname-plot-width (N_ "Plot Width"))
  (define optname-plot-height (N_ "Plot Height"))
--- 70,75 ----
***************
*** 133,143 ****
       (gnc:make-simple-boolean-option
        gnc:pagename-display optname-show-total
        "b" (N_ "Show the total balance in legend?") #t))
-     
-     (add-option
-      (gnc:make-simple-boolean-option
-       gnc:pagename-display optname-show-percent
-       "b" (N_ "Show the percentage in legend?") #t))
  
      (add-option
       (gnc:make-number-range-option
--- 132,137 ----
***************
*** 194,200 ****
  
          (show-fullname? (get-option gnc:pagename-display optname-fullname))
          (show-total? (get-option gnc:pagename-display optname-show-total))
-         (show-percent? (get-option gnc:pagename-display optname-show-percent))
          (max-slices (inexact->exact
  		     (get-option gnc:pagename-display optname-slices)))
          (height (get-option gnc:pagename-display optname-plot-height))
--- 188,193 ----
***************
*** 444,458 ****
  				  (car pair)
  				  (gnc-commodity-get-fraction report-currency)
  				  GNC-RND-ROUND)
! 				 print-info)
! 				 )
! 			       "")
! 			   (if show-percent?
! 				(sprintf
! 				 #f " (%2.2f %%)" 
! 				 (* 100.0 (/ (car pair) (apply + (unzip1 combined)))))
! 			       "")
! 			       ))
                         combined)))
                   (gnc:html-piechart-set-labels! chart legend-labels))
  
--- 437,444 ----
  				  (car pair)
  				  (gnc-commodity-get-fraction report-currency)
  				  GNC-RND-ROUND)
! 				 print-info))
! 			       "")))
                         combined)))
                   (gnc:html-piechart-set-labels! chart legend-labels))
  
