Changed ExexDBus call
Fixed incorrect app name in Setting which not allowed confiration app
This commit is contained in:
parent
15a53cc34b
commit
e612e679ec
2 changed files with 3 additions and 4 deletions
|
@ -18,6 +18,5 @@ X-Nemo-Application-Type=silica-qt5
|
||||||
Permissions=Documents;Downloads;RemovableMedia;Audio
|
Permissions=Documents;Downloads;RemovableMedia;Audio
|
||||||
OrganizationName=org.monich
|
OrganizationName=org.monich
|
||||||
ApplicationName=harbour.books
|
ApplicationName=harbour.books
|
||||||
ExportDBusInterfaces=org.monich.harbour.books
|
ExecDBus=/usr/bin/org.monich.harbour.books %u
|
||||||
ExecDBus=/usr/bin/invoker --type=silica-qt5 --desktop-file=org.monich.harbour.books.desktop -n -d 5 /usr/bin/org.monich.harbour.books
|
|
||||||
|
|
||||||
|
|
|
@ -64,11 +64,11 @@ Page {
|
||||||
var parts = Qt.resolvedUrl("dummy").split('/')
|
var parts = Qt.resolvedUrl("dummy").split('/')
|
||||||
if (parts.length > 2) {
|
if (parts.length > 2) {
|
||||||
var name = parts[parts.length-3]
|
var name = parts[parts.length-3]
|
||||||
if (name.indexOf("-books") >= 0) {
|
if (name.indexOf(".books") >= 0) {
|
||||||
return name
|
return name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "harbour-books"
|
return "org.monich.harbour.books"
|
||||||
}
|
}
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
|
|
Loading…
Reference in a new issue