D27786: [notifications] Read appname from desktop file if no appname set
Nicolas Fella
noreply at phabricator.kde.org
Mon Mar 2 15:59:34 GMT 2020
nicolasfella created this revision.
nicolasfella added reviewers: Plasma, broulik.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
nicolasfella requested review of this revision.
REVISION SUMMARY
Some applications, e.g. pamac, don't send an app_name, which is legal according to the fd.o spec. In this case try to read it from the desktop file before falling back to the process name.
TEST PLAN
I get a better appname for pamac notifications now
REPOSITORY
R120 Plasma Workspace
BRANCH
notiappname
REVISION DETAIL
https://phabricator.kde.org/D27786
AFFECTED FILES
libnotificationmanager/notification.cpp
To: nicolasfella, #plasma, broulik
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200302/63fcbf6e/attachment-0001.html>
More information about the Plasma-devel
mailing list