desktop file fixes

Set icon, and also improve mimetype.
This commit is contained in:
B Stack 2020-06-30 07:39:41 -04:00
parent 16e605ccee
commit 5b9e3cfb6e
3 changed files with 5 additions and 4 deletions

View File

@ -25,7 +25,7 @@ DOCDIR = $(SHAREDIR)/doc/$(APPNAME)
APPDIR = $(SHAREDIR)/$(APPNAME)
APPSDIR = $(SHAREDIR)/applications
ICONSDIR = $(SHAREDIR)/icons
MIMEDIR = $(SHAREDIR)/mime
MIMEDIR = $(SHAREDIR)/mime/packages
MANDIR = $(SHAREDIR)/man
XDGAUTODIR = $(SYSCONFDIR)/xdg/autostart
FONTDIR = $(SHAREDIR)/fonts

View File

@ -3,7 +3,7 @@ Categories=Settings;DesktopSettings;
Comment=Import Windows .theme files
Exec=/usr/bin/PlusGUI %f
GenericName=Windows theme importer
Icon=desktop-preferences
Icon=preferences-desktop-theme
Keywords=theme;import;
MimeType=application/x-plus-theme;
Name=Chicago95 Plus!

View File

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-plus-theme">
<sub-class-of type="application/x-theme">
<sub-class-of type="application/x-theme"/>
<magic priority="75">
<match type="string" value="[Control Panel\Colors]" offset="0"/>
<match type="string" value="[Control Panel\Colors]" offset="0:32767"/>
</magic>
<comment>Chicago95 Plus! theme</comment>
<glob pattern="*.theme"/>
<generic-icon name="desktop-preferences"/>
</mime-type>
</mime-info>