clean up usage of the file dialog box

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3739 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2001-03-03 07:00:59 +00:00
parent 806068c877
commit d067344d53

View File

@ -408,7 +408,7 @@ gncFileOpen (void)
if (!gncFileQuerySave ())
return;
newfile = fileBox(_("Open"), NULL, NULL);
newfile = fileBox(_("Open"), NULL, gnc_history_get_last());
gncPostFileOpen (newfile);
/* This dialogue can show up early in the startup process. If the
@ -492,7 +492,7 @@ gncFileSaveAs (void)
GNCBackendError io_err = ERR_BACKEND_NO_ERR;
ENTER(" ");
filename = fileBox(_("Save"), "*.gnc", NULL);
filename = fileBox(_("Save"), "*.gnc", gnc_history_get_last());
if (!filename) return;
/* Check to see if the user specified the same file as the current