Browse Source

Properly identify desktop files

This resolves a rather major glitch with Device Links noted on the mailing list
tags/r14.0.0
Timothy Pearson 4 years ago
parent
commit
6ddd04baca
3 changed files with 23 additions and 0 deletions
  1. 2
    0
      tdeio/CMakeLists.txt
  2. 5
    0
      tdeio/Makefile.am
  3. 16
    0
      tdeio/tdeio.magic

+ 2
- 0
tdeio/CMakeLists.txt View File

@@ -36,6 +36,8 @@ link_directories(

##### other data ################################

install( FILES tdeio.magic DESTINATION ${CONFIG_INSTALL_DIR}/magic )

install( FILES
application.desktop kurifilterplugin.desktop
kcomprfilter.desktop kscan.desktop kdatatool.desktop

+ 5
- 0
tdeio/Makefile.am View File

@@ -34,10 +34,15 @@ libtdeio_la_LIBADD = kssl/libkssl.la tdeio/libtdeiocore.la \
../tdewallet/client/libtdewalletclient.la \
$(LIBZ) $(LIBFAM) $(LIBVOLMGT) $(ACL_LIBS) $(LIB_QT) $(LIB_TDECORE) $(top_builddir)/dcop/libDCOP.la $(LIB_X11)

magicdir = $(kde_confdir)/magic
magic_DATA = tdeio.magic

kde_servicetypes_DATA = application.desktop kurifilterplugin.desktop \
kcomprfilter.desktop kscan.desktop kdatatool.desktop \
tdefileplugin.desktop tdecmodule.desktop

EXTRA_DIST = $(kde_mime_DATA)

update_DATA = tdeioslave.upd
update_SCRIPTS = useragent.pl proxytype.pl
updatedir = $(kde_datadir)/tdeconf_update

+ 16
- 0
tdeio/tdeio.magic View File

@@ -0,0 +1,16 @@
# Type: TDEIO 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

Loading…
Cancel
Save