correct menu installation

This commit is contained in:
Jaromil 2011-01-29 14:45:03 +01:00
parent d5f1ce3b2e
commit 6e51e049c2
3 changed files with 8 additions and 3 deletions

View File

@ -7,8 +7,8 @@ AppReg_DATA = tomb.applications
MimeInfodir = $(datadir)/mime-info
MimeInfo_DATA = tomb.keys tomb.mime
Mimedir = $(prefix)/lib/mime/packages
Mime_DATA = tomb
Menudir = $(datadir)/menu
Menu_DATA = tomb
Iconsdir = $(datadir)/icons $(datadir)/app-install/icons
Icons_DATA = monmort.png
@ -17,6 +17,7 @@ install-data-hook:
xdg-mime install dyne-tomb.xml
xdg-icon-resource install --context mimetypes --size 32 ../src/monmort.xpm monmort
xdg-icon-resource install --size 32 ../src/monmort.xpm dyne-monmort
echo "application/x-tomb-volume; tomb-open '%s'; priority=8" > $(prefix)/lib/mime/packages/tomb
update-desktop-database
update-menus
update-mime

View File

@ -1 +1,4 @@
application/x-tomb-volume; tomb-open '%s'; priority=8
?package(tomb):command="tomb" icon="/usr/share/pixmaps/monmort.xpm" needs="cryptsetup" \
section="Applications/Accessories" title="Tomb" hints="Crypto" \
hotkey="Tomb"

View File

@ -595,6 +595,7 @@ Icon=monmort.xpm
Terminal=false
Categories=Utility;Security;Archiving;Filesystem;
MimeType=application/x-tomb-volume;
X-AppInstall-Package=tomb
EOF
update-desktop-database