attempt at making system tray icon go away when quitting

This commit is contained in:
sqlcoder 2009-10-26 22:26:22 +00:00
parent fabec1604a
commit d2cf8e9bc9

View File

@ -516,6 +516,8 @@ class fpdb:
print "Quitting normally" print "Quitting normally"
#check if current settings differ from profile, if so offer to save or abort #check if current settings differ from profile, if so offer to save or abort
self.db.disconnect() self.db.disconnect()
# hide icon as it doesn't go away immediately in Windows - is this ok in Linux Eric?
self.statusIcon.set_visible(False)
gtk.main_quit() gtk.main_quit()
def release_global_lock(self): def release_global_lock(self):