panels: allow to call them without name

This commit is contained in:
Alfredo Monclus
2024-06-04 11:16:50 -03:00
parent 4334535783
commit 2d2e80c3fd
32 changed files with 48 additions and 23 deletions

View File

@@ -7,6 +7,7 @@ from ks_includes.screen_panel import ScreenPanel
class Panel(ScreenPanel):
def __init__(self, screen, title):
title = title or _("Example")
super().__init__(screen, title)
# Create gtk items here