Commit Graph

5629 Commits

Author SHA1 Message Date
David Hampton
413b02d77a Promote the commodity namespace to a externally visible opaque object.
Make commodities and namespaces Qof Instances.  Add more events
related to commodities and namespaces.  Require the book when creating
a new commodity.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9704 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-29 03:00:35 +00:00
David Hampton
94dd83e690 Update to provide the book when creating a new commodity.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9703 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-29 02:58:45 +00:00
David Hampton
6beced73b1 Clarify variable names in data strutures.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9702 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-29 00:08:20 +00:00
David Hampton
424c3e12d0 Convert some destroy functions to finalize functions. Destroy can be
called multiple times in gtk2.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9666 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-08 20:38:42 +00:00
David Hampton
ea74240ca7 Clean up after the main preferences dialog is closed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9665 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-08 20:36:54 +00:00
David Hampton
083d7cc6e0 Don't access the account tree model directly. Use the view functions
no new functionality can easily be added to the view.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9664 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-08 20:36:27 +00:00
David Hampton
7596164454 Protect the generate_event function from a handler unregistering
itself during a callback.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9663 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-08 20:36:01 +00:00
David Hampton
d2febdbcea Remove a debugging printf.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9662 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-08 20:34:03 +00:00
David Hampton
c23017ef47 Give immediate feedback when the user clicks on the quit button.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9661 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-08 20:29:11 +00:00
David Hampton
db0775050b Remove unnecessary includes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9660 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-01 22:41:39 +00:00
David Hampton
d671ee581d Collapse knowledge of the account tree model layering into one place.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9659 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-01 22:40:37 +00:00
David Hampton
44857b6897 Forgot to NULL terminate argument list.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9658 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-11-01 07:54:43 +00:00
David Hampton
04de1826b9 Fix another crash caused by qof changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9655 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-27 00:23:29 +00:00
David Hampton
26203fabcd Add the "Close Books" menu item.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9653 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-26 21:50:21 +00:00
David Hampton
8b9483c355 Get "Tax Options" working in the g2 port.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9652 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-26 21:49:49 +00:00
David Hampton
ca671b6cbd Start the "double line" menu item in the correct state.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9651 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-26 21:49:32 +00:00
David Hampton
54dfe1a4ef Simplify the way filters are applied to an account tree view.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9650 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-26 21:49:20 +00:00
David Hampton
da5a070d06 Fix a couple crashes. Remove debugging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9649 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-26 04:13:26 +00:00
David Hampton
d21bc31d4e Flush the tree when a visibility filter is applied. Prevents unwanted
nodes from appearing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9648 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-26 04:11:19 +00:00
David Hampton
afe0869516 Get all the import functions working in the G2 port.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9646 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-26 00:06:47 +00:00
David Hampton
08e7986e24 Function to add a new column to an account tree to display kvp data.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9645 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-26 00:01:56 +00:00
David Hampton
7a8788685e The GNC_RESPONSE_xxx names should match the GNC_STOCK_xxx names.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9644 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-25 23:55:56 +00:00
David Hampton
a56b9e3106 Register our icons as stock icons.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9643 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-25 23:52:21 +00:00
David Hampton
ff6aaad61e Fix problems with the modal form of the edit account dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9642 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-25 17:26:54 +00:00
David Hampton
ab053b2149 Sync the g2 branch with the gnome2-merge-4 tag. (2003-10-24)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9639 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-25 06:48:33 +00:00
David Hampton
f18e02a4c6 Sync the g2 branch with the gnome2-merge-4 tag. (2003-10-24)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9638 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-25 06:37:33 +00:00
David Hampton
2a3538b67b Sync the g2 branch with the gnome2-merge-4 tag. (2003-10-24)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9637 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-25 06:04:01 +00:00
David Hampton
a44cf351c0 Don't force full debugging to the on state.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9626 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-24 06:04:42 +00:00
David Hampton
8851b73be4 Minor tweak.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9625 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-24 06:00:29 +00:00
David Hampton
ca5f0eaca5 Add some debugging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9624 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-24 05:59:10 +00:00
David Hampton
08d6c1625b Send an event when two accounts are merged.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9623 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-24 05:56:57 +00:00
David Hampton
9b0ef5527e Migrate the File-
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9608 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-21 05:47:14 +00:00
David Hampton
6b07dbffb2 Bug fixes related to use of GtkTextView widget.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9607 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-21 05:46:25 +00:00
David Hampton
837b59d17c gtk_text_buffer_get_text() returns an allocated string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9604 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-21 04:41:31 +00:00
David Hampton
9a89ed9119 gnc_file_dialog() no longer returns a const value.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9603 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-21 04:05:29 +00:00
David Hampton
94439c1d80 Rewrite using the new gtk_dialog_run function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9602 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-21 04:00:51 +00:00
David Hampton
ac6666b2a8 Remove redundant function declarations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9601 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-21 03:59:43 +00:00
David Hampton
c362363f1d Fix the code for creating a new window and moving the current notebook
tab to it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9600 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-21 03:51:40 +00:00
David Hampton
7e601f9413 Add the 'log replay' menu item.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9591 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 06:15:00 +00:00
David Hampton
561af0e147 Configure time option to dump reference counts when gnucash exits.
Minor cleanups.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9590 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 06:12:53 +00:00
David Hampton
f2ab3438b4 Remove some unused functions/files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9588 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 03:35:58 +00:00
David Hampton
1d373216d3 New files for installing menus using the new plugin system.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9587 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 03:03:22 +00:00
David Hampton
d945661d67 Install menus using the new plugin system. Cleanup some gnome2
errors.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9586 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 03:02:09 +00:00
David Hampton
331371d4ab Add a new function for accessing the name of a plugin page.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9585 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 02:59:29 +00:00
David Hampton
bb373a56ed Add several signals. Collapse common functions into a single
location.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9584 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 02:59:14 +00:00
David Hampton
8cbc46a4bf Add a new module for HBCI.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9583 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-20 02:56:05 +00:00
David Hampton
5aa83df832 Overhaul the hierarchy druid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9575 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-19 07:31:42 +00:00
David Hampton
190c726dce Add support for the "placeholder" column.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9574 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-19 07:29:35 +00:00
David Hampton
cddd6b4d0a Iters are persistent.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9573 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-19 07:28:46 +00:00
David Hampton
6ce051b038 Bug fixes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9572 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-19 07:28:20 +00:00