r21715 - gnucash/trunk/src/business/business-gnome - Make the report name for clicking "Print Invoice" a preference.

Christian Stimming cstim at code.gnucash.org
Sun Dec 11 15:59:48 EST 2011


Author: cstim
Date: 2011-12-11 15:59:48 -0500 (Sun, 11 Dec 2011)
New Revision: 21715
Trac: http://svn.gnucash.org/trac/changeset/21715

Modified:
   gnucash/trunk/src/business/business-gnome/dialog-invoice.c
   gnucash/trunk/src/business/business-gnome/gnc-plugin-business.c
   gnucash/trunk/src/business/business-gnome/gnc-plugin-business.h
   gnucash/trunk/src/business/business-gnome/gncmod-business-gnome.c
   gnucash/trunk/src/business/business-gnome/gtkbuilder/business-prefs.glade
   gnucash/trunk/src/business/business-gnome/schemas/apps_gnucash_dialog_business_common.schemas.in
Log:
Make the report name for clicking "Print Invoice" a preference.

The implementation of a GtkComboBox in the preference is somewhat suboptimal
as the gconf key is the integer index in the combo box, but the needed key is
the (untranslated!) string of the report name. As a workaround, the list
of names exists twice, once in business-prefs.glade and once in gnc-plugin-business.c.
At least this works fine from the point of view of the user.



More information about the gnucash-patches mailing list