Make the Keyboard Layout SNI passive
Summary: This one only appears on wayland and doesn't offer much functionality. On the extended part of the system tray at least we'll know what it is. Reviewers: #plasma, ngraham Reviewed By: ngraham Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D20369
This commit is contained in:
parent
3d46801e5f
commit
21a62f0b38
1 changed files with 1 additions and 3 deletions
|
@ -115,7 +115,7 @@ void KeyboardLayout::initNotifierItem()
|
|||
|
||||
m_notifierItem = new KStatusNotifierItem(this);
|
||||
m_notifierItem->setCategory(KStatusNotifierItem::Hardware);
|
||||
m_notifierItem->setStatus(KStatusNotifierItem::Active);
|
||||
m_notifierItem->setStatus(KStatusNotifierItem::Passive);
|
||||
m_notifierItem->setToolTipTitle(i18nc("tooltip title", "Keyboard Layout"));
|
||||
m_notifierItem->setTitle(i18nc("tooltip title", "Keyboard Layout"));
|
||||
m_notifierItem->setToolTipIconByName(QStringLiteral("preferences-desktop-keyboard"));
|
||||
|
@ -137,8 +137,6 @@ void KeyboardLayout::initNotifierItem()
|
|||
}
|
||||
}
|
||||
);
|
||||
|
||||
m_notifierItem->setStatus(KStatusNotifierItem::Active);
|
||||
}
|
||||
|
||||
void KeyboardLayout::switchToNextLayout()
|
||||
|
|
Loading…
Reference in a new issue