panels: allow to call them without name

This commit is contained in:
Alfredo Monclus committed 2024-06-04 11:16:50 -03:00
1 parent 4334535783
commit 2d2e80c3fd
32 files changed
+48 -23

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ from ks_includes.screen_panel import ScreenPanel
class Panel(ScreenPanel):
def __init__(self, screen, title):
title = title or _("Macros")
super().__init__(screen, title)
self.sort_reverse = False
self.sort_btn = self._gtk.Button("arrow-up", _("Name"), "color1", self.bts, Gtk.PositionType.RIGHT, 1)