I was creating a new filter with pattern "*" when opening the
source file chooser. Don't need to do that since I have a
pre-existing one now.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4235
b64f7644-9d1e-0410-96f1-
a4d463321fa5
// the filename when gtk_file_chooser_set_filename is called.
// So add a completely unnessary filter to prevent this behavior.
GtkFileFilter *filter;
- filter = gtk_file_filter_new();
- gtk_file_filter_add_pattern(filter, "*");
+ filter = GTK_FILE_FILTER(GHB_OBJECT(ud->builder, "SourceFilterAll"));
gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(dialog), filter);
gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), sourcename);
response = gtk_dialog_run(GTK_DIALOG (dialog));