summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-02-08 15:37:00 +0100
committerBastien Nocera <hadess@hadess.net>2014-02-09 00:44:50 +0100
commitdea38226c0f26afd2001d0d281e06f59b593c80b (patch)
tree96105c91c2bca4ba6ba269b41b997f6f2b2fb1f4
parentda98b80e34341ea131cddd8ea597235c76cbfe72 (diff)
downloadtotem-dea38226c0f26afd2001d0d281e06f59b593c80b.tar.gz
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.
-rw-r--r--data/Makefile.am6
-rwxr-xr-xdata/mime-type-include.sh6
2 files changed, 6 insertions, 6 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 2668a9c2e..e2147371f 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 27b84bbf8..a103688a6 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