1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-07 08:58:17 +03:00

fix #42,latte icon shown correctly in ksysguard

--shell metadata file was missing the icon, this
fixes also the configuration window icon
This commit is contained in:
Michail Vourlakos 2017-02-09 17:54:28 +02:00
parent b717a714f5
commit 46087059ac
2 changed files with 5 additions and 0 deletions

View File

@ -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);

View File

@ -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