attribute assignment is no good
This commit is contained in:
parent
fb067c4b93
commit
49e0dd71e7
@ -83,8 +83,6 @@ class FileBrowserWindow(yutani.Window):
|
||||
def __init__(self, decorator, path):
|
||||
super(FileBrowserWindow, self).__init__(self.base_width + decorator.width(), self.base_height + decorator.height(), title=app_name, icon="folder", doublebuffer=True)
|
||||
self.move(100,100)
|
||||
self.x = 100
|
||||
self.y = 100
|
||||
self.decorator = decorator
|
||||
|
||||
def exit_app(action):
|
||||
|
@ -273,7 +273,6 @@ class MenuWindow(yutani.Window):
|
||||
self.move(*origin)
|
||||
self.focused_widget = None
|
||||
self.child = None
|
||||
self.x, self.y = origin
|
||||
self.closed = False
|
||||
self.root = root
|
||||
self.root.menus[self.wid] = self
|
||||
|
Loading…
Reference in New Issue
Block a user