mirror of
https://github.com/aclist/dztui.git
synced 2026-10-29 22:22:52 +01:00
fix: move class attribs
This commit is contained in:
1 parent
1bc21d6083
commit
b119569cf5
1 file changed
+3
-1
@@ -49,6 +49,9 @@ class AddPanel(Gtk.Frame):
|
|||||||
def __init__(self, controller: "Controller") -> None:
|
def __init__(self, controller: "Controller") -> None:
|
||||||
super().__init__(margin_top=10, margin_bottom=5)
|
super().__init__(margin_top=10, margin_bottom=5)
|
||||||
|
|
||||||
|
self.controller = controller
|
||||||
|
self.classname = "invalid-entry"
|
||||||
|
|
||||||
label = BoldLabel("Connect")
|
label = BoldLabel("Connect")
|
||||||
self.set_label_widget(label)
|
self.set_label_widget(label)
|
||||||
|
|
||||||
@@ -116,7 +119,6 @@ class ConnectPanel(Gtk.Box):
|
|||||||
def __init__(self, controller: "Controller") -> None:
|
def __init__(self, controller: "Controller") -> None:
|
||||||
super().__init__(orientation=Gtk.Orientation.VERTICAL)
|
super().__init__(orientation=Gtk.Orientation.VERTICAL)
|
||||||
|
|
||||||
self.classname = "invalid-entry"
|
|
||||||
self.controller = controller
|
self.controller = controller
|
||||||
|
|
||||||
user_fav, self.fav_ip = self.controller.get_favorite()
|
user_fav, self.fav_ip = self.controller.get_favorite()
|
||||||
|
|||||||
Reference in new issue
Block a user