summaryrefslogtreecommitdiffstats
path: root/kio
diff options
context:
space:
mode:
Diffstat (limited to 'kio')
-rw-r--r--kio/CMakeLists.txt2
-rw-r--r--kio/Makefile.am5
-rw-r--r--kio/kio.magic16
3 files changed, 23 insertions, 0 deletions
diff --git a/kio/CMakeLists.txt b/kio/CMakeLists.txt
index a27c54a7a..ae7759747 100644
--- a/kio/CMakeLists.txt
+++ b/kio/CMakeLists.txt
@@ -35,6 +35,8 @@ link_directories(
##### other data ################################
+install( FILES kio.magic DESTINATION ${CONFIG_INSTALL_DIR}/magic )
+
install( FILES
application.desktop kurifilterplugin.desktop
kcomprfilter.desktop kscan.desktop kdatatool.desktop
diff --git a/kio/Makefile.am b/kio/Makefile.am
index 096d10914..05d9a72b1 100644
--- a/kio/Makefile.am
+++ b/kio/Makefile.am
@@ -34,10 +34,15 @@ libkio_la_LIBADD = kssl/libkssl.la kio/libkiocore.la \
../kwallet/client/libkwalletclient.la \
$(LIBZ) $(LIBFAM) $(LIBVOLMGT) $(ACL_LIBS) $(LIB_QT) $(LIB_KDECORE) $(top_builddir)/dcop/libDCOP.la $(LIB_X11)
+magicdir = $(kde_confdir)/magic
+magic_DATA = kio.magic
+
kde_servicetypes_DATA = application.desktop kurifilterplugin.desktop \
kcomprfilter.desktop kscan.desktop kdatatool.desktop \
kfileplugin.desktop kcmodule.desktop
+EXTRA_DIST = $(kde_mime_DATA)
+
update_DATA = kioslave.upd
update_SCRIPTS = useragent.pl proxytype.pl
updatedir = $(kde_datadir)/kconf_update
diff --git a/kio/kio.magic b/kio/kio.magic
new file mode 100644
index 000000000..383f2d2e3
--- /dev/null
+++ b/kio/kio.magic
@@ -0,0 +1,16 @@
+# Type: KIO File Types
+# From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+#
+# TDE desktop file
+0 string [Desktop\ Entry] application/x-desktop
+!:mime application/x-desktop
+0 string [Desktop\ Action application/x-desktop
+!:mime application/x-desktop
+0 string [KDE\ Desktop\ Entry] application/x-desktop
+!:mime application/x-desktop
+0 string \#\ Config\ File application/x-desktop
+!:mime application/x-desktop
+0 string \#\ KDE\ Config\ File application/x-desktop
+!:mime application/x-desktop
+0 string \#\ TDE\ Config\ File application/x-desktop
+!:mime application/x-desktop \ No newline at end of file