more work on windows
This commit is contained in:
parent
fab0586074
commit
48cd8a4075
3 changed files with 34 additions and 26 deletions
|
@ -11,14 +11,15 @@ class Tentia:
|
|||
|
||||
self.setup_windows()
|
||||
self.preferences.show()
|
||||
self.app.exec_()
|
||||
|
||||
def quit(self, sender):
|
||||
print "quit"
|
||||
|
||||
def setup_windows(self):
|
||||
self.preferences = TentiaWindows.Preferences(self)
|
||||
self.timeline = TentiaWindows.Timeline(self)
|
||||
self.mentions = TentiaWindows.Timeline(self, action="mentions", title="Mentions")
|
||||
#self.timeline = TentiaWindows.Timeline(self)
|
||||
#self.mentions = TentiaWindows.Timeline(self, action="mentions", title="Mentions")
|
||||
|
||||
def resources_path(self):
|
||||
return "../"
|
||||
|
@ -35,7 +36,7 @@ class Controller:
|
|||
|
||||
def __init__(self, app):
|
||||
self.app = app
|
||||
self.user_defaults =
|
||||
self.user_defaults = {}
|
||||
|
||||
def setStringForKey(self, string, key):
|
||||
self.user_defaults[string] = key
|
||||
|
|
Reference in a new issue