Commit 5002023f authored by Marco Martin's avatar Marco Martin

kill shutdown button

parent 9eb128d7
...@@ -9,10 +9,6 @@ ...@@ -9,10 +9,6 @@
<entry name="AppletOrder" type="String"> <entry name="AppletOrder" type="String">
<label>encoded order of items</label> <label>encoded order of items</label>
</entry> </entry>
<entry name="ShowPowerButton" type="Bool">
<default>true</default>
<label>optional power button</label>
</entry>
</group> </group>
</kcfg> </kcfg>
...@@ -160,17 +160,6 @@ Item { ...@@ -160,17 +160,6 @@ Item {
"settingsCommand": "", "settingsCommand": "",
"applet": null "applet": null
}); });
if (plasmoid.configuration.ShowPowerButton) {
settingsModel.append({
"text": i18n("Shutdown"),
"icon": "system-shutdown-symbolic",
"enabled": false,
"settingsCommand": "",
"toggleFunction": "requestShutdown",
"plasmoidId": -1,
"applet": null
});
}
brightnessSlider.moved.connect(function() { brightnessSlider.moved.connect(function() {
root.screenBrightness = brightnessSlider.value; root.screenBrightness = brightnessSlider.value;
......
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