mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-04 18:54:45 +00:00
kill shutdown button
This commit is contained in:
parent
9eb128d798
commit
5002023fa9
2 changed files with 0 additions and 15 deletions
|
|
@ -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 {
|
||||||
"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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue