1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-02 12:47:41 +02:00

Desktop: Add "X-GNOME-SingleWindow=true" to the desktop file (#5948)

Since this commit (ebd2acd98e),
Plasma Desktop will check "X-GNOME-SingleWindow" property to determine
whether to show "Open New Window" action in the context menu of a task.

Joplin cannot launch a new instance or open a new window, so add the
property and set it to true to hide the action.
This commit is contained in:
Fusion future 2022-01-03 12:15:08 +08:00 committed by GitHub
parent c74e51a58e
commit b2fb4f2ea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,6 +219,7 @@ then
Type=Application Type=Application
Categories=Office; Categories=Office;
MimeType=x-scheme-handler/joplin; MimeType=x-scheme-handler/joplin;
X-GNOME-SingleWindow=true
EOF EOF
# Update application icons # Update application icons