New Style - Solarized (#144)

* New Style solarized
This commit is contained in:
Alfredo Monclus
2021-05-10 21:55:15 -03:00
committed by GitHub
parent 9951323e91
commit e75a10a888
180 changed files with 12500 additions and 4956 deletions

View File

@@ -18,15 +18,15 @@ class SystemPanel(ScreenPanel):
grid = self._gtk.HomogeneousGrid()
grid.set_row_homogeneous(False)
restart = self._gtk.ButtonImage('reboot',"\n".join(_('Klipper Restart').split(' ')),'color1')
restart = self._gtk.ButtonImage('refresh',"\n".join(_('Klipper Restart').split(' ')),'color1')
restart.connect("clicked", self.restart_klippy)
firmrestart = self._gtk.ButtonImage('restart',"\n".join(_('Firmware Restart').split(' ')),'color2')
firmrestart = self._gtk.ButtonImage('refresh',"\n".join(_('Firmware Restart').split(' ')),'color2')
firmrestart.connect("clicked", self.restart_klippy, "firmware")
ks_restart = self._gtk.ButtonImage('reboot',"\n".join(_('Restart Klipper Screen').split(' ')))
ks_restart = self._gtk.ButtonImage('refresh',"\n".join(_('Restart Klipper Screen').split(' ')))
ks_restart.connect("clicked", self.restart_ks)
reboot = self._gtk.ButtonImage('reboot',_('System\nRestart'),'color3')
reboot = self._gtk.ButtonImage('refresh',_('System\nRestart'),'color3')
reboot.connect("clicked", self._screen._confirm_send_action,
_("Are you sure you wish to reboot the system?"), "machine.reboot")
shutdown = self._gtk.ButtonImage('shutdown',_('System\nShutdown'),'color4')
@@ -35,6 +35,7 @@ class SystemPanel(ScreenPanel):
info = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
info.set_vexpand(True)
info.set_valign(Gtk.Align.CENTER)
self.labels['loadavg'] = Gtk.Label("temp")
self.update_system_load()