Commit Graph

9081 Commits

Author SHA1 Message Date
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
Neil Williams
8bf6b9769a moderating the deprecated handler log entry
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13335 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 22:29:23 +00:00
David Hampton
3bf8d37212 Update spec file from RH8 to FC4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13334 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 22:02:37 +00:00
David Hampton
b575dc47af Compile cleanly with when _FORTIFY_SOURCE is defined. This definition
is forced when building RPMs on FC4.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13333 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 22:00:38 +00:00
Derek Atkins
b5713ba30c * configure.in: fix the qof configure test for OSX.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13332 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 21:45:11 +00:00
David Hampton
cc44d065bb Don't reference uninitialized memory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13331 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 21:06:32 +00:00
Chris Shoemaker
6a6b7c5776 Add a local copy of GtkTreeModelSort from gtk 2.8.12. Our local copy is
called GncTreeModelSort.  This newer version of GtkTreeModelSort fixes at 
   least one observed bug with our use of sorted models.  The 
   gtktreedatalist.[ch] files are used by GtkTreeModelSort and are directly 
   from gtk 2.8.12 without any renames because they aren't exported by gtk.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13330 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 20:47:01 +00:00
Chris Shoemaker
3c72393369 Explictly require gtk2.6 for conditionally compiled code that needs it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13329 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 20:22:24 +00:00
Chris Shoemaker
0b46642d65 Factor out a compat definition of GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID
into gtk-compat.h.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13328 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 20:09:02 +00:00
Neil Williams
78f38c6ebd ChangeLog entries
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13327 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 19:55:36 +00:00
Neil Williams
7e890a2ed3 prepare for QOF 0.6.2 release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13326 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 19:55:16 +00:00
Neil Williams
625a4cd05e replacing gnc-event with qofevent
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13325 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 19:54:03 +00:00
David Hampton
59a62d13ed Use a spin_box instead of an entry for the 'occurrences' and
'remaining' numeric fields.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13324 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 19:50:42 +00:00
David Hampton
133bb8957c HIGify the scheduled transaction dialogs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13323 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 19:40:24 +00:00
Neil Williams
2a6f832ded removing more unneeded headers with move pending
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13322 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 19:09:46 +00:00
Neil Williams
1c6a7b6eb2 remove unnecessary (and soon to be moved) header file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13321 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 18:49:46 +00:00
David Hampton
22b8646b43 Remove forced screen updates that are no longer necessary.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13320 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 16:11:06 +00:00
David Hampton
d1560a106c If the number of "visible to the user" lines in the register has
shrunk, force the parent widget to redraw.  This fixes #328787.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13319 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 16:02:06 +00:00
Derek Atkins
e4bca4ad0b Allow nested begin/commit in xaccTransSetTxnType(). Fixes #331771.
The old code wouldn't let you set the value if you were already
	  within a BeginEdit/CommitEdit block.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13316 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 04:40:06 +00:00
Chris Lyttle
0fdea46ecd update to release 1.9.1
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13314 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 03:16:26 +00:00
Chris Shoemaker
ceebdbd6c7 Fix for 'use of uninitialized' warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13313 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 02:58:29 +00:00
David Hampton
27d5ac3cf2 Take the selection into account when handling the keypad decimal point
key.  Fixes 314775.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13312 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 02:16:50 +00:00
David Hampton
4e402ce74e Remove unused debug code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13311 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 00:02:01 +00:00
David Hampton
f895d7e10f When looking for an matching account name, start at the beginning of
the selected region, not the end.  Problem created when the code
stopped adding placeholder accounts to the quickfill.  Fixes 328893.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13310 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 00:01:18 +00:00
Derek Atkins
9606f87741 Phil Longstaff's patch to make the GUID length a magic number.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13309 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 23:41:53 +00:00
Neil Williams
e609f9915a ChangeLog for reference and recursive QOF changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13308 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 22:55:36 +00:00
Neil Williams
7a4935e7e7 updated test routine for new recursive code in libqof
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13307 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 22:55:11 +00:00
Neil Williams
fd4960d0cf Improved reference handling for recursive copying of entities - relocate disparate functions to a single new file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13306 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 22:54:39 +00:00