okular: fix file association
While playing around with the "Screenshot" action from the action drawer in plasma-mobile, I discovered that if you try the open the image (by pressing the image icon from the screen shot popup) it would automatically call okular and _not_ okularkirigami. This is caused okularApplication_*.desktop files all pointing to okular instead of okularkirigami. Extending the dirty hack to these files fixes the issue. Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
This commit is contained in:
@@ -42,6 +42,7 @@ EXTRA_OECMAKE += " \
|
||||
# dirty hack to force the mobile version and hide the desktop one
|
||||
do_install:append() {
|
||||
sed -i 's/Exec=okular %U$/Exec=okularkirigami %U/g' ${D}${datadir}/applications/org.kde.okular.desktop
|
||||
sed -i 's/Exec=okular %U$/Exec=okularkirigami %U/g' ${D}${datadir}/applications/okularApplication_*.desktop
|
||||
}
|
||||
|
||||
# note: okularkirigami is the dedicated mobile version
|
||||
|
||||
Reference in New Issue
Block a user