D29728: Fix org.telegram.desktop identification

Aleix Pol Gonzalez noreply at phabricator.kde.org
Wed May 13 18:54:18 BST 2020


apol created this revision.
apol added reviewers: Plasma, KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
apol requested review of this revision.

REVISION 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.

REPOSITORY
  R108 KWin

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29728

AFFECTED FILES
  abstract_client.cpp

To: apol, #plasma, #kwin
Cc: kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200513/de9a5fe8/attachment.htm>


More information about the kwin mailing list