Commit Graph

6849 Commits

Author SHA1 Message Date
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
David Hampton
ca551dd09a Make the plugin widget destructor function optional.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9256 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-07 23:38:13 +00:00
David Hampton
36f4054f8a Added references
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9255 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-07 23:37:27 +00:00
David Hampton
3ffaa71eb8 Notes on what needs to be done.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9254 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-07 23:37:07 +00:00
David Hampton
d15fd3a48d First draft.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9250 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 21:49:21 +00:00
David Hampton
0ac2c1f9a8 Correctly clean up when closing a register. The register/window
mapping is no longer 1-1.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9243 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-09-06 10:40:36 +00:00
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