Commit Graph

6832 Commits

Author SHA1 Message Date
David Hampton
cfa09f61a2 Add another function to the plugin interface for deleting the ui
widget.  Allows the page to destroy/release anything it needs to.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9242 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 10:39:09 +00:00
David Hampton
0c37526d47 Get this working for both the case where it is run as a modal dialog
(e.g. reconcile) and the case where it is thrown up on the screen and
forgotten (e.g. transfer).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9241 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 10:37:00 +00:00
David Hampton
d99b6484ae Convert to the new gtktreeview based account tree code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9240 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 07:21:25 +00:00
David Hampton
6b8fd653a7 Rework/clean the code. Add features needed by the code that embeds a
gnc-tree-view-account into a window.  I.E. Filters, pseudo top-level
account, etc.  Add documentation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9239 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 07:17:49 +00:00
David Hampton
bbdc0d21ce Add back menu sensitivity bases on whether an account is selected.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9238 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 07:16:56 +00:00
David Hampton
5acd706be9 Convert from gtk_object style object initialization to g_object style
initialization.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9237 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 07:16:22 +00:00
David Hampton
6e88813550 Convert from a GnomeDialog to a GtkDialog. Convert from gtk_object
style object initialization to g_object style initialization.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9236 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 07:15:43 +00:00
David Hampton
69a64adfc0 Add ADD/REMOVE events for updating the account tree model.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9235 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 07:12:25 +00:00
David Hampton
d42a91e1ec Remove conditional g1/g2 compilation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9234 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 07:10:55 +00:00
David Hampton
480d2b8c90 Convert from pthreads to glib2 threads.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9233 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 07:09:32 +00:00
David Hampton
63bf8dff14 Couple of bug fixes related to using a virtual root.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9232 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 07:08:35 +00:00
David Hampton
84a1db4fa8 Add GPL boilerplate with Jan's approval.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9221 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-03 00:17:06 +00:00
David Hampton
64ece2537b Add back missing declaration.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9219 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-02 16:42:22 +00:00
David Hampton
239aee77b2 /tmp/cvstVO9bC
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9214 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-02 05:27:27 +00:00
David Hampton
44dc55a786 Document this weeks changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9163 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-24 05:51:12 +00:00
David Hampton
45f0153fdd Use the new account tree view widget.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9162 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-24 05:50:04 +00:00
David Hampton
a6940481fb Flesh out the model to include all the necessary columns. Make it
look like the original account tree.  Add a new view to contain the
common code for all users of the gnc-tree-model-account.c file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9161 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-24 05:47:17 +00:00
David Hampton
9c0972e66a Make the options dialog work. Add more features back.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9160 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-24 05:45:17 +00:00
David Hampton
15884462f4 Correct the druid colors and watermarks for gnome2.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9159 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-24 05:44:54 +00:00
David Hampton
361384dfde Use the new account tree view widget.src/gnome/druid-stock-split.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9158 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-24 05:44:41 +00:00
David Hampton
d79f665bc5 Make the stylesheets dialog look like a standard gnome2 dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9157 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-24 05:43:42 +00:00
David Hampton
d9a816a938 New file to create structure of an options dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9156 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-24 05:43:14 +00:00
David Hampton
66458ce2a0 Collapse common option dialog handling. Tweak args to option dialog
creation. Use g_signal_connect to set up signal handlers.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9155 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-24 05:42:56 +00:00
David Hampton
5ea9106d33 Tweak next version number.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9151 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-24 01:41:44 +00:00
David Hampton
f1f8cc934a Make a couple of functions public.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9150 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-24 01:40:31 +00:00
David Hampton
e4241283fe Add back detailed compile time checks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9121 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-19 05:07:27 +00:00
David Hampton
cb8ba021dc Fix various compile time warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9120 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-19 05:02:25 +00:00
David Hampton
d77028a095 Add back detailed compile time checks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9119 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-19 04:57:39 +00:00
David Hampton
50b8761eff Fix some run time warnings. Tweak the pango layout code so all the
register bits are visible.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9089 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-16 05:43:21 +00:00
David Hampton
9880387aff Need the casts to G_OBJECT. Put them back.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9088 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-16 05:40:54 +00:00
David Hampton
7db8f784b8 Add short labels for the toolbar actions. Do more register
initialization.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9087 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-16 05:40:14 +00:00
David Hampton
3e84f7d016 Prevent a crash if there's no callback attached to a register. This
case should only occur during the g2 transition.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9086 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-16 05:39:21 +00:00
David Hampton
29a404ecd7 First pass at converting to Gnome 2 HIG for button order. Convert
gnome1 dialogs to gtk2 dialogs. Set the function to activate the
default button the gnome2 way (was editable_enters).  Remove some code
not needed in gnome2 widget setup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9058 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-11 07:09:43 +00:00
David Hampton
2a7b1cc130 Tear down the splash screen before presenting an error. Use new
gnome2 button order.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9057 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-11 06:52:17 +00:00
David Hampton
ed4dbf7a41 Enhance the commodity selection dialog. Now does the right thing when
commodities are added or deleted.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9056 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-11 06:47:08 +00:00
David Hampton
189538ef4c Fix various problems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9055 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-11 06:43:14 +00:00
David Hampton
6ce2d3bb7c Move the splash screen code to another directory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9054 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-11 05:42:31 +00:00
unknown user
077b3efb43 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@9053 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-11 05:42:31 +00:00
David Hampton
1c8005c4a6 Pass a parent window pointer to the stock druid creation routines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9045 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-11 00:38:17 +00:00
David Hampton
7d5e4aa62c Remove some debugging messages.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9042 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 23:40:24 +00:00
David Hampton
1934c294be Fix popup menus, and switching a proxy between actions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9039 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-10 21:58:25 +00:00
David Hampton
95bd532c9e Update to latest libegg code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9016 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 23:03:39 +00:00
David Hampton
2d81b9d58f Fix a couple of warning messages.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9004 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 04:57:00 +00:00
David Hampton
b7dfa41c93 Run all glade files through glade2 to correct syntax and formatting to
match.  The output of the g1->g2 conversion tool isn't quite what
glade2 itself outputs.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9003 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 03:06:14 +00:00
David Hampton
a21c4721ee Make autoheader stop complaining.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9002 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 02:34:18 +00:00
David Hampton
81c063a5fa Ignore project files generated by glade2.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9001 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 02:10:46 +00:00
David Hampton
c2b2ee6409 Remove unneeded run time type conversion.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9000 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 02:04:57 +00:00
David Hampton
d369374c1a Conform to change in g2 merge 2.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@8998 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 01:45:19 +00:00
David Hampton
39cda37792 Convert to glade2 format.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@8997 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-09 00:15:33 +00:00
David Hampton
4b8810384d Sync the g2 branch with the gnome2-merge-2 tag.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@8996 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-08-08 23:30:41 +00:00