panels: allow to call them without name
This commit is contained in:
1 parent
4334535783
commit
2d2e80c3fd
32 files changed
+48
-23
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user