mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Change file loading message to "Loading user data..."
Reading file is technically only correct for files not for databases. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18707 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
0918b03678
commit
0577a09492
@ -154,9 +154,9 @@ gnc_file_dialog (const char * title,
|
||||
gtk_file_filter_add_pattern (all_filter, "*");
|
||||
gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (file_box), all_filter);
|
||||
|
||||
/* Note: You cannot set a file filter and pre-select a file name.
|
||||
* The latter wins, and the filter ends up diabled. Since we are
|
||||
* only settin the starting directory for the chooser dialog,
|
||||
/* Note: You cannot set a file filter and preselect a file name.
|
||||
* The latter wins, and the filter ends up disabled. Since we are
|
||||
* only setting the starting directory for the chooser dialog,
|
||||
* everything works as expected. */
|
||||
gtk_file_chooser_set_filter (GTK_FILE_CHOOSER (file_box),
|
||||
GTK_FILE_FILTER (filters->data));
|
||||
@ -549,9 +549,9 @@ gnc_file_query_save (gboolean can_cancel)
|
||||
gnc_autosave_remove_timer(current_book);
|
||||
|
||||
/* If user wants to mess around before finishing business with
|
||||
* the old file, give em a chance to figure out what's up.
|
||||
* the old file, give him a chance to figure out what's up.
|
||||
* Pose the question as a "while" loop, so that if user screws
|
||||
* up the file-selection dialog, we don't blow em out of the water;
|
||||
* up the file-selection dialog, we don't blow him out of the water;
|
||||
* instead, give them another chance to say "no" to the verify box.
|
||||
*/
|
||||
while (qof_book_not_saved(current_book))
|
||||
@ -630,7 +630,7 @@ gnc_post_file_open (const char * filename)
|
||||
}
|
||||
|
||||
/* disable events while moving over to the new set of accounts;
|
||||
* the mass deletetion of accounts and transactions during
|
||||
* the mass deletion of accounts and transactions during
|
||||
* switchover would otherwise cause excessive redraws. */
|
||||
qof_event_suspend ();
|
||||
|
||||
@ -754,7 +754,7 @@ gnc_post_file_open (const char * filename)
|
||||
xaccLogSetBaseName (logpath);
|
||||
xaccLogDisable();
|
||||
|
||||
gnc_window_show_progress(_("Reading file..."), 0.0);
|
||||
gnc_window_show_progress(_("Loading user data..."), 0.0);
|
||||
qof_session_load (new_session, gnc_window_show_progress);
|
||||
gnc_window_show_progress(NULL, -1.0);
|
||||
xaccLogEnable();
|
||||
@ -766,7 +766,7 @@ gnc_post_file_open (const char * filename)
|
||||
qof_session_pop_error (new_session);
|
||||
if (gnc_xml_convert_single_file (newfile)) {
|
||||
/* try to load once again */
|
||||
gnc_window_show_progress(_("Reading file..."), 0.0);
|
||||
gnc_window_show_progress(_("Loading user data..."), 0.0);
|
||||
qof_session_load (new_session, gnc_window_show_progress);
|
||||
gnc_window_show_progress(NULL, -1.0);
|
||||
xaccLogEnable();
|
||||
|
Loading…
Reference in New Issue
Block a user