Diffusion KWin b2ca9b86876a

Fix org.telegram.desktop identification

Authored by apol on May 13 2020, 5:54 PM.

Description

Fix org.telegram.desktop identification

Summary:
The code we have that adds .desktop at the end of the resource name did not take
into account that it might be the case that the application ends with .desktop
like it happens on telegram's desktop client

This patch looks for the file instead of just checking the name to account for
it. Otherwise the look up happens in KConfig.

Fixes flathub/org.telegram.desktop#27 on github

Test Plan: Tested locally, works.

Reviewers: Plasma, KWin, ngraham

Reviewed By: ngraham

Subscribers: kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D29728

Details

Committed
mevenJun 2 2020, 9:02 AM
Reviewer
ngraham
Differential Revision
D29728: Fix org.telegram.desktop identification
Parents
R108:051cba15cefe: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown