This job is done by gnc_plugin_page_register_finish_pending().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17170 57a11ea4-9604-0410-9ed3-97b8803252fd
The account, category, and memo matching pages have been redesigned to better comply with the HIG:
1. The labels that told (sometimes incorrectly) which page comes next are gone.
2. The lists now offer a mnemonic for keyboard navigation.
3. A count of selected matches is now indicated by a label.
4. A "Change" button has been added as a more obvious alternative to double-clicking.
On the currency page
1. The label that told (sometimes incorrectly) which page comes next is gone.
2. The remaining labels have been simplified.
3. A mnemonic is now offered for keyboard navigation.
Finally, some function names have been adjusted for consistency.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17162 57a11ea4-9604-0410-9ed3-97b8803252fd
Otherwise "make clean" will put the code into a state where you cannot rebuild.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17159 57a11ea4-9604-0410-9ed3-97b8803252fd
1. The tree now automatically expands to show the currently selected account.
2. The new account dialog's OK button is now activated by the Enter key.
3. Focus returns to the account tree when the new account dialog is closed.
4. Creation of empty account names is prevented.
Finally, a memory leak has been fixed and many new comments have been added.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17157 57a11ea4-9604-0410-9ed3-97b8803252fd
account mapping pages. Also includes many whitespace adjustments.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17156 57a11ea4-9604-0410-9ed3-97b8803252fd
Types of new accounts cannot conflict with types of anchor accounts of
open registers, as no register can have accessed it yet. On the
contrary, killing the general ledger that is used to input a new account
is contraproductive.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17153 57a11ea4-9604-0410-9ed3-97b8803252fd
user when defining new securities. New namespaces become available for
selection in all security pages. Also includes fixes for several memory leaks
and mismatched type definitions.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17150 57a11ea4-9604-0410-9ed3-97b8803252fd
gnc_xfer_dialog_quickfill() messed up debit and credit. When the "from
account" (left in normal mode, right/credit when using formal accounting
terms) was chosen as basis for the quickfill and a match was found, the
remote account should be selected on the "to account" side.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17149 57a11ea4-9604-0410-9ed3-97b8803252fd
Don't output/printf a NULL string. Windows doesn't like it.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17146 57a11ea4-9604-0410-9ed3-97b8803252fd
This patch from David Reiser reverts r16475, but by using
pango_layout_set_ellipsize() center or right aligned texts are printed
correctly and the first line is stilled showed instead of the last one.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17127 57a11ea4-9604-0410-9ed3-97b8803252fd
For the scalable icon, use art/tango/scalable/gnucash.svg instead of
art/icon.svgz.
art/tango/22x22/gnucash.png is actually of size 24², so rename it to
gnucash-24x24.png and create gnucash-22x22.png by removing the
transparent 1px border. Install those icons into
${datadir}/icons/hicolor/${size}/apps so that apps like gnome-panel do
not scale down the .svg instead.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17126 57a11ea4-9604-0410-9ed3-97b8803252fd
when determining a default namespace for new commodities. Previously saved
security mappings for the same symbol are also considered, if available.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17090 57a11ea4-9604-0410-9ed3-97b8803252fd
commodities that have been created as part of the import process. In addition,
any new accounts, splits, and transactions are explicitly destroyed to avoid
leaking memory and potentially leaving splits in an Imbalance account. Also
includes some improvements to the QIF file format documentation.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17088 57a11ea4-9604-0410-9ed3-97b8803252fd
of a naughty thunk. Add warnings to doxygen documentation for all Account.h
functions with TransactionCallback parameters.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17087 57a11ea4-9604-0410-9ed3-97b8803252fd
Quicken 4. Also support 12'345,67 for completeness. Added documentation for
this format, along with investment 'N' lines. Added two new string manipulation
utility procedures for simplification. Mild whitespace and readability cleanup.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17086 57a11ea4-9604-0410-9ed3-97b8803252fd
namespace & mnemonic that matches an existing commodity, the existing commodity
will be used. Added some support for destroying the commodity pages. Some
readability, comment and whitespace improvements thrown in too.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17085 57a11ea4-9604-0410-9ed3-97b8803252fd
If info->traverse_to_new is true, use CURSOR_CLASS_SPLIT as find_class
to avoid focussing the transaction.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17078 57a11ea4-9604-0410-9ed3-97b8803252fd
When entering a split transaction, the account of the top-most split is
set to the register's anchor account, even if the user chose something
different. Avoid this by checking a flag first which signals whether
the split has been modified.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17077 57a11ea4-9604-0410-9ed3-97b8803252fd
addition, use of the misleading term "stock" has been replaced by "security"
throughout the C code. Also includes a small fix to prevent passing a null
pointer to xaccAccountGetType(), which caused some critical warnings to be
logged. Some comment and whitespace cleanup as well.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17074 57a11ea4-9604-0410-9ed3-97b8803252fd
these functions out of the GConf section and fix the broken documentation of
gnc_utf8_validate(), which doesn't appear to have been written for doxygen.
Requesting backport because a significant percentage of lines have changed.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17064 57a11ea4-9604-0410-9ed3-97b8803252fd
the importer now first attempts to convert it to UTF-8 according to the locale.
If this fails, the offending bytes will be removed from the string as usual.
In addition, the user will now be informed of either of these actions via a
pop-up warning in the GUI. Each occurrence will also be logged.
This changeset also exposes the previously static GnuCash-specific UTF-8
validation C function, gnc_utf8_validate(), and creates a corresponding
Scheme predicate named "gnc-utf8?" for validating strings in this manner.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17063 57a11ea4-9604-0410-9ed3-97b8803252fd
path fails. Adds supports for use of non-ASCII filenames under Win32.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17062 57a11ea4-9604-0410-9ed3-97b8803252fd
Allow cancelling the window by pressing ESC. Always let the user
confirm the cancel on changes, even when closing the window with the
window manager.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17061 57a11ea4-9604-0410-9ed3-97b8803252fd
When entering interest charges, the left account tree is grayed out and
a selection-changed signal with empty selection fired. Do not process
that NULL account.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17060 57a11ea4-9604-0410-9ed3-97b8803252fd