mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +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">
|
||||
<label>encoded order of items</label>
|
||||
</entry>
|
||||
<entry name="ShowPowerButton" type="Bool">
|
||||
<default>true</default>
|
||||
<label>optional power button</label>
|
||||
</entry>
|
||||
</group>
|
||||
|
||||
</kcfg>
|
||||
|
|
|
|||
|
|
@ -160,17 +160,6 @@ Item {
|
|||
"settingsCommand": "",
|
||||
"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() {
|
||||
root.screenBrightness = brightnessSlider.value;
|
||||
|
|
|
|||
Loading…
Reference in a new issue