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
|
||||
OrganizationName=org.monich
|
||||
ApplicationName=harbour.books
|
||||
ExportDBusInterfaces=org.monich.harbour.books
|
||||
ExecDBus=/usr/bin/invoker --type=silica-qt5 --desktop-file=org.monich.harbour.books.desktop -n -d 5 /usr/bin/org.monich.harbour.books
|
||||
ExecDBus=/usr/bin/org.monich.harbour.books %u
|
||||
|
||||
|
|
|
@ -64,11 +64,11 @@ Page {
|
|||
var parts = Qt.resolvedUrl("dummy").split('/')
|
||||
if (parts.length > 2) {
|
||||
var name = parts[parts.length-3]
|
||||
if (name.indexOf("-books") >= 0) {
|
||||
if (name.indexOf(".books") >= 0) {
|
||||
return name
|
||||
}
|
||||
}
|
||||
return "harbour-books"
|
||||
return "org.monich.harbour.books"
|
||||
}
|
||||
|
||||
Loader {
|
||||
|
|
Loading…
Reference in a new issue