Commit 80c737cb authored by Nate Graham's avatar Nate Graham
Browse files

[applets/systemtray] Add a button in the hidden view to show the config window

Without this, the only way to show the config window for the System Tray
itself is by right-clicking, and as we all know, this is a no-no because
many users don't right-click on stuff and you can't right-click at all on
touch and we want our stuff to work on convertible devices with
touchscreens. So let's add a big beautiful button that people can click
on and touch.
parent c0def1a5
......@@ -86,6 +86,21 @@ Item {
text: activeApplet ? activeApplet.title : i18n("Status and Notifications")
PlasmaComponents.ToolButton {
// Don't show when displaying an applet's own view since then
// there would be two configure buttons and that would be weird
// TODO: in the future make this button context-sensitive so
// that it triggers the config action for whatever applet is
// being viewed, and then hide the applet's own config button
// if both would be shown at the same time
visible: !backButton.visible "configure"
onClicked: plasmoid.action("configure").trigger()
PlasmaComponents.ToolTip {
text: i18n("Configure System Tray...")
PlasmaComponents.ToolButton {
id: pinButton
checkable: true
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