attribute assignment is no good

This commit is contained in:
K. Lange 2018-09-25 21:18:35 +09:00
parent fb067c4b93
commit 49e0dd71e7
2 changed files with 0 additions and 3 deletions

View File

@ -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):

View File

@ -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