enable start in tray
This commit is contained in:
parent
4a858a70bc
commit
c6c649485e
@ -84,6 +84,10 @@ class MainWindow:
|
|||||||
def start(self):
|
def start(self):
|
||||||
"""Start the update thread and show the window"""
|
"""Start the update thread and show the window"""
|
||||||
self.update_timer = gobject.timeout_add(1000, self.update)
|
self.update_timer = gobject.timeout_add(1000, self.update)
|
||||||
|
if not(self.config["start_in_tray"] and \
|
||||||
|
self.config["enable_system_tray"]) and not \
|
||||||
|
self.window.get_property("visible"):
|
||||||
|
log.debug("Showing window")
|
||||||
self.show()
|
self.show()
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user