mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
change default file extension
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@312 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9f87c458ed
commit
0228db2066
@ -910,7 +910,7 @@ fileMenubarCB( Widget mw, XtPointer cd, XtPointer cb )
|
||||
fileMenubarCB( mw, (XtPointer)FMB_SAVE, cb );
|
||||
}
|
||||
}
|
||||
newfile = fileBox(toplevel,OPEN, "*.dat");
|
||||
newfile = fileBox(toplevel,OPEN, "*.xac");
|
||||
if (newfile) {
|
||||
datafile = newfile;
|
||||
|
||||
@ -975,7 +975,7 @@ fileMenubarCB( Widget mw, XtPointer cd, XtPointer cb )
|
||||
char * newfile;
|
||||
DEBUG("FMB_SAVEAS\n");
|
||||
|
||||
newfile = fileBox(toplevel,OPEN, "*.dat");
|
||||
newfile = fileBox(toplevel,OPEN, "*.xac");
|
||||
if ( newfile ) {
|
||||
datafile = newfile;
|
||||
fileMenubarCB( mw, (XtPointer)FMB_SAVE, cb );
|
||||
|
@ -152,7 +152,7 @@ main( int argc, char *argv[] )
|
||||
if( argc > 1 )
|
||||
datafile = argv[1];
|
||||
else
|
||||
datafile = fileBox( toplevel, OPEN, "*.dat" );
|
||||
datafile = fileBox( toplevel, OPEN, "*.xac" );
|
||||
|
||||
if( datafile != NULL )
|
||||
topgroup = readData(datafile); /* load the accounts data from datafile*/
|
||||
|
Loading…
Reference in New Issue
Block a user