mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix bug in status bar refresh.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3077 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
1cb23bfd36
commit
933025a0db
@ -208,6 +208,7 @@ gnc_ui_get_currency_accumulator(GList **list, const gnc_commodity * currency)
|
||||
return found;
|
||||
}
|
||||
}
|
||||
|
||||
found = g_new0(GNCCurrencyAcc, 1);
|
||||
found->currency = currency;
|
||||
found->assets = 0.0;
|
||||
@ -226,7 +227,8 @@ gnc_ui_get_currency_accumulator(GList **list, const gnc_commodity * currency)
|
||||
* the item into the list. */
|
||||
|
||||
static GNCCurrencyItem *
|
||||
gnc_ui_get_currency_item(GList **list, const gnc_commodity * currency, GtkWidget *holder)
|
||||
gnc_ui_get_currency_item(GList **list, const gnc_commodity * currency,
|
||||
GtkWidget *holder)
|
||||
{
|
||||
GList *current;
|
||||
GNCCurrencyItem *found;
|
||||
@ -363,8 +365,9 @@ gnc_ui_refresh_statusbar (void)
|
||||
"Default Currency",
|
||||
"USD");
|
||||
default_currency = gnc_commodity_table_lookup(gnc_engine_commodities(),
|
||||
default_mnemonic,
|
||||
GNC_COMMODITY_NS_ISO);
|
||||
GNC_COMMODITY_NS_ISO,
|
||||
default_mnemonic);
|
||||
|
||||
euro = gnc_lookup_boolean_option("International",
|
||||
"Enable EURO support",
|
||||
FALSE);
|
||||
|
Loading…
Reference in New Issue
Block a user