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:
Derek Atkins 2003-02-16 21:51:22 +00:00
parent c30312d031
commit 7b826467c8
3 changed files with 19 additions and 1 deletions

View File

@ -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> 2003-02-15 Derek Atkins <derek@ihtfp.com>
* src/import-export/qif-import/qif-file.scm: * src/import-export/qif-import/qif-file.scm:

View File

@ -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), 0, TRUE);
gtk_clist_set_column_auto_resize(GTK_CLIST(tree), gtk_clist_set_column_auto_resize(GTK_CLIST(tree),
tree->description_column, TRUE ); 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), gtk_clist_set_column_justification(GTK_CLIST(tree),
tree->balance_column, tree->balance_column,

View File

@ -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 */ /* no EURO converson, if account is already EURO or no EURO currency */
if (commodity != NULL) 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 else
euro = FALSE; euro = FALSE;