Commit Graph

10840 Commits

Author SHA1 Message Date
Andreas Köhler
b23b36822f Add close handler for register plugin pages, just call gnc_main_window_close_page.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16103 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-19 23:19:51 +00:00
Andreas Köhler
193b0cd6a8 Unregister option dialogs from gui component list while destroying.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16102 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-19 23:19:44 +00:00
Andreas Köhler
1e327c3f2b gnc-budget-lookup, used for getter of budget option, may return '() instead of #f.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16101 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-19 23:19:39 +00:00
Andreas Köhler
f17426d697 In the transfer dialog, always use bold headers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16100 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 23:31:49 +00:00
Andreas Köhler
ff06f1a801 In reconciliation window, only show interest button if account type is CREDIT or LIABILITY.
It used to be hidden and showed again by gtk_widget_show_all.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16099 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 23:09:30 +00:00
Andreas Köhler
55d98f19fc Make date picker in registers visible for rtl locales like hebrew, #386816.
The calendar popup starts at x=0, but in a right-to-left interface it is
drawn to the left, i.e. out off the window.  This can be avoided by
overwriting the default direction of the surrounding horizontal box.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16098 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 21:41:32 +00:00
Andreas Köhler
12d95d5262 Deuglify the account selection dialog for the account search a little bit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16097 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 15:14:01 +00:00
Andreas Köhler
c8a63e3c73 Correct the checks for gnc:*finance-quote-{check,helper}* to use string-null?.
g-find-program-in-path returns a string---it may be empty but not #f or '().


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16096 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 14:54:24 +00:00
Andreas Köhler
3000cdacb5 Fix a qif import error if commission account cannot be found in the mappings, #378274.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16095 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 14:54:19 +00:00
Andreas Köhler
fa0cc34ec2 Update the main window titles and the window list on HOOK_BOOK_OPENED.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16094 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 14:54:14 +00:00
Andreas Köhler
28d40a43ad In QIF import, do not cat and merge accounts if imported_account_tree is empty.
If an error occurs while importing, imported_account_tree will be set to
#f, whereas functions called by gnc:account-tree-catenate-and-merge
would expect empty lists.  So do not call that function at all.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16093 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-18 14:54:08 +00:00
Andreas Köhler
668b42be04 Patch from Thomas Klausner to enable building with goffice-0.4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16092 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-17 13:28:48 +00:00
Andreas Köhler
d6de54691d Do not remove files from history list on startup, #388500.
It is not clear yet, when and how it is best to remove inaccessible
files from the history list.  At least we should not do it on startup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16091 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-17 13:28:43 +00:00
Derek Atkins
f9de5abe1b Use POTFILES.ignore (in addition to POTFILES.skip) to placate recent intltool
Eventually we can just move back to POTFILES.skip and remove the
POTFILES.skip tests from Makefile.am.   This should allow "make check"
to work on recent systems (like Fedora 7) with intltool-0.35.5
and automake-1.10


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16090 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-16 03:38:06 +00:00
David Hampton
fc72475bef Update translator comments.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16089 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-15 02:54:56 +00:00
David Hampton
8f6abfd96e Programmatically generate check file names from the title input by the
user.  Fixes #436255.  Also reload the check format combobox each time
a custom format is successfully saved.  Fixes #436394.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16088 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-15 02:47:06 +00:00
David Hampton
0964eebb45 Limit the values of randomly generated numbers a little bit more.
This prevents the test-lots case from dying when it attempts to divide
one split into two splits, and the ration of the two splits ends up
producing numbers less than 0.01.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16082 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 20:54:57 +00:00
Andreas Köhler
1413a11989 Add some delimiters for parsing CJK dates, #437898.
On Windows, the short date formats are used, containing standard
delimiters.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16081 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 15:02:40 +00:00
Christian Stimming
7d4786558b Update German translation. Fix some duplicate key shortcuts as pointed out by andi5.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16080 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 13:23:31 +00:00
Christian Stimming
64a22b519a Fix spelling error
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16079 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 13:22:20 +00:00
Andreas Köhler
03ccfc502e Make search and tax info dialogs invisible at the top-most level.
On the one hand this avoids nasty redraws, so that the user need not
watch the dialogs getting filled by widgets.  On the other, on Windows
because of #436721, dialogs are not redrawn correctly after a
gtk_window_resize(), rendering at least these two dialog partly unusable
without a full redraw.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16078 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 00:10:08 +00:00
Andreas Köhler
23c1d1a598 Add gnc_history_remove_file, call it if the history file cannot be loaded, #388500.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16077 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 23:30:35 +00:00
Christian Stimming
12ec997301 Fix memory leaks: All strings from gnc_gconf_get_string need to be freed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16076 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 19:36:39 +00:00
Christian Stimming
fdb7af4a6b Fix memory leak: Returned strings from gconf need to be freed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16075 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 19:12:02 +00:00
Joshua Sled
7aa1aec532 Remove broken hyperlinks; just in-line the urls.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16074 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 17:50:14 +00:00
Andreas Köhler
c402307aba Further improve date parsing on Windows. Revert parts of r16049 on Unix.
The recursive parsing of %x by strptime seems to work only for complete
strings, e.g. 4.6. in de_DE or 4/6 in en_UK will not be parsed
correctly.  Therefore, readd LANGINFO_D_FMT_CHECK and use
qof_win32_get_time_format(QOF_WIN32_PICTURE_{DATE,TIME,DATETIME} on
Windows for printing and scanning.  Make get_win32_locale_string and
translate_win32_picture accessible by QOF.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16073 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 16:50:49 +00:00
Christian Stimming
fc2dff9fe4 Update translations for next release.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16072 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-11 20:59:40 +00:00
Andreas Köhler
e4b8923fb0 On strptime('%X') and Windows, first translate the time picture to a format spec, cf. #437751.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16071 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-11 20:21:18 +00:00
Andreas Köhler
5237c40147 In gnc_find_or_create_equity_account, fix crash if there is no account "Equity", #436155.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16070 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-11 17:35:00 +00:00
Andreas Köhler
cc1f575c56 Update the window title after a new main window has been created, #436479.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16069 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 22:07:48 +00:00
Christian Stimming
125d497ecf Fix memory leak: Returned strings from gconf need to be freed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16068 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 21:06:16 +00:00
Christian Stimming
2ffe0b0832 Fix last commit, sorry.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16067 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 21:05:21 +00:00
Christian Stimming
d0f4e853c4 Fix small memory leak - unfreed string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16066 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 21:03:48 +00:00
Andreas Köhler
0a179cf181 Update comment in glade-fixup to Gtk+ v2.6.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16065 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 20:45:13 +00:00
Andreas Köhler
92491cdfb4 In the tax information dialog, add a GtkHPaned to allow resizing of the accounts treeview, #432072.
The treeview on the left hand side does not support horizontal
scrolling, so separate both sides by a horizontal paned widget.  Save
and restore its position in GConf, too.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16064 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 20:45:08 +00:00
Christian Stimming
f4d930d558 Improve user message wordings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16063 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 20:36:40 +00:00
Christian Stimming
52f1765f44 I18n improvements: Add comments for translators
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16062 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 20:33:48 +00:00
Christian Stimming
9488ce91e3 Fix small memory leak - unfreed string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16061 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 20:28:36 +00:00
Andreas Köhler
3d4136fbac Fix a NULL-%s-printf in bayes matching, #436455.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16060 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-07 18:39:51 +00:00
Chris Shoemaker
0cc3c94654 Plug a leak of strings in the swip-wrapped gnc_gettext_helper().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16059 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-07 13:24:27 +00:00
Christian Stimming
439ad78323 Fix memory leak where a free was forgotten
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16058 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-06 21:47:16 +00:00
Christian Stimming
8a9bc55475 Fix memory leak where a free was forgotten
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16057 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-06 21:27:09 +00:00
David Hampton
f2feb3016e Use the last second of the statement date when determining whether
clears transaction should be checked when the reconciliation dialog is
created.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16056 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-06 04:35:53 +00:00
David Hampton
5990e0be74 Fix several problems with the QOF book merge code. Use unique error
codes in the qof_book_merge_commit() function.  Fixes 343730.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16055 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-06 00:27:43 +00:00
Joshua Sled
31ba2398aa Bug#436177: more CSV Import hiding.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16054 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 23:25:58 +00:00
David Hampton
5277bb1d87 For report pages, make the "Refresh" menu item synonymous with the
Reload toolbar button.  Fixes 381737.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16053 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 23:23:29 +00:00
David Hampton
54deadecda Now that check printing has been rewritten, there no longer a need to
have the custom translation fields always enabled.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16052 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 22:20:09 +00:00
David Hampton
cf71fd4795 When saving a check format, query the user for the title to write into
that format.  Fixed #434409.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16051 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 21:46:06 +00:00
Joshua Sled
8b804cc6dd Bug#436177: disable menu items for Import CSV {,and send}.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16050 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 21:08:41 +00:00
Andreas Köhler
9f44e3155d Do not use langinfo to determine date format spec, but %x, %X or %c.
Remove check for HAVE_LANGINFO_D_FMT.  Rather use standard strftime and
(standard?) strptime format specifiers %x (date), %X (time) and %c
(date&time, all in national representation).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16049 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 21:02:56 +00:00