diff --git a/applets/kimpanel/package/contents/ui/main.qml b/applets/kimpanel/package/contents/ui/main.qml --- a/applets/kimpanel/package/contents/ui/main.qml +++ b/applets/kimpanel/package/contents/ui/main.qml @@ -35,7 +35,21 @@ Layout.minimumWidth: vertical ? units.iconSizes.small : items.implicitWidth Layout.minimumHeight: !vertical ? units.iconSizes.small : items.implicitHeight Layout.preferredHeight: Layout.minimumHeight - Plasmoid.preferredRepresentation: Plasmoid.fullRepresentation + Plasmoid.preferredRepresentation: Plasmoid.compactRepresentation + Plasmoid.compactRepresentation: PlasmaCore.IconItem { + source: "input-keyboard" + width: parent.width + height: parent.height + + MouseArea { + anchors.fill: parent + acceptedButtons: Qt.LeftButton + + onClicked: { + plasmoid.expanded = !plasmoid.expanded + } + } + } InputPanel { } diff --git a/applets/kimpanel/package/metadata.desktop b/applets/kimpanel/package/metadata.desktop --- a/applets/kimpanel/package/metadata.desktop +++ b/applets/kimpanel/package/metadata.desktop @@ -132,3 +132,5 @@ X-KDE-PluginInfo-Depends= X-KDE-PluginInfo-License=GPL-2.0+ X-KDE-PluginInfo-EnabledByDefault=true +X-Plasma-NotificationArea=true +X-Plasma-NotificationAreaCategory=SystemServices