Pick up on virtual desktop name changes at runtime.

Authored by hein on Sep 17 2016, 2:49 PM.

Description

Pick up on virtual desktop name changes at runtime.

Summary:
Includes a fix for refresh() being called too many times because
UniqueConnection doesn't work.

However, this revealed that KWindowSystem::desktopNamesChanged
is emitted many times, which Martin should take a look at.

CCBUG:368579

Reviewers: Plasma, davidedmundson, graesslin

Subscribers: plasma-devel

Tags: Plasma

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

Details