Commit Graph

151 Commits

Author SHA1 Message Date
David Hampton
bab3c95b0e Restore long lost functionality to customize the accelerator keys on
menu items.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12026 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-23 23:28:44 +00:00
David Hampton
db2bed0e58 Include file cleanup. Remove the messages.[ch] files in favor of the
glib supplied gi18n.h file.  Replace includes of gnome.h with gtk.h
(or better yet glib.h) wherever possible.  Don't include gnome.h from
any header files.  Remove some extraneous includes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11981 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-19 23:53:34 +00:00
David Hampton
0b8a944f30 Update FSF street address.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11964 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-17 05:35:02 +00:00
David Hampton
f28d033d74 Collapse the gnome2 branch back into HEAD.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11565 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 03:32:36 +00:00
Linas Vepstas
fcbedb6883 Add entity type to HTML reports. Remove xaccGUIDType usage.
The xaccGUID usage was totally broken, clicking on report links
probably used to core dump; broken report links should now be fixed.

(This change probably conflicts with a jsled change to gnome2;
jsled, since this is the "more correct" long-term change as discussed,
please reert teh other changes.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10015 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 20:10:49 +00:00
David Hampton
bfe58de193 Move function declarations to the right header file. Document them as
well.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9629 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-10-24 06:49:56 +00:00
Linas Vepstas
2cb678b568 move to qof
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8764 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 02:53:07 +00:00
Linas Vepstas
11b6d2b625 rename date.h to gnc-date.h, make sure new book file is included
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8558 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 19:35:55 +00:00
Derek Atkins
a58203a43a * src/app-utils/app-utils/scm: export new dateformat option symbols
* src/app-utils/option-util.[ch]: create dateformat option utility functions
	* src/app-utils/options.scm: create a dateformat option
	* src/engine/date.[ch]: create APIs to handle date-format types.
	  - conversions of date-format to/from strings
	  - move the month format enum to here
	  - conversion of month format to/from strings
	* src/gnome/top-level.c: move date-format string conversion from here
	* src/gnome-utils/dialog-options.c: implement a date-format options
	  that uses the gnc-date-format widget.
	* src/gnome-utils/gnc-date-format.h: remove month format (to date.h)
	Initial fix for #99574


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8496 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 03:42:52 +00:00
Derek Atkins
7572f487b0 * src/app-utils/gnc-ui-util.c:
* src/gnome/top-level.c:
	  the Account Separator option was moved to the Accounts page --
	  reference is correctly.
	Fixes #106673


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8072 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-03-13 04:51:24 +00:00
David Hampton
d154e92e71 Initial port from the deprecated (in 1.6) guile gh_xxx interface to
the supported scm_xxx interface.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8013 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-22 08:15:53 +00:00
David Hampton
fe62ac23e9 Implement file compression.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7773 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 02:03:50 +00:00
Joshua Sled
d4f97ce2d9 2002-11-15 Joshua Sled <jsled@asynchronous.org>
* src/gnome/window-register.c (gnc_register_delete_cb): Change the
	order of window deletion to not cause a crash.

	* src/gnome/window-register.c (regWindowSimple),
	(regWindowAccGroup): Only return the GNCSplitReg, not the whole
	regData.  Fixes a bunch of existing and potential crashes.

	* src/gnome/window-main.c (gnc_main_window_gl_cb):
	* src/gnome/window-acct-tree.c
	(gnc_acct_tree_window_toolbar_open_cb)
	(gnc_acct_tree_window_menu_open_subs_cb)
	(gnc_acct_tree_window_menu_open_cb)
	(gnc_acct_tree_window_activate_cb):
	* src/gnome/top-level.c (gnc_html_register_url_cb):
	Modify to not necessarily expect a RegWindow for creation of a
	ledger view.  Fixes a bunch of existing and potential crashes.

	* src/gnome/gnc-split-reg.c (gnc_split_reg_delete_cb): Removed;
	dead.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7484 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-15 08:26:43 +00:00
David Hampton
c9de06c292 Finish moving preferences to an "Advanced" panel. References to these
preferences also need to be changed to reference the new panel name.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7454 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-08 01:39:58 +00:00
David Hampton
755714e349 Disable the gnucash network code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7413 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-28 08:50:04 +00:00
David Hampton
d15de598e8 Add a Quit option to the "File Locked" message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7241 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-26 03:33:31 +00:00
David Hampton
55f2f43fcd Add a progress bar to main window. Use this progress bar to show the
progress of read, write and export functions.  Internally this adds a
callback pointer for the various backends to pass a percentage done
number out to the session code.  It also adds a callback pointer for
the session code to pass this percentage on out to the routine that
initiated the file read/write.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7225 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-17 07:47:15 +00:00
David Hampton
86dd93bfe8 Don't crash on a missing fonts. Exit cleanly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7213 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-14 23:27:39 +00:00
Derek Atkins
6af0be408b hampton's patch to:
Refactor the startup to display the splash screen faster (bug #92192)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7209 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-14 18:10:42 +00:00
David Hampton
0dbbb49551 Split stock price editor into two dialogs; a price-db editor and a
single price editor.  Portfolio report now has hyperlinks to open the
editor for a single stock price.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6829 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 03:36:11 +00:00
David Hampton
66b89538ab Add support for pruning old 'xac' and 'log' files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6824 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-04 05:54:14 +00:00
David Hampton
b820a5006c Default date format to the users locale. Date widgets now accept a
single number as the day, or two numbers as day and month (ordered
according to the users date preference).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6822 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-27 21:43:25 +00:00
Rob Browning
e1ef7bf912 * src/gnome/top-level.c: g-wrap-runtime-guile.h -> g-wrap-wct.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6582 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-09 21:51:25 +00:00
Dave Peticolas
ea689586de * src/gnome/top-level.h: update for api changes
* src/gnome/top-level.c: remove some gnome initialization &
shutdown. change ui init api.

* src/gnome/gw-gnc-spec.scm: update for api changes

* src/gnome/argv-list-converters.h: remove

* src/gnome/argv-list-converters.c: remove

* src/gnome/Makefile.am: remove argv-list-converters.[ch]

* src/gnome/top-level.c: take out component manager initialization
and shutdown


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6408 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-21 07:43:12 +00:00
Dave Peticolas
cdb59aa5db * src/gnome/top-level.c: take out component manager initialization
and shutdown


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6402 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 11:03:55 +00:00
Dave Peticolas
92f01055e1 Fix compiler warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6275 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-08 01:44:58 +00:00
Derek Atkins
a925e5bd59 Abstract RecnCell to allow multiple "choice" types.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6138 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-29 03:00:06 +00:00
Rob Browning
3ba14ac374 * src/gnome/top-level.c: remove gnucash.h include.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6100 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-28 22:29:26 +00:00
Derek Atkins
788d998d6b convert GNCIdType from an enum to a char*
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6035 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-25 02:20:34 +00:00
Dave Peticolas
860adf103c Move entity tables from sessions to books.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6018 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-24 12:10:42 +00:00
Rob Browning
3a71b5fade * src/gnome/top-level.c: remove spurious dialog-account.h include.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5878 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-16 20:37:59 +00:00
Bill Gribble
fa01ecba8b Even less cheesy fix for compile problem
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5864 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-14 13:56:35 +00:00
Dave Peticolas
d37d5d1e04 Move mdi g-wrapping into gnome-utils module.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5720 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-25 00:09:04 +00:00
Rob Browning
41a5c74c29 * src/gnome/top-level.c
(gnc_get_remaining_argv): coerce away guile 1.3.4 warning.
(gnc_set_remaining_argv): coerce away guile 1.3.4 warning.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5545 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-10 23:28:21 +00:00
Dave Peticolas
ba19fb2327 Work on moving entity tables into sessions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5482 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-09 22:27:58 +00:00
Dave Peticolas
d384066697 Work on moving entity tables into sessions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5473 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-08 22:48:37 +00:00
Dave Peticolas
b8d2150e4b Work on moving entity table into sessions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5472 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-08 07:14:58 +00:00
Dave Peticolas
2408e0f983 Work on moving entity tables into sessions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5468 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-06 08:12:55 +00:00
Dave Peticolas
aeff5c25de Add GNCSession object. Refactor session code from GNCBook to GNCSession.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5455 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-02 09:10:35 +00:00
Dave Peticolas
22203d9bad Unregister components when they are destroyed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5431 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-26 08:32:29 +00:00
Dave Peticolas
3dbb1df403 Move more mdi code into gnome-utils.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5425 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-25 10:06:33 +00:00
Dave Peticolas
e222f9e9c3 Refactor some mdi code into gnome-utils module.
Remove __ prefix from header guards.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5424 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-24 22:58:43 +00:00
Dave Peticolas
245b2894b4 Move options dialog to gnome-utils module.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5422 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-24 08:03:42 +00:00
Dave Peticolas
630ccc2a2e Module cleanups.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5420 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-24 07:22:02 +00:00
Dave Peticolas
0526bc3daa Wrap app-file functions in that module.
Get rid of gnc:timepair-to-datestring and just use gnc:print-date instead.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5405 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-21 20:02:55 +00:00
Dave Peticolas
85e41282fe Add a new book hook and call the hierarchy druid from there.
Remove some startup cruft.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5404 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-21 11:46:50 +00:00
Dave Peticolas
0a8c78bcc1 Move preferences and configuration variables into app-utils modules.
Much module refactoring & cleanup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5391 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-20 09:18:50 +00:00
Dave Peticolas
06d2d6158e Move application file code into app-file module.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5389 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-20 02:38:15 +00:00
Dave Peticolas
92d699e074 Refactor gncGetCurrentGroup dependencies.
Add .desktop.in and .keys.in files to
potfiles search.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5382 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-18 07:26:42 +00:00
Dave Peticolas
e18ba9e1b6 2001-09-13 Dave Peticolas <dave@krondo.com>
* src/guile/gw-gnc-spec.scm: remove some unused wrappings

	* src/gnome-utils/Makefile.am: enable test dir

	* src/gnome-utils/dialog-commodity.c: refactor help handler

	* src/gnome-utils/gnc-account-tree.c: refactor account group handler

	* src/gnome-utils/gnc-html.c: refactor help url handler

	* src/gnome/glade/commodity.glade: name help button

	* src/gnome/top-level.c: add in new handlers

	* src/gnome/window-main.c: remove toplevel api


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5371 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-09-14 07:01:40 +00:00