Commit Graph

8779 Commits

Author SHA1 Message Date
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
Chris Shoemaker
48a51e7492 Add POTFILES.skip to EXTRA_DIST.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13070 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 22:38:41 +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
Chris Shoemaker
c4dd32e179 Don't translate obsolete files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13067 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 20:33:36 +00:00
Chris Shoemaker
d814359990 When generating POTFILES.in, don't include files we don't want to translate.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13066 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 20:32:11 +00:00
Chris Shoemaker
53b5dc8ef7 Fail 'make distcheck' if POTFILES.in contains undistributed files.
The failure will also helpfully explain which files are the problem.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13065 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 20:30:14 +00:00
Christian Stimming
b48336d9ee Update German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13064 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 21:04:22 +00:00
Christian Stimming
346a5d1fb8 String improvements: Add missing whitespace
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13063 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 21:04:07 +00:00
Christian Stimming
ff1fbc9685 String improvements: Make question a bit clearer, hopefully
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13062 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 20:47:42 +00:00
Christian Stimming
ed99c666fe String improvements: Add missing whitespace
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13061 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 20:45:49 +00:00
Christian Stimming
97c38aeb89 Revert erroneous ngettext change; ngettext changes the text, but not the format arguments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13060 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 20:27:02 +00:00
Christian Stimming
100dcd40cf Updated Greek translation by Nikos Charonitakis <nikosx@gmail.com>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13059 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 19:52:43 +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
665c3b0dbb fix compilation breakage; comment tyop.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13057 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 13:16:26 +00:00
Chris Shoemaker
abbc6b6197 Don't add markup to tax report titles.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13056 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 03:41: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
Christian Stimming
232906bebc Update German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13054 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 21:01:05 +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
Neil Williams
5588942b31 en_GB update, 3645 of 3645 translated
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13052 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 16:40:25 +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
ff3e769845 Um, there is no "PDEBUG()", only "DEBUG()". Oops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13050 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 06:43:41 +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
Chris Shoemaker
c947a7778e New function: gnc_tree_view_add_combo_column().
This function is only compiled when HAVE_GTK26 because it uses 
   GtkCellRendererCombo.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13047 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 03:53:09 +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
Chris Shoemaker
7620b1918d Add some convenience functions for getting values from various combinations
of Accounts, Transactions, and Splits.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13045 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 02:59:43 +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
3eb9fa8a75 Fix another focus out event handlers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13042 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 01:45:23 +00:00
David Hampton
bad632ae30 Focus out event handlers should return FALSE.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13041 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 01:04:33 +00:00
Chris Shoemaker
295c475ea4 Convert account types filter dialog to use checkboxes for selection.
Patch by Eskil Bylund <eskil.bylund@gmail.com>


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13040 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 00:59:25 +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
Neil Williams
fc77d038a1 hint for osx packagers re: automake1.4 - still a problem
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13038 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 23:01:30 +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
0cc98d9ba4 Restore reasonable default logging levels.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13033 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 19:21: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
Neil Williams
f0d89dbfda reverting r12999 and implementing a set of default log modules
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13027 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 17:49:35 +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
20752a73a5 Use the gtk2.6 secondary message text function now that there is a 2.4
emulation routine available.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13020 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 16:06:16 +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
3cbcbd6e86 remove debugging leftovers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13018 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 14:48:41 +00:00
Christian Stimming
e5ca17a6a9 Distribute also some of the older ChangeLogs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13017 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 11:12:08 +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
d0ea7dfecf Pointer to the pathetic gtkhtml docs. :p
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13015 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-29 00:18:46 +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