Commit 21a62f0b authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

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
parent 3d46801e
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment