mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Added more docs
This commit is contained in:
parent
085c9038b5
commit
44ea77b605
@ -32,6 +32,7 @@ class sessionManagerController(object):
|
|||||||
super(sessionManagerController, self).__init__()
|
super(sessionManagerController, self).__init__()
|
||||||
log.debug("Setting up the session manager.")
|
log.debug("Setting up the session manager.")
|
||||||
self.started = started
|
self.started = started
|
||||||
|
# Initialize the manager, responsible for storing session objects.
|
||||||
manager.setup()
|
manager.setup()
|
||||||
self.view = view.sessionManagerWindow()
|
self.view = view.sessionManagerWindow()
|
||||||
pub.subscribe(self.manage_new_account, "sessionmanager.new_account")
|
pub.subscribe(self.manage_new_account, "sessionmanager.new_account")
|
||||||
@ -84,6 +85,7 @@ class sessionManagerController(object):
|
|||||||
self.view.fill_list(sessionsList)
|
self.view.fill_list(sessionsList)
|
||||||
|
|
||||||
def show(self):
|
def show(self):
|
||||||
|
""" Displays the session manager dialog. """
|
||||||
if self.view.get_response() == widgetUtils.OK:
|
if self.view.get_response() == widgetUtils.OK:
|
||||||
self.do_ok()
|
self.do_ok()
|
||||||
# else:
|
# else:
|
||||||
|
Loading…
Reference in New Issue
Block a user