save roster window / position when Gajim is shut down not intentionally. Fixes #4868
This commit is contained in:
parent
1a8def3341
commit
5b001701f0
|
@ -386,8 +386,8 @@ def on_exit():
|
||||||
# delete pid file on normal exit
|
# delete pid file on normal exit
|
||||||
if os.path.exists(pid_filename):
|
if os.path.exists(pid_filename):
|
||||||
os.remove(pid_filename)
|
os.remove(pid_filename)
|
||||||
# Save config
|
# Shutdown GUI and save config
|
||||||
gajim.interface.save_config()
|
gajim.interface.roster.quit_gtkgui_interface()
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
try:
|
try:
|
||||||
osx.shutdown()
|
osx.shutdown()
|
||||||
|
|
Loading…
Reference in New Issue