git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1813 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1999-07-06 06:55:16 +00:00
parent 4d33542816
commit 82aa33ce2d

View File

@ -95,7 +95,11 @@ fileBox(const char * title, const char * filter)
fileBox = gtk_file_selection2_new (title); fileBox = gtk_file_selection2_new (title);
/* hack alert -- this is hard coding the filter... BAD very BAD */ /* hack alert -- this is hard coding the filter... BAD very BAD ?????? */
/* XXX FIXME the second argument 'filter' should be used to filter the
* file selection box since it specifies the suffix of the files that
* should be displayed ...
*/
gtk_file_selection2_show_file_types(GTK_FILE_SELECTION2(fileBox)); gtk_file_selection2_show_file_types(GTK_FILE_SELECTION2(fileBox));
gtk_file_selection2_set_file_types (GTK_FILE_SELECTION2(fileBox), gnucash_types); gtk_file_selection2_set_file_types (GTK_FILE_SELECTION2(fileBox), gnucash_types);