[Nautilus-list] Small patch to make nautilus not preview mp3 lists
- From: Miguel Rodríguez Pérez <migrax terra es>
- To: Lista de nautilus <nautilus-list lists eazel com>
- Subject: [Nautilus-list] Small patch to make nautilus not preview mp3 lists
- Date: 17 May 2001 11:36:13 +0200
This just make Nautilus ignore files of type audio/x-mpegurl instead of
trying to preview them using sox.
Index: src/file-manager/fm-icon-view.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/file-manager/fm-icon-view.c,v
retrieving revision 1.206
diff -p -u -r1.206 fm-icon-view.c
--- src/file-manager/fm-icon-view.c 2001/05/04 23:13:53 1.206
+++ src/file-manager/fm-icon-view.c 2001/05/17 09:30:51
@@ -1689,7 +1689,8 @@ icon_container_preview_callback (Nautilu
mime_type = nautilus_file_get_mime_type (file);
if ((eel_istr_has_prefix (mime_type, "audio/") ||
eel_istr_has_prefix (mime_type, "application/x-ogg")) &&
- eel_strcasecmp (mime_type, "audio/x-pn-realaudio") != 0) {
+ eel_strcasecmp (mime_type, "audio/x-pn-realaudio") != 0 &&
+ eel_strcasecmp (mime_type, "audio/x-mpegurl") != 0) {
if (nautilus_sound_can_play_sound ()) {
result = 1;
preview_audio (icon_view, file, start_flag);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]