From d62d8557d02f19bc6455c0d3982606e845416533 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Tue, 10 Dec 2013 03:34:27 +0000 Subject: [PATCH] Qif Import Assistant: Don't disable the whole dialog, just the Forward button The Qif import assistant would at many steps block entirely, requiring the user to either do whatever is necessary to move forward or to quit and restart Gnucash. That's a bit rude, so set pages as GTK_ASSISTANT_TYPE_CONTENT instead of GTK_ASSISTANT_TYPE_PROGRESS. Fix the file selection page so that the forward button isn't enabled until a file is selected. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23525 57a11ea4-9604-0410-9ed3-97b8803252fd --- .../qif-import/assistant-qif-import.c | 2 +- .../qif-import/assistant-qif-import.glade | 28 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/import-export/qif-import/assistant-qif-import.c b/src/import-export/qif-import/assistant-qif-import.c index a958039b2d..f833e1aa3d 100644 --- a/src/import-export/qif-import/assistant-qif-import.c +++ b/src/import-export/qif-import/assistant-qif-import.c @@ -1548,7 +1548,7 @@ gnc_ui_qif_import_load_file_prepare (GtkAssistant *assistant, gpointer user_dat GtkWidget *page = gtk_assistant_get_nth_page (assistant, num); /* Enable the Assistant Buttons */ - gtk_assistant_set_page_complete (assistant, page, TRUE); + gtk_assistant_set_page_complete (assistant, page, FALSE); } diff --git a/src/import-export/qif-import/assistant-qif-import.glade b/src/import-export/qif-import/assistant-qif-import.glade index fdf952cc29..2475009056 100644 --- a/src/import-export/qif-import/assistant-qif-import.glade +++ b/src/import-export/qif-import/assistant-qif-import.glade @@ -99,7 +99,7 @@ You will have the opportunity to load as many files as you wish, so don't worry - progress + content Select a QIF file to load @@ -246,7 +246,7 @@ You will have the opportunity to load as many files as you wish, so don't worry - progress + content Load QIF files @@ -307,7 +307,7 @@ Please select a date format for the file. QIF files created by European software - progress + content Set a date format for this QIF file @@ -393,7 +393,7 @@ Please enter a name for the account. If the file was exported from another accou - progress + content Set the default QIF account name True @@ -515,7 +515,7 @@ Note that GnuCash will be creating many accounts that did not exist on your othe - progress + content Accounts and stock holdings @@ -621,7 +621,7 @@ Note that GnuCash will be creating many accounts that did not exist on your othe - progress + content Match QIF accounts with GnuCash accounts @@ -649,7 +649,7 @@ If you change your mind later, you can reorganize the account structure safely w - progress + content Income and Expense categories @@ -755,7 +755,7 @@ If you change your mind later, you can reorganize the account structure safely w - progress + content Match QIF categories with GnuCash accounts @@ -781,7 +781,7 @@ In the following page, you will see the text that appears in the Payee and Memo - progress + content Payees and memos @@ -887,7 +887,7 @@ In the following page, you will see the text that appears in the Payee and Memo - progress + content Match payees/memos to GnuCash accounts @@ -998,12 +998,12 @@ If you don't see your exchange listed, or none of the available choices are appr - progress + content Tradable commodities - + True False 12 @@ -1173,7 +1173,7 @@ Click "Forward" to review the possible matches. - progress + content Match existing transactions @@ -1272,7 +1272,7 @@ Click "Forward" to review the possible matches. - progress + content Select possible duplicates