mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
2003-02-16 Herbert Thoma <herbie@hthoma.de>
* src/gnome/gnc-split-reg.c: only display an euro amount in the status bar of a register window if the account currency is a euro currency but NOT euro itself * src/gnome-utils/gnc-account-tree.c: auto resize balance and total columns git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7996 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c30312d031
commit
7b826467c8
@ -1,3 +1,12 @@
|
||||
2003-02-16 Herbert Thoma <herbie@hthoma.de>
|
||||
|
||||
* src/gnome/gnc-split-reg.c:
|
||||
only display an euro amount in the status bar of a register window
|
||||
if the account currency is a euro currency but NOT euro itself
|
||||
|
||||
* src/gnome-utils/gnc-account-tree.c:
|
||||
auto resize balance and total columns
|
||||
|
||||
2003-02-15 Derek Atkins <derek@ihtfp.com>
|
||||
|
||||
* src/import-export/qif-import/qif-file.scm:
|
||||
|
@ -189,6 +189,14 @@ gnc_account_tree_init (GNCAccountTree *tree)
|
||||
gtk_clist_set_column_auto_resize(GTK_CLIST(tree), 0, TRUE);
|
||||
gtk_clist_set_column_auto_resize(GTK_CLIST(tree),
|
||||
tree->description_column, TRUE );
|
||||
gtk_clist_set_column_auto_resize(GTK_CLIST(tree),
|
||||
tree->balance_column, TRUE );
|
||||
gtk_clist_set_column_auto_resize(GTK_CLIST(tree),
|
||||
tree->balance_column + 1, TRUE );
|
||||
gtk_clist_set_column_auto_resize(GTK_CLIST(tree),
|
||||
tree->total_column, TRUE );
|
||||
gtk_clist_set_column_auto_resize(GTK_CLIST(tree),
|
||||
tree->total_column + 1, TRUE );
|
||||
|
||||
gtk_clist_set_column_justification(GTK_CLIST(tree),
|
||||
tree->balance_column,
|
||||
|
@ -671,7 +671,8 @@ gsr_redraw_all_cb (GnucashRegister *g_reg, gpointer data)
|
||||
|
||||
/* no EURO converson, if account is already EURO or no EURO currency */
|
||||
if (commodity != NULL)
|
||||
euro = (euro && gnc_is_euro_currency( commodity ));
|
||||
euro = (euro && gnc_is_euro_currency( commodity ) &&
|
||||
(strncasecmp(gnc_commodity_get_mnemonic(commodity), "EUR", 3)));
|
||||
else
|
||||
euro = FALSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user