Index: containments/panel/contents/ui/ConfigOverlay.qml =================================================================== --- containments/panel/contents/ui/ConfigOverlay.qml +++ containments/panel/contents/ui/ConfigOverlay.qml @@ -159,6 +159,7 @@ hideTimer.start(); return; } + currentApplet.applet.prepareContextualActions(); handle.x = currentApplet.x; handle.y = currentApplet.y; handle.width = currentApplet.width; @@ -349,6 +350,7 @@ onVisualParentChanged: { if (visualParent) { + alternativesButton.visible = currentApplet.applet.action("alternatives") && currentApplet.applet.action("alternatives").enabled; configureButton.visible = currentApplet.applet.action("configure") && currentApplet.applet.action("configure").enabled; closeButton.visible = currentApplet.applet.action("remove") && currentApplet.applet.action("remove").enabled; label.text = currentApplet.applet.title; @@ -384,6 +386,16 @@ currentApplet.applet.action("configure").trigger() } } + PlasmaComponents.ToolButton { + id: alternativesButton + Layout.fillWidth: true + iconSource: "widget-alternatives" + text: i18n("Show Alternatives...") + onClicked: { + tooltip.visible = false; + currentApplet.applet.action("alternatives").trigger() + } + } PlasmaComponents.ToolButton { id: closeButton Layout.fillWidth: true