[Gnucash-changes] r13792 - gnucash/trunk/src/gnome-utils - Add a string to final page of encodings druid.

Andreas Köhler andi5 at cvs.gnucash.org
Sun Apr 16 17:19:08 EDT 2006


Author: andi5
Date: 2006-04-16 17:19:06 -0400 (Sun, 16 Apr 2006)
New Revision: 13792
Trac: http://svn.gnucash.org/trac/changeset/13792

Modified:
   gnucash/trunk/src/gnome-utils/druid-gnc-xml-import.c
Log:
Add a string to final page of encodings druid.


Modified: gnucash/trunk/src/gnome-utils/druid-gnc-xml-import.c
===================================================================
--- gnucash/trunk/src/gnome-utils/druid-gnc-xml-import.c	2006-04-15 23:21:37 UTC (rev 13791)
+++ gnucash/trunk/src/gnome-utils/druid-gnc-xml-import.c	2006-04-16 21:19:06 UTC (rev 13792)
@@ -201,6 +201,12 @@
 
 static const gchar *encodings_doc_page_title = N_("Missing file encoding");
 
+static const gchar *finish_convert_string = N_(
+  "The file has been loaded successfully. If you click 'Apply' it will be saved "
+  "and reloaded into the main application. That way you will have a working "
+  "file as backup in the same directory.\n\n"
+  "You can also go back and verify your selections by clicking on 'Back'.");
+
 /* The debugging module that this .o belongs to. */
 static QofLogModule log_module = GNC_MOD_GUI;
 
@@ -320,8 +326,13 @@
     gtk_widget_hide (glade_xml_get_widget (xml, "load_file_page"));
     gtk_widget_hide (glade_xml_get_widget (xml, "loaded_files_page"));
     gtk_widget_hide (glade_xml_get_widget (xml, "merge_page"));
-    gtk_widget_show (glade_xml_get_widget (xml, "end_page"));
 
+    /* finish page */
+    widget = glade_xml_get_widget (xml, "end_page");
+    gnome_druid_page_edge_set_text (GNOME_DRUID_PAGE_EDGE (widget),
+                                    gettext (finish_convert_string));
+    gtk_widget_show (widget);
+
     gxi_update_default_enc_combo (data);
     gxi_update_string_box (data);
 



More information about the gnucash-changes mailing list