https://bugs.kde.org/show_bug.cgi?id=381982

Fabian Vogt <fab...@ritter-vogt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/sdd
                   |                            |m-kcm/992143c4bf5ad5219a20c
                   |                            |c7c56efea5c941ef79b
         Resolution|---                         |FIXED

--- Comment #3 from Fabian Vogt <fab...@ritter-vogt.de> ---
Git commit 992143c4bf5ad5219a20cc7c56efea5c941ef79b by Fabian Vogt.
Committed on 11/07/2017 at 11:15.
Pushed by fvogt into branch 'Plasma/5.8'.

Session file parser: Support sections and respect the Hidden property

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.

Test Plan:
Installed the KCM, now there are no duplicate sessions and the right
Name is shown for icewm-session.desktop.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

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

M  +20   -2    src/sessionmodel.cpp

https://commits.kde.org/sddm-kcm/992143c4bf5ad5219a20cc7c56efea5c941ef79b

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to