Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 53166 Details for
Bug 84835
let nautilus preview wma files as well as mp3 ones.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
this is the patch
nautilus-2.10.0-preview-wma.patch (text/plain), 926 bytes, created by
sunmoon1997
on 2005-03-11 02:48:16 UTC
(
hide
)
Description:
this is the patch
Filename:
MIME Type:
Creator:
sunmoon1997
Created:
2005-03-11 02:48:16 UTC
Size:
926 bytes
patch
obsolete
>--- nautilus-2.10.0/src/file-manager/fm-icon-view.c.orig 2005-03-11 17:17:17.000000000 +0800 >+++ nautilus-2.10.0/src/file-manager/fm-icon-view.c 2005-03-11 17:42:43.000000000 +0800 >@@ -1959,10 +1959,17 @@ > /* preview files based on the mime_type. */ > /* at first, we just handle sounds */ > if (should_preview_sound (file)) { >+ gboolean is_wma; >+ char *filename = nautilus_file_get_display_name (file); > mime_type = nautilus_file_get_mime_type (file); >+ is_wma = eel_istr_has_prefix(mime_type, "video/x-ms-asf") \ >+ && (eel_istr_has_suffix(filename, ".wma") \ >+ || eel_istr_has_suffix(filename,".WMA")); >+ g_free(filename); > > if ((eel_istr_has_prefix (mime_type, "audio/") > #ifdef USE_GST_AUDIO_PREVIEW >+ || is_wma > || eel_istr_has_prefix (mime_type, "application/ogg") > || eel_istr_has_prefix (mime_type, "application/x-ogg") > || eel_istr_has_prefix (mime_type, "application/flac")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 84835
: 53166