Commit 5997c73c authored by Nate Graham's avatar Nate Graham

Be the top handler for .kra files by default

Currently, if there are any other apps installed that can open .kra files, and they
have the `InitialPreference` value set in their .desktop file, they will open .kra
files by default instead of Krita. This is non-ideal.

This patch sets the `InitialPreference` value in Krita's own .desktop file high
enough that it will always be the default first handler for .kra files.

CCBUG: 337272

Test Plan:
- Apply the patch and then this one for Gwenview: D19121
- Rebuild and install both apps
- Run `sudo update-desktop-database`
- Right-click on a .kra file in Dolphin. Krita shows up as the top app to open it, with Gwenview showing up in the "Open With" menu

Reviewers: #krita, rempt

Reviewed By: #krita, rempt

Subscribers: rempt

Tags: #krita

Differential Revision:
parent e7cd6d6f
......@@ -150,3 +150,5 @@ X-KDE-ExtraNativeMimeTypes=
# Always be the preferred handler for .kra files
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment