Add icons to Categories, Installed, and Sources globaldrawer entries

Authored by leinir on Jul 24 2019, 1:35 PM.

Description

Add icons to Categories, Installed, and Sources globaldrawer entries

Summary:
At some point, icons were removed from a number of entries in the global
drawer, but with the many other changes which have happened since then
this now leaves the sidebar looking somewhere between overly vacant and
broken (with some overweight toward the latter). This patch adds these
icons back in, as well as a couple of others, which results in a global
drawer which looks considerably more completely loaded.

This is furthermore based on feedback from the Plasma Mobile Todo[1] notes
entry, which at time of writing contains the following (amongst others):

Discover:
Global toolbar:

  • Installed and Sources should have icons
  • Categories should either have icons or be less indented

[1] https://notes.kde.org/p/plasma-mobile-todo

Parent Categories created by the category reader

Test Plan:
See before without icons looks empty and just a tiny bit broken, and after
with icons included looks fully populated (screenshots incoming)

Before, no icons on the front page:

Before, no icons in the applications subcategory:

After, icons on the front page:

After, icons in the applications subcategory:

Reviewers: Discover Software Store, VDG, ngraham, apol

Reviewed By: Discover Software Store, VDG, ngraham, apol

Subscribers: ngraham, plasma-devel

Tags: Plasma

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