system: Add reboot and shutdown buttons

This commit is contained in:
Jordan Ruthe committed 2021-01-10 14:22:18 -05:00
1 parent 0453627d40
commit 37f8a5d632
9 files changed
+241 -117

No files matched your search

+1 -1
View File
@@ -448,7 +448,7 @@ class KlipperScreen(Gtk.Window):
for sub in self.subscriptions:
self.panels[sub].process_update(action, data)
def _confirm_send_action(self, widget, text, method, params):
def _confirm_send_action(self, widget, text, method, params={}):
_ = self.lang.gettext
buttons = [