Commit Graph

2233 Commits

Author SHA1 Message Date
David Hampton
311f5bdd57 Andreas Köhler's patch to perform the i18n on column headers before
calling the generic tree view code instead of performing it a couple
steps removed. It also introduces the translatable strings "P"
(placeholder) and "Q" (quotes) used in toggle column headers.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13098 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 20:22:03 +00:00
Joshua Sled
443571f859 Fix file-backend options; respect runtime value changes. Fix file-compression option name in prefs dialog.
2006-02-04  Joshua Sled  <jsled@asynchronous.org>

	* src/gnome-utils/glade/preferences.glade: Fix name of
	file-compression option.

	* src/backend/file/gnc-backend-file.c (gnc_backend_new): Setup
	option initial values; register configuration-change notification.
	(retain_changed_cb, compression_changed_cb): Add.

	* src/backend/file/gnc-backend-file.h (struct FileBackend_struct):
	Move backend options into backend struct.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13097 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 17:56:23 +00:00
David Hampton
bf7d801c00 Re-title the search dialog based upon the menu used to invoke it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13088 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 14:45:47 +00:00
David Hampton
665e684050 Andreas Köhler's patch to allow explicit specification of which
columns in a tree view expand.  Updated to automatically mark a column
as expandable if it is the only visible column.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13086 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 06:26:50 +00:00
David Hampton
8b49655349 Change the default visibilities of the GncTreeViewAccount widget to
only show the account name column.  This is the most commonly used
case for this widget.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13085 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 04:38:01 +00:00
Joshua Sled
0324351b44 Fix overall and ".log"-specific file-retention issues: Bug#329670 (++).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13084 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 02:09:29 +00:00
David Hampton
b9724e3063 Don't call g_utf8_strlen with a NULL pointer.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13083 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 00:47:40 +00:00
David Hampton
6e63f6b452 Better handling in the model event handling functions. Noticeable in
the commodity and price trees when adding/deleting the first/last
item.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13082 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 00:31:50 +00:00
David Hampton
fa0b6374c3 Re-enable events before processing the book-opened hook. Solves some
strange problems in the account


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13080 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 00:24:26 +00:00
Derek Atkins
3c92b8702f Specify the output xml encoding as utf8.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13078 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 15:55:16 +00:00
Derek Atkins
7ecd0df390 Allow specification of invoice sub-type when creating search dialog (#117354)
* src/gnome-search/dialog-search.c:
	* src/gnome-search/dialog-search.h:
	  Modify the gnc_search_dialog_create() API to add an optional
	  "type label" parameter, so you can manually set the string
	  presented to the user for what they are searching for...
	* src/business/business-gnome/dialog-order.c:
	* src/business/business-gnome/dialog-vendor.c:
	* src/business/business-gnome/dialog-customer.c:
	* src/business/business-gnome/dialog-job.c:
	* src/business/business-gnome/dialog-employee.c:
	* src/gnome/dialog-find-transactions.c:
	  Pass NULL into new search API parameter
	* src/business/business-gnome/dialog-invoice.c:
	  Modify how we call the search dialog.  Send in different
	  sets of parameters depending on whether we're searching for
	  a Customer Invoice, Vendor Bill, or Employee Expense Voucher.
	  Pass in a type_label as well so the dialog can properly label
	  the "new" button.  This fixes the UI Bug #117354.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13071 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 22:57:30 +00:00
Derek Atkins
757ab689ca Re-sort an invoice entry list when an entry date changes (#320566)
* src/business/business-core/gncInvoice.[ch]:
	  Add new API: gncInvoiceSortEntries()
	* src/business/business-core/gncEntry.c:
	  re-sort the parent when the entry date changes.
	  Only re-sort when the existing date is non-zero (i.e.
	  don't re-sort on the initial setting of the date).
	  Fixes #320566.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13069 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 21:49:06 +00:00
Derek Atkins
5c94f54a4b Need to put the new split into the txn as well as the acct
before we call xaccSplitSetBaseValue().  Fixes #325890.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13068 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 21:23:54 +00:00
Derek Atkins
1adcc37a8a Get libqof to link against glib and gmodule.
* configure.in: include gmodule in GLIB_LIBS
	* lib/libqof/qof/Makefile.am: link libqof against glib.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13058 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 16:29:01 +00:00
Joshua Sled
32790cb169 Do the Locale-two-step to fix graphs in non-C-locales. Bug#328773.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13055 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 03:34:26 +00:00
Derek Atkins
da38b024da Need to insert splits into accounts before called xaccSplitSetBaseValue().
* src/business/business-core/gncInvoice.c:
	  Make sure to insert new splits into an account before we
	  set the Base Value..  Otherwise it will fail to set the
	  value properly.  Closer to fixing 325890, but it's still
	  not completely fixed.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13053 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 17:17:33 +00:00
Joshua Sled
89348c97f2 Change since-last-run final-page text from "apply" to "Apply". Bug#329125.
Incidental ./glade-fixup changes to print.glade.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13051 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 14:47:04 +00:00
Derek Atkins
8a0f2cf7e3 Clear up the billterm data lossage (due to a broken enum definition).
* src/business/business-core/file/gnc-bill-term-xml-v2.c:
	* src/business/business-core/file/gnc-bill-term-xml-v2.h:
	  Add a new API to "find-or-create" a billterm so all the
	  code is collated in one location.
	  Add more debugging during the scrub phases.
	* src/business/business-core/file/gnc-invoice-xml-v2.c:
	* src/business/business-core/file/gnc-vendor-xml-v2.c:
	* src/business/business-core/file/gnc-customer-xml-v2.c:
	  Use the new bill-term find-or-create API
	* src/business/business-core/gncBillTerm.c:
	  add some additional debugging
	* src/business/business-core/gncBillTerm.h:
	  The Billterm Type ENUM must start at 1, not zero.  The data file
	  now appears to properly save itself without destroying data.
	  Fixes rest of #328790.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13049 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 05:57:08 +00:00
David Hampton
7940c68a7a Make the cut/paste change compile on gtk 2.4 systems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13048 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 04:57:46 +00:00
David Hampton
f990299ddb Remove extraneous carriage returns from text that will be put into a
GtkLabel (since labels know how to wrap text).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13046 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 03:13:28 +00:00
David Hampton
c98c4d9794 Dave Herman's patch to suppresses extraneous entries table entries in
reports when there are no files specified for the "logo pix" file or
the "header pix" file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13044 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 01:56:13 +00:00
David Hampton
d9f937a004 Eskil Bylund's patch from Epiphany to enable cut/paste. Extended to
support GtkTextView widgets as well as GtkEditable widgets.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13043 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 01:49:35 +00:00
David Hampton
1992088cff Andreas Köhler's patch to fix a problem where switching windows
repeatedly confusing the Windows menu.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13039 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 23:19:34 +00:00
David Hampton
2d984ba480 Andreas Köhler's patch to fix commodity editor warnings/crash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13037 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 22:50:39 +00:00
Joshua Sled
eb8f68139b SX Since-Last-Run now reports transaction-creation errors to the user, degrades (somewhat) gracefully; report cleanup.
2006-01-29  Joshua Sled  <jsled@asynchronous.org>

	* src/report/utility-reports/welcome-to-gnucash.scm: register
	menu item for self.

	* src/report/report-gnome/report-gnome.scm
	(gnc:report-menu-setup): Remove report menu-item creation.

	* src/gnome/dialog-sxsincelast.c (create_each_transaction_helper):
	Degrade more gracefully in the face of errors during scheduled-transaction
	creation; record errors in-band rather than simply to the log, and
	display them to the user.  Resolves bugs: 151157, 167858, 151487.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13035 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 19:32:48 +00:00
David Hampton
6bd55f970d HIG changes for the "radio option" query dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13034 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 19:23:25 +00:00
David Hampton
67b746b581 Michael Wahlbrink's cvs to svn changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13029 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 18:21:54 +00:00
David Hampton
aa02242b0a Use a format string of "%s" when building a message dialog from a
single string.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13021 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 16:08:51 +00:00
David Hampton
1bd014def0 HIG rework. Remove newlines from dialog message strings. Give some
dialogs more descriptive button labels.  Clean up the code around the
file save query dialog.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13019 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 14:53:19 +00:00
Joshua Sled
9b0321bb9f Maintain the html-document title while rendering so the progress bar is setup with the right name. Bug#327650.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13016 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 00:19:09 +00:00
Joshua Sled
c506f3d188 Remove gnc-split-reg "create" and "capabilities" flags and dead code.
2006-01-28  Joshua Sled  <jsled@asynchronous.org>

	* src/gnome/gnc-split-reg.c: Remove a lot of dead code.
	(gnc_split_reg_new): Remove create-flags and
	disallowed-cap[abilitie]s; add simple "read-only" flag.

	* src/gnome/gnc-plugin-page-register.c
	(gnc_plugin_page_register_actions): remove stock-missing icon for
	"edit exchange rate" action.
	(GncPluginPageRegisterPrivate, gnc_plugin_page_register_init) 
	(gnc_plugin_page_register_create_widget): Replace "disallow
	cap[abilitie]s" with specific read-only flag.

	* src/gnome/dialog-scheduledxaction.c (schedXact_editor_create_ledger): 
	* src/gnome/dialog-sxsincelast.c (create_to_create_ledger) 
	(create_autoCreate_ledger, create_created_ledger): Set read-only
	flag on register.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13014 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 23:31:30 +00:00
David Hampton
afbad0352a Add an include so gnucash compiles on gnome2.13 again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13013 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 23:22:28 +00:00
Joshua Sled
f93228f504 Be a bit more defensive about the plugin page's window being a GncWindow, not necessarily a GtkWindow.
2006-01-28  Joshua Sled  <jsled@asynchronous.org>

	* src/gnome/gnc-plugin-page-register.c (gnc_plugin_page_register_cmd_reverse_transaction) 
	(gnc_plugin_page_register_cmd_view_sort_by) 
	(gnc_plugin_page_register_cmd_view_filter_by) 
	(gnc_plugin_page_register_cmd_transfer) 
	(gnc_plugin_page_register_cmd_reconcile) 
	(gnc_plugin_page_register_cmd_jump): Treat
	GNC_PLUGIN_PAGE(page)->window as a GncWindow, not necessarily and
	immediately a GtkWindow; fixes issues with GTK cast warnings on
	GncEmbeddedWindow usages of the register.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13012 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 22:42:10 +00:00
Joshua Sled
6db18440d2 Fix UI of SX-related registers.
2006-01-28  Joshua Sled  <jsled@asynchronous.org>

	* src/gnome/ui/gnc-sxed-window-ui-full.xml: Add.
	* src/gnome/dialog-scheduledxaction.c (gnc_sxed_menu_entries) 
	(schedXact_editor_create_ledger)
	* src/gnome/dialog-sxsincelast.c (create_autoCreate_ledger) 
	(create_created_ledger, create_to_create_ledger) 
	(gnc_sxsld_menu_entries): Setup SX-related registers to only
	display and allow relevant register functionality. Bug#327642.

	* src/gnome/gnc-plugin-page-register.c
	(gnc_plugin_page_register_actions): Change stock icons for
	BlankTransaction and ScheduleTransaction Actions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13011 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 21:44:28 +00:00
Joshua Sled
a3f4252965 Change libgsf/goffice libraries and paths to be gnucash-specific.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13003 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 18:57:29 +00:00
Joshua Sled
41ba299b51 Bugs 327775, 327641: minor scheduled-transaction fixes.
2006-01-25  Joshua Sled  <jsled@asynchronous.org>

	* src/gnome/glade/sched-xact.glade: Bug#327775: consistency in
	case of dialog title.
	Bug#327641: fix glade-spec'ed response-codes for OK/Cancel
	buttons, thus letting logic work again.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13002 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 18:45:48 +00:00
Christian Stimming
62275638c8 Revert r12998 -- we only require aqbanking-1.0.0
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13001 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 18:00:11 +00:00
Derek Atkins
3ab99cab85 Properly save the guid of owners (partial fix for 328790).
* src/business/business-core/file/gnc-owner-xml-v2.c:
	  GncOwner is not a QOF_INSTANCE.  Get the GUID correctly.
	  Fixes part of #328790 (but not all of it).



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13000 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 17:23:47 +00:00
Christian Stimming
021f9789c7 Require aqbanking-1.3.0 for HBCI.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12998 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 12:30:43 +00:00
David Hampton
0efa562ecb Add translation and rotation to the custom printing page. Modify the
code so that only the custom widgets that have an effect for the
current setting are sensitive.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12996 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 05:01:02 +00:00
Derek Atkins
ed2263acdb Get "make distcheck" to work....
* src/import-export/test/Makefile.am:
	  Added src/scm directory to test environment
	* lib/goffice-0.0.4/Makefile.am:
	  Don't install libgoffice-1.pc, but distribute it
	* lib/libgsf-1.12.3/tests/Makefile.am:
	  Link to the proper location of libgsf-1.la
	* lib/libgsf-1.12.3/Makefile.am:
	  Don't install the gsf .pc files, but distribute them.
	* lib/Makefile.am:
	  Use DIST_SUBDIRS to distribute qof, gsf, and goffice
	* configure.in:
	  fix QOF_LIBS to use builddir, not srcdir
	* Makefile.am:
	  add po/POTFILES.in to the dist
	  link gsf into the srcdir, not the builddir
	* src/report/report-system/Makefile.am:
	  make sure we distribute gw-report-system.h
	* src/bin/Makefile.am:
	  clean i18n.h in distclean



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12992 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 21:49:03 +00:00
David Hampton
27abe083de Default the --enable-compile-warnings argument to yes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12990 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 07:03:18 +00:00
David Hampton
df317905f4 More HIG changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12987 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 05:13:46 +00:00
David Hampton
f30362eaa3 Fix compilation warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12986 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 05:03:51 +00:00
Derek Atkins
8277d869c7 * configure.in: fail if we find libgsf >= 1.12.2 but not libgsf-gnome.
This is instead of configure succeeding and then failing the
	  build later.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12983 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-26 19:01:16 +00:00
Christian Stimming
bda328ea16 Factor out importing functions that might be useful for mt940 importer.
2006-01-24  Christian Stimming  <stimming@tuhh.de>

	* src/import-export/hbci/gnc-hbci-gettrans.h: Factor out importing
	functions that might be useful for mt940 importer.

	* src/import-export/hbci/gnc-hbci-transfer.c: Fix wrong amount
	sign.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12972 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-24 20:43:05 +00:00
Derek Atkins
ba731b6fbd * src/engine/test/Makefile.am: add explicit libdep on libcore-utils.la
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12971 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-24 01:20:03 +00:00
Chris Shoemaker
2ec3482f47 ChangeLog entries copied from 'svn log -v'
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12967 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 21:25:13 +00:00
Neil Williams
7b380af8db Fix QSF import and merge, closes [Bug 327640]. r12961.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12961 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 19:00:26 +00:00
Neil Williams
d51aacf100 bug fix: prevent bad time values from being passed to entity - already in QOF CVS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12955 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 14:30:37 +00:00