hide tray icon on exit
This commit is contained in:
parent
a6633f1e77
commit
32055050ee
1
setup.py
1
setup.py
@ -48,6 +48,7 @@ class InstallScript(install):
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
setup(name='Toxygen',
|
||||
version=version,
|
||||
description='Toxygen - Tox client',
|
||||
|
@ -81,4 +81,3 @@ def node_generator():
|
||||
arr = sorted(nodes, key=lambda x: x.rand)[:4]
|
||||
for elem in arr:
|
||||
yield elem.get_data()
|
||||
|
||||
|
@ -543,7 +543,3 @@ class InlineImageItem(QtWidgets.QScrollArea):
|
||||
|
||||
def mark_as_sent(self):
|
||||
return False
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -7,7 +7,7 @@ from bootstrap import node_generator
|
||||
from mainscreen import MainWindow
|
||||
from callbacks import init_callbacks, stop, start
|
||||
from util import curr_directory, program_version, remove
|
||||
import styles.style
|
||||
import styles.style # reqired for styles loading
|
||||
import platform
|
||||
import toxes
|
||||
from passwordscreen import PasswordScreen, UnlockAppScreen, SetProfilePasswordScreen
|
||||
@ -327,6 +327,7 @@ class Toxygen:
|
||||
self.mainloop.wait()
|
||||
self.init.wait()
|
||||
self.avloop.wait()
|
||||
self.tray.hide()
|
||||
data = self.tox.get_savedata()
|
||||
ProfileHelper.get_instance().save_profile(data)
|
||||
settings.close()
|
||||
|
Loading…
Reference in New Issue
Block a user