D6626: Session file parser: Support sections and respect the Hidden property
Fabian Vogt
noreply at phabricator.kde.org
Tue Jul 11 11:08:20 UTC 2017
fvogt created this revision.
Restricted Application added a project: Plasma.
REVISION SUMMARY
Some desktop files have multiple sections, but for now we're only
interested in [Desktop Entry]. Without this patch, every entry was seen
as part of the [Desktop Entry] session, resulting in values getting
overwritten.
Additionally, the Hidden=true property specifies that the desktop file
needs to be treated like it was non-existant.
Same as https://github.com/sddm/sddm/pull/821 for sddm.
BUG: 381982
TEST PLAN
Installed the KCM, now there are no duplicate sessions and the right
Name is shown for icewm-session.desktop.
REPOSITORY
R123 SDDM Configuration Panel (KCM)
BRANCH
Plasma/5.8
REVISION DETAIL
https://phabricator.kde.org/D6626
AFFECTED FILES
src/sessionmodel.cpp
To: fvogt, #plasma
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170711/697eb8c0/attachment.html>
More information about the Plasma-devel
mailing list