r14627 - gnucash/trunk - Fix account currency problems when importing QIF files (introduced by

David Hampton hampton at cvs.gnucash.org
Thu Aug 10 22:17:18 EDT 2006


Author: hampton
Date: 2006-08-10 22:17:15 -0400 (Thu, 10 Aug 2006)
New Revision: 14627
Trac: http://svn.gnucash.org/trac/changeset/14627

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/import-export/qif-import/druid-qif-import.c
Log:
Fix account currency problems when importing QIF files (introduced by
the widget cleanup.)


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-08-09 17:48:00 UTC (rev 14626)
+++ gnucash/trunk/ChangeLog	2006-08-11 02:17:15 UTC (rev 14627)
@@ -1,3 +1,9 @@
+2006-08-10  David Hampton  <hampton at employees.org>
+
+	* src/import-export/qif-import/druid-qif-import.c: Fix account
+	currency problems when importing QIF files (introduced by the
+	widget cleanup.)
+
 2006-08-09  Derek Atkins  <derek at ihtfp.com>
 
 	* move gnc-gtk-utils from core-utils to gnome-utils because

Modified: gnucash/trunk/src/import-export/qif-import/druid-qif-import.c
===================================================================
--- gnucash/trunk/src/import-export/qif-import/druid-qif-import.c	2006-08-09 17:48:00 UTC (rev 14626)
+++ gnucash/trunk/src/import-export/qif-import/druid-qif-import.c	2006-08-11 02:17:15 UTC (rev 14627)
@@ -89,7 +89,6 @@
   GtkWidget * cat_view;
   GtkWidget * memo_view;
   GtkWidget * currency_picker;
-  GtkWidget * currency_entry;
   GtkWidget * new_transaction_view;
   GtkWidget * old_transaction_view;
   
@@ -1230,7 +1229,8 @@
   int  rownum = 0;
 
   /* get the default currency */
-  const char * currname = gtk_entry_get_text(GTK_ENTRY(wind->currency_entry));
+  const char * currname =
+    gtk_combo_box_get_active_text(GTK_COMBO_BOX(wind->currency_picker));
 
   /* busy cursor */
   gnc_suspend_gui_refresh ();
@@ -2061,7 +2061,6 @@
   retval->date_format_combo = glade_xml_get_widget (xml, "date_format_combobox");
   retval->selected_file_view = glade_xml_get_widget(xml, "selected_file_view");
   retval->currency_picker = glade_xml_get_widget (xml, "currency_comboboxentry");
-  retval->currency_entry = glade_xml_get_widget (xml, "currency_entry");
   retval->acct_view      = glade_xml_get_widget (xml, "account_page_view");
   retval->cat_view       = glade_xml_get_widget (xml, "category_page_view");
   retval->memo_view      = glade_xml_get_widget (xml, "memo_page_view");



More information about the gnucash-changes mailing list