Commit 77caf397 authored by Nate Graham's avatar Nate Graham 🔩
Browse files

[applet] Adapt to changes in System tray appearance

- Make custom configure button only appear when not in the system tray
- Change icon of configure button to follow the standard
parent 9d99d2d7
...@@ -203,7 +203,7 @@ ColumnLayout { ...@@ -203,7 +203,7 @@ ColumnLayout {
PlasmaComponents3.ToolButton { PlasmaComponents3.ToolButton {
id: openEditorButton id: openEditorButton
visible: mainWindow.kcmAuthorized visible: mainWindow.kcmAuthorized && plasmoid.containmentType !== PlasmaCore.Types.CustomEmbeddedContainment
icon.name: "configure" icon.name: "configure"
......
...@@ -54,7 +54,7 @@ Item { ...@@ -54,7 +54,7 @@ Item {
Component.onCompleted: { Component.onCompleted: {
if (kcmAuthorized) { if (kcmAuthorized) {
plasmoid.setAction("openKCM", i18n("&Configure Network Connections..."), "preferences-system-network"); plasmoid.setAction("openKCM", i18n("&Configure Network Connections..."), "configure");
} }
plasmoid.removeAction("configure"); plasmoid.removeAction("configure");
plasmoid.setAction("showPortal", i18n("Open Network Login Page..."), "internet-services"); plasmoid.setAction("showPortal", i18n("Open Network Login Page..."), "internet-services");
......
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