From d2cf8e9bc94f311724136c9d631849acb87c1664 Mon Sep 17 00:00:00 2001 From: sqlcoder Date: Mon, 26 Oct 2009 22:26:22 +0000 Subject: [PATCH] attempt at making system tray icon go away when quitting --- pyfpdb/fpdb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyfpdb/fpdb.py b/pyfpdb/fpdb.py index fe2ddd39..ef67749d 100755 --- a/pyfpdb/fpdb.py +++ b/pyfpdb/fpdb.py @@ -516,6 +516,8 @@ class fpdb: print "Quitting normally" #check if current settings differ from profile, if so offer to save or abort 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() def release_global_lock(self):