Commit Graph

6887 Commits

Author SHA1 Message Date
David Hampton
dc87b03019 Remove some no-longer-used code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9445 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-01 02:29:35 +00:00
David Hampton
35140abf9b Fix a crash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9444 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-01 02:29:07 +00:00
David Hampton
6d9561cbb8 Fix missing functionality.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9443 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-01 02:28:51 +00:00
David Hampton
f203a99d44 Move a menu entry.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9442 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-01 02:28:22 +00:00
David Hampton
e8e39169a9 Intelligently determine the parent window value.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9441 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-01 02:28:07 +00:00
David Hampton
acae32488b Track all installed pages. Don't try to installed a page that is
already present.  Just select the existing page and raise the
appropriate window to the top.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9440 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-01 02:27:48 +00:00
David Hampton
b845df0201 New support for an embedded 'window'. This 'window' can only show a
single plugin page.  Perfect for the embedded registers in the
scheduled transaction dialogs.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9439 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-01 02:27:12 +00:00
David Hampton
c8ec96cdf2 Add code to extract the date terms from a query.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9438 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-01 02:26:47 +00:00
Christian Stimming
c39422f275 Fix CFLAGS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9434 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-29 19:53:32 +00:00
David Hampton
a8ab363691 Remove unnecessary includes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9433 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-29 16:30:38 +00:00
David Hampton
83117b15ac Double clicking an account in the account tree now opens it. Handle
the new gtk2 'popup-menu' signal.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9432 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-29 03:23:13 +00:00
David Hampton
e466949ebc Use the new glib2 methods to create objects.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9431 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-29 03:21:47 +00:00
David Hampton
8a483f0a63 Derive the GncPluginPage widget from a GObject instead of a
GInterface.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9430 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-29 03:21:07 +00:00
David Hampton
3c39fa12ef Derive the GncPluginPage widget from a GObject instead of a
GInterface.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9429 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-29 03:06:33 +00:00
David Hampton
7b31038eb4 Track changes to 'actions' in gtk 2.4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9428 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-27 22:43:33 +00:00
David Hampton
4286472851 Update logs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9400 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-22 02:33:39 +00:00
David Hampton
36a0e89cfe Add a new variable to the plugin pages to hold a pointer to the
enclosing window.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9399 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-22 02:32:16 +00:00
David Hampton
9d930a409d Back port "smart separators" from the gtk 2.4 code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9395 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 22:52:44 +00:00
David Hampton
a24add6fd0 Check that a new account belongs to the account tree being displayed
by this widget.  It may belong in the scheduled transaction account
tree.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9394 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 21:43:18 +00:00
David Hampton
2b9cb58ae0 Eliminate run time errors.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9384 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 02:53:26 +00:00
David Hampton
ad92d2d9f3 Fix up druid for changes in GnomeDruid between gnome1 and gnome2.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9383 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 02:50:08 +00:00
David Hampton
102eaee9d5 Use deprecated routine to prevent this code from crashing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9382 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 02:48:10 +00:00
David Hampton
07ba678798 Don't unregister the event handler twice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9381 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-21 02:47:33 +00:00
David Hampton
ad6efc28d8 Fix gcc 3.3.1 brokenness.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9371 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 20:33:09 +00:00
David Hampton
780689cb78 Longer function names.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9369 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 09:19:58 +00:00
David Hampton
f0b5602bab Add a "new account" icon.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9368 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 09:16:39 +00:00
David Hampton
c1577ea2e6 Recent commit notes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9367 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 03:57:58 +00:00
David Hampton
35510e02ff Destroy account tree page when the corresponding session is closed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9366 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 03:56:54 +00:00
David Hampton
906e439776 Fix reference counting on the filter model.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9365 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 03:50:40 +00:00
David Hampton
c4e7a80851 Start ids with the number one. Allows zero to be used to indicate
that a id is not set.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9364 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 03:46:38 +00:00
David Hampton
5299b12c7a Use the gnome2 help browser.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9362 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 00:25:04 +00:00
David Hampton
7d19286b0d Update to use the gnome2 initialization routine. Migrate functions.
Use the gnome2 file locate functionality.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9361 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 00:20:09 +00:00
David Hampton
e246c1b773 Collapse common code into a function. Use the gnome2 file locate
functionality.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9360 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-20 00:19:02 +00:00
David Hampton
7941a12da0 Add sync date.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9357 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-19 06:24:01 +00:00
David Hampton
a7fee8db10 Sync the g2 branch with the gnome2-merge-3 tag.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9356 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-19 05:58:01 +00:00
David Hampton
c2545efc73 Sync the g2 branch with the gnome2-merge-3 tag.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9355 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-19 05:43:43 +00:00
unknown user
e64913f1c2 This commit was manufactured by cvs2svn to create branch
'gnucash-gnome2-dev'.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9354 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-19 05:43:43 +00:00
David Hampton
d95857289f Sync the g2 branch with the gnome2-merge-3 tag.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9353 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-19 05:34:40 +00:00
David Hampton
e9681152ba Switch to the GTK2.4 UI description language.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9346 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-17 00:02:35 +00:00
David Hampton
edb6f9fcbd Update notes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9309 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-14 05:51:34 +00:00
David Hampton
c49b5f727e Open a new page for search results.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9307 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-14 01:33:25 +00:00
David Hampton
1247a248da Track all open windows. If a caller tries to open a new page but
doesn't specify where, use the first window available (which should be
the initial window).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9306 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-14 01:30:59 +00:00
David Hampton
6753dd1761 Expand the dialog properly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9305 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-14 01:29:40 +00:00
David Hampton
046665fc4a Can now open arbitrary account registers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9302 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-14 00:20:06 +00:00
David Hampton
b276b1d0b6 Always bring a new page to the top of the stack.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9301 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-14 00:18:15 +00:00
David Hampton
039b650fe4 Tweak the plugin page functions for more flexibility.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9300 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-13 20:15:55 +00:00
David Hampton
089a7c59d0 Collapse similar functions into one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9299 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-13 19:54:07 +00:00
David Hampton
16c3cbe3b0 Some gnome_dialog to gtk_dialog updates. Move signal information into
glade.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9275 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-10 04:17:13 +00:00
David Hampton
4020620e7e Put in the right colors. Now if only libglade2 would read them...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9274 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-10 04:07:42 +00:00
David Hampton
047a5872fb Migrate the main business menu from g1 style to g2 style.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9257 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-07 23:40:46 +00:00