[totem] data: Create a video mime-type list for nautilus



commit dea38226c0f26afd2001d0d281e06f59b593c80b
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Feb 8 15:37:00 2014 +0100

    data: Create a video mime-type list for nautilus
    
    Instead of an audio one. The audio preview was removed from
    nautilus, but we need a video mime-types list to apply the film strip.

 data/Makefile.am          |    6 +++---
 data/mime-type-include.sh |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 2668a9c..e214737 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -82,10 +82,10 @@ CLEANFILES += \
        $(thumbnailer_DATA)
 
 # Content type handling
-nodist_noinst_HEADERS = totem-mime-types.h nautilus-audio-mime-types.h totem-uri-schemes.h totemMimeTypes.js
+nodist_noinst_HEADERS = totem-mime-types.h nautilus-video-mime-types.h totem-uri-schemes.h totemMimeTypes.js
 totem-mime-types.h: mime-type-include.sh mime-type-list.txt mime-functions.sh
        $(AM_V_GEN) $(srcdir)/mime-type-include.sh $(srcdir)/mime-type-list.txt > $@
-nautilus-audio-mime-types.h: mime-type-include.sh mime-type-list.txt mime-functions.sh
+nautilus-video-mime-types.h: mime-type-include.sh mime-type-list.txt mime-functions.sh
        $(AM_V_GEN) $(srcdir)/mime-type-include.sh --nautilus $(srcdir)/mime-type-list.txt > $@
 totemMimeTypes.js: mime-type-imports.sh mime-type-list.txt mime-functions.sh
        $(AM_V_GEN) $(srcdir)/mime-type-imports.sh $(srcdir)/mime-type-list.txt > $@
@@ -102,7 +102,7 @@ EXTRA_DIST += \
 CLEANFILES += \
        totem-mime-types.h              \
        totem-uri-schemes.h             \
-       nautilus-audio-mime-types.h     \
+       nautilus-video-mime-types.h     \
        totem-uri-schemes.h             \
        totemMimeTypes.js
 
diff --git a/data/mime-type-include.sh b/data/mime-type-include.sh
index 27b84bb..a103688 100755
--- a/data/mime-type-include.sh
+++ b/data/mime-type-include.sh
@@ -7,12 +7,12 @@ echo_mime () {
 }
 
 if [ x"$1" = "x--nautilus" ] ; then
-       get_audio_mimetypes $2;
+       get_video_mimetypes $2;
 
-       echo "/* generated with mime-type-include.sh in the totem module, don't edit or "
+       echo "/* generated with mime-type-include.sh in the totem module, don't edit or"
        echo "   commit in the nautilus module without filing a bug against totem */"
 
-       echo "static const char *audio_mime_types[] = {"
+       echo "static const char *video_mime_types[] = {"
        for i in $MIMETYPES ; do
                echo_mime;
        done


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]