Make the function return a non-const value and make it the
responsibility of the caller to free that. This is necessary because
not all possible types of input support a getter of an internal and
managed string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17037 57a11ea4-9604-0410-9ed3-97b8803252fd
String results are always newly allocated and should be freed.
Similarly, GObjects should be unreffed, but I have not found such a
case.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17036 57a11ea4-9604-0410-9ed3-97b8803252fd
if the user goes back to the currency page. Create additional commodity pages
if the user goes back and loads additional QIF files with new securities.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17035 57a11ea4-9604-0410-9ed3-97b8803252fd
proper Gnome functions. These are g_warning and g_critical for C, and gnc:warn
for Scheme.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17032 57a11ea4-9604-0410-9ed3-97b8803252fd
occur during conversion of QIF data into GnuCash data. If an exception occurs,
the druid now displays a cancellation page instead of a pop up message. In
addition to avoiding taking the user to an empty duplicate checking window,
the new page could, in the future, be extended to show multiple, specific
warning and error messages instead of the current, generic one.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17031 57a11ea4-9604-0410-9ed3-97b8803252fd
mapping file so that changing the separator won't break future QIF imports.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17030 57a11ea4-9604-0410-9ed3-97b8803252fd
gtk_widget_show_all() is called on that widget in the only accessing
function anyway.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17028 57a11ea4-9604-0410-9ed3-97b8803252fd
Prior to this change _remove() was implemented as _purge() followed by a
complete refill.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17027 57a11ea4-9604-0410-9ed3-97b8803252fd
Should ease finding specific reports when reports and placeholders are
not mixed together anymore.
Previously all elements were sorted lexicographically, where the
submenus already contained accelerators. As LANG=C and LANG=en_US.utf8
handle underscores differently, even those results were not the same.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17024 57a11ea4-9604-0410-9ed3-97b8803252fd
page preference in gconf. Use existing #define for gconf section and add one
for name. This is an update to r16976.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17018 57a11ea4-9604-0410-9ed3-97b8803252fd
Do not demand ChangeLog entries as they are created automagically.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17016 57a11ea4-9604-0410-9ed3-97b8803252fd
Work on utf8 characters instead of bytes. g_date_strftime() and
gnc_dow_abbrev() can grok full buffer sizes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17006 57a11ea4-9604-0410-9ed3-97b8803252fd
Prepend terms and reverse once at the end instead of "reverse, prepend,
reverse" for each term.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17001 57a11ea4-9604-0410-9ed3-97b8803252fd
Overrides the default search function on register plugin pages and call
gnc_ui_find_transactions_dialog_create() with the current legder display
as parameter. This also enables refinements of existing transaction
search results.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17000 57a11ea4-9604-0410-9ed3-97b8803252fd
Give additional space to the sx list instead of the calendar. Also save
the page's pane divisor position and restore it when reopening the data
file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16999 57a11ea4-9604-0410-9ed3-97b8803252fd
gnc:query-set-match-{,non-}voids-only! assigned the result of a query
merge to a locally bound variable instead of returning it somehow. So
use qof-query-merge-in-place instead and add a few missing
qof-query-destroys as well.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16995 57a11ea4-9604-0410-9ed3-97b8803252fd
Even if registers, reports or invoice pages have been configured to open
in new windows they should not do so when restored at the startup of
gnucash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16965 57a11ea4-9604-0410-9ed3-97b8803252fd
commodities doc page are not shown going backwards if they were not shown
going forwards.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16962 57a11ea4-9604-0410-9ed3-97b8803252fd
This merges r16679 from 2.2 branch. The translation itself is
already outdated, but this commit is merged anyway so that
the addition of this new translation isn't forgotten in the
future when trunk becomes the next stable branch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16961 57a11ea4-9604-0410-9ed3-97b8803252fd
if a Scheme error should occur while reading a QIF file (similar to bug
#516178). Also includes many whitespace and comment improvements.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16955 57a11ea4-9604-0410-9ed3-97b8803252fd
dialog if a Scheme error should occur during conversion.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16954 57a11ea4-9604-0410-9ed3-97b8803252fd
contain only a debit/credit pair so that they have a chance of match existing
transactions with more than two splits.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16953 57a11ea4-9604-0410-9ed3-97b8803252fd