theme: change icon name from print to printer

This commit is contained in:
alfrix 2024-04-25 10:29:21 -03:00
parent e677e4a951
commit 4588ed537a
8 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ icon: settings
[menu __main print]
name: {{ gettext('Print') }}
icon: print
icon: printer
panel: print
[menu __main more bedlevel]

View File

@ -167,7 +167,7 @@ class Panel(ScreenPanel):
image_args = (path, icon, self.thumbsize / 2, True, "file")
delete.connect("clicked", self.confirm_delete_file, f"gcodes/{path}")
rename.connect("clicked", self.show_rename, f"gcodes/{path}")
action = self._gtk.Button("print", style="color3")
action = self._gtk.Button("printer", style="color3")
action.connect("clicked", self.confirm_print, path)
action.set_hexpand(False)
action.set_vexpand(False)

View File

@ -14,7 +14,7 @@ class Panel(ScreenPanel):
printer_buttons = []
for i, printer in enumerate(printers):
name = list(printer)[0]
self.labels[name] = self._gtk.Button("extruder", name, f"color{1 + i % 4}")
self.labels[name] = self._gtk.Button("printer", name, f"color{1 + i % 4}", scale=2)
self.labels[name].connect("clicked", self.connect_printer, name)
printer_buttons.append(self.labels[name])
grid = AutoGrid(printer_buttons, vertical=self._screen.vertical_mode)

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 833 B

After

Width:  |  Height:  |  Size: 833 B

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB