diff options
-rwxr-xr-x | rhimport | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -121,7 +121,16 @@ sub set_mode_file_gui() my $l_file_playlist = $guixml->get_widget('l_file_playlist'); $l_file_playlist->set_label("<b>Datei</b>"); my $filter = Gtk2::FileFilter->new; - $filter->add_pattern("*"); + $filter->add_pattern("*.wav"); + $filter->add_pattern("*.WAV"); + $filter->add_pattern("*.ogg"); + $filter->add_pattern("*.OGG"); + $filter->add_pattern("*.flac"); + $filter->add_pattern("*.FLAC"); + $filter->add_pattern("*.fla"); + $filter->add_pattern("*.FLA"); + $filter->add_pattern("*.mp*"); + $filter->add_pattern("*.MP*"); my $filechooser = $guixml->get_widget('filechooser'); $filechooser->set_filter($filter); } |