fix #42,latte icon shown correctly in ksysguard

--shell metadata file was missing the icon, this
fixes also the configuration window icon
v0.6
Michail Vourlakos 8 years ago
parent 954638c7f7
commit be69cbe597

@ -42,6 +42,10 @@ DockConfigView::DockConfigView(Plasma::Containment *containment, DockView *dockV
m_blockFocusLost(false),
m_dockView(dockView)
{
if (containment) {
setIcon(QIcon::fromTheme(containment->corona()->kPackage().metadata().iconName()));
}
connections << connect(dockView, &QObject::destroyed, this, &QObject::deleteLater);
m_screenSyncTimer.setSingleShot(true);
m_screenSyncTimer.setInterval(100);

@ -5,6 +5,7 @@ Comment=Shell provided for the Latte Dock
Keywords=shell
Type=Service
Icon=latte-dock
X-KDE-ServiceTypes=Plasma/Shell
X-KDE-ParentApp=latte-dock

Loading…
Cancel
Save