refactor: power-confirm via PowerAction table (v0.6.14)

Align the power-confirm flow to moonset's ActionDef pattern, in lockstep
with moongreet: a PowerAction table + create_power_button factory replace
the two hand-wired reboot/shutdown handlers and the loose-param
show_power_confirm. Add an in-flight re-trigger guard
(power_box.set_sensitive(false)) and clear a stale error_label when
showing a new prompt.
This commit is contained in:
2026-06-02 14:31:50 +02:00
parent 73c59e54c1
commit 85cf039506
4 changed files with 111 additions and 63 deletions
Generated
+1 -1
View File
@@ -575,7 +575,7 @@ dependencies = [
[[package]]
name = "moonlock"
version = "0.6.13"
version = "0.6.14"
dependencies = [
"gdk-pixbuf",
"gdk4",