[Gnucash-changes] r14347 - gnucash/trunk - Restore the business reports menu.
David Hampton
hampton at cvs.gnucash.org
Wed Jun 7 22:30:19 EDT 2006
Author: hampton
Date: 2006-06-07 22:30:18 -0400 (Wed, 07 Jun 2006)
New Revision: 14347
Trac: http://svn.gnucash.org/trac/changeset/14347
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/business/business-gnome/business-gnome.scm
Log:
Restore the business reports menu.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2006-06-08 02:07:33 UTC (rev 14346)
+++ gnucash/trunk/ChangeLog 2006-06-08 02:30:18 UTC (rev 14347)
@@ -1,3 +1,8 @@
+2006-06-07 David Hampton <hampton at employees.org>
+
+ * src/business/business-gnome/business-gnome.scm: Restore the
+ business reports menu.
+
2006-06-06 David Hampton <hampton at employees.org>
* src/business/business-gnome/glade/billterms.glade: Hide notebook
Modified: gnucash/trunk/src/business/business-gnome/business-gnome.scm
===================================================================
--- gnucash/trunk/src/business/business-gnome/business-gnome.scm 2006-06-08 02:07:33 UTC (rev 14346)
+++ gnucash/trunk/src/business/business-gnome/business-gnome.scm 2006-06-08 02:30:18 UTC (rev 14347)
@@ -20,3 +20,10 @@
(let ((m (current-module)))
(load-from-path name)
(set-current-module m)))
+
+(define (business-report-function)
+ (gnc:add-extension
+ (gnc:make-menu gnc:menuname-business-reports
+ (list gnc:menuname-reports))))
+
+(gnc:hook-add-dangler gnc:*report-hook* business-report-function)
More information about the gnucash-changes
mailing list