David Hampton
37ff4ec84e
Remember the order in which the notebook tabs are referenced. When
...
closing a tab, switch to the tab that was previously in front, not the
first tab in the notebook.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13385 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-25 08:18:39 +00:00
David Hampton
a1dbbfe230
Provide the right edit menu sensitivity for the register page.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13384 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 23:17:10 +00:00
David Hampton
e82d670961
Remove unnecessary menu item. The same functionality exists in the
...
"Menus & Toolbars" preference panel.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13383 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 22:58:28 +00:00
Christian Stimming
8ee2861201
Let the account matcher accept a parent widget to avoid windows that
...
are lost behind other windows. Adapt importer modules accordingly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13382 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 22:22:44 +00:00
Christian Stimming
26cc119630
Don't allow placeholder be selected for importing transactions. Fixes bug#327891.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13381 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 22:09:47 +00:00
Christian Stimming
f6fc0dfa91
Get MT940 importer compile again (experimental; requires
...
aqbanking-1.9.7). It is not yet tested with actual files. Bug#325170.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13380 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 21:59:29 +00:00
Christian Stimming
3d5d84836f
Make gchar argument const because it is only used as a const.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13379 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 21:43:37 +00:00
Chris Shoemaker
ee28ca912d
Since QOF no longer keeps track of the "current" session,
...
qof_session_destroy() no longer clears the current session when we destroy
it. Therefore, explicitly call gnc_clear_current_session() when we want
to destroy the current session.
Also, avoid accidentally creating a new book and session if there is no
open book/current session when we run the bill reminder.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13378 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 05:53:35 +00:00
David Hampton
f04fccd5d0
Andrew Sackville-West's to pass the rignt number of arguments to
...
gnc:register-guid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13377 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 05:13:51 +00:00
David Hampton
ab142450e0
Fix a misspelled word.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13376 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 04:55:51 +00:00
David Hampton
fa8cae90e1
Minor code cleanup and consolidations.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13375 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 04:50:03 +00:00
Joshua Sled
e706e3f023
Add ebuild for gnucash 1.9/2.0 series.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13374 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 02:57:09 +00:00
Joshua Sled
546e7b17d7
Increment TOTD index on dialog init.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13373 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 02:54:33 +00:00
Joshua Sled
a25ee62408
note bug
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13372 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 02:47:56 +00:00
Joshua Sled
dc659525ce
Bug#332359: use correct labels for x-axis.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13371 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-24 01:22:26 +00:00
David Hampton
fcdf57037a
Add the example gtkrc-2.0.gnucash file to the tarball.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13370 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-23 22:25:02 +00:00
Chris Shoemaker
b4456caf23
When we malloc a Transaction, then TransBeginEdit, then want to abort,
...
just call xaccTransDestroy(), xaccTransCommitEdit(). No rollback needed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13369 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-23 20:11:02 +00:00
Chris Shoemaker
a652fc59d0
Dirty Splits when they change.
...
Add const to Split where appropriate.
Fix GCache crash cause by using non-cached value in cached 'action' field
from the qsf-backend.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13368 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-23 17:44:42 +00:00
Derek Atkins
15cb6d2214
add QOF_LIBS to link line because debian libtool is broken.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13367 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-23 17:16:11 +00:00
Derek Atkins
eb29ffd9f8
force a build from svn to have access to svn version info.
...
this might break the broken ebuild that forcibly removes the
.svn directories, but the ebuild is broken and shouldn't do that.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13366 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-23 01:39:05 +00:00
Derek Atkins
5cd8bdf5a1
include gtk-compat.h so we build against gtk-2.4.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13365 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-23 01:35:25 +00:00
David Hampton
fa9f8dea28
Cleanup patch from Andreas Köhler.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13364 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 22:35:03 +00:00
Chris Shoemaker
3d6a06e208
Separate the Split functions from Transaction.c into Split.c.
...
Introduce xaccSplitVoid() and xaccSplitUnvoid() to aid the separation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13363 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 21:52:46 +00:00
Chris Shoemaker
00ba10ef00
Add some comments, error checks, ENTER/LEAVE balances and a special-case
...
early-return for the conversion-rate calculation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13362 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 17:41:58 +00:00
David Hampton
df6173132b
Provide a callback whereby the core register code can tell the upper
...
layers that it has moved from an expanded transaction to a collapsed
transaction. This lets the upper layer adjust the "split" transaction
toolbar button properly. Fixes 332165.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13361 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 15:41:18 +00:00
Chris Shoemaker
9958820d8e
Use correct function name qof_instance_set_dirty.
...
Comment on current state of Lot behavior.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13360 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 14:22:30 +00:00
Chris Shoemaker
656889ecce
Convert Lots from a QofEntity to a QofInstance.
...
They now store their own dirty state.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13359 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 06:01:07 +00:00
Chris Shoemaker
da35e7c127
No need to run the BOOK_OPENED hook twice when open a book.
...
And no need to run it at all when we fail to open a book.
Also, require HAVE_GTK26 before using gtk_get_option_group().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13358 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 03:30:48 +00:00
Chris Shoemaker
e1e0d326d0
Avoid instantiating the current session until we're actually opening a file.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13357 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 03:05:20 +00:00
Chris Shoemaker
6ec9c70b26
Files accidentally left out of previous commit (r13355).
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13356 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 02:43:20 +00:00
Chris Shoemaker
53cd1da9cf
Remove uses of deprecated qof_session_get_current_session() and
...
qof_session_set_current_session(). GnuCash now manages its own current
session. New function: gnc_current_session_exist() to test whether there
is a current session.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13355 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 02:39:02 +00:00
David Hampton
66baad0f8e
Fix from Andreas Köhler to deactivate the toolbar split button in an
...
auto-split register. Fixes 330621.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13354 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-22 01:38:42 +00:00
David Hampton
c0dc99a3a6
Two fixes from Andreas Köhler. One fixes 331183, the problem where
...
editing a top-level account doesn't set the current parent.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13353 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 23:58:16 +00:00
Joshua Sled
81bf512533
Fix "default limit" QOF eventing stuff; thanks Andi.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13352 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 23:10:33 +00:00
Chris Shoemaker
d3fc3ba57e
Mark the QofCollection as dirty when a new QofEntity is added or removed.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13351 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 21:46:07 +00:00
Chris Shoemaker
acb3913e7a
Mark the GNC_LOT QofCollection dirty whenever a Lot changes.
...
This includes when the KVP is changed via the setters.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13350 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 21:44:42 +00:00
Christian Stimming
92f1daaf58
Updated German translation - 3568 out of 3738 done.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13349 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 20:55:48 +00:00
Christian Stimming
4a0bba0f13
Fix typos
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13348 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 20:44:17 +00:00
Chris Shoemaker
e13c1fc160
Avoid qof-dirtying Accounts when Splits or Lots are inserted or removed.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13347 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 20:27:40 +00:00
Christian Stimming
f73eaf6c1b
Updated French translation by Didier Vidal
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13346 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 19:48:19 +00:00
Chris Shoemaker
2d1804e67c
Move the code that (usually) ensures value/amount consistency for Splits
...
from add_random_splits() to get_random_split().
Avoid numeric overflow when creating split values.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13345 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 19:43:00 +00:00
Joshua Sled
756dafc04e
remove dup ChangeLog entry.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13344 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 19:30:41 +00:00
Joshua Sled
95afa5babe
A different approach to ensuring that a (unique) relevent split from the currently-pending transaction is always in the split list before we load it.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13343 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 18:40:32 +00:00
Joshua Sled
0e4ac8952a
slightly better values.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13342 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 15:42:19 +00:00
Joshua Sled
c868ca663f
Fix GNC_EVENT_* values.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13341 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 15:37:12 +00:00
David Hampton
600de300de
Andreas Köhler's patch to prevent a crash in the register date picker
...
widget when using gtk 2.8.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13340 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 05:14:15 +00:00
David Hampton
de8e3a75c4
Disable quote related functionality when F::Q isn't installed.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13339 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 03:44:15 +00:00
Chris Shoemaker
416a64337f
Use glib's slice allocator in favor of GMemChunks for glib >= 2.9.
...
Patch by Andreas Köhler <andi5.py@gmx.net>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13338 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 01:24:03 +00:00
David Hampton
5b3e0a3fff
Catch and defer the quit command if a file save is in progress.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13337 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-21 00:14:00 +00:00
David Hampton
19303357ea
Ignore some files.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13336 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 22:37:48 +00:00