kicker: add option to make root level icons visible

Authored by i.Dark_Templar on Jun 1 2019, 7:47 AM.

Description

kicker: add option to make root level icons visible

Summary:
In file applets/kicker/package/contents/config/main.xml an option 'showIconsRootLevel' is mentioned. It has following description:
"Whether to show icons on the root level of the menu."

This change provides implementation for this option.

Test Plan:
Manual test:

  1. Change menu to 'classic menu' (kicker), notice root level menu items have no icons
  2. Open menu settings widget
  3. Notice new checkbox 'Show icons on the root level of the menu'
  4. Check that checkbox and hit 'Apply' button
  5. Root menu items should now have icons similar which look similar to icons in 'modern menu' (kickoff)

Reviewers: hein, Plasma, VDG, GB_2

Reviewed By: hein, Plasma, VDG, GB_2

Subscribers: GB_2, ngraham, plasma-devel

Tags: Plasma

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

Details

Committed
GB_2Jun 1 2019, 7:48 AM
Reviewer
Plasma
Differential Revision
D19829: kicker: add option to make root level icons visible
Parents
R119:6f94e7ddba25: Merge branch 'Plasma/5.16'
Branches
Unknown
Tags
Unknown