disable trayicon if in windows (fixes the resize problem) apparently

This commit is contained in:
Nikos Kouremenos 2005-08-18 22:08:19 +00:00
parent edfb5a1027
commit e9945b9c4b
1 changed files with 8 additions and 8 deletions

View File

@ -1130,14 +1130,14 @@ class Interface:
self.systray_enabled = False
self.systray_capabilities = False
if os.name == 'nt':
try:
import systraywin32
except: # user doesn't have trayicon capabilities
pass
else:
self.systray_capabilities = True
self.systray = systraywin32.SystrayWin32(self)
if False: #os.name == 'nt':
#try:
# import systraywin32
#except: # user doesn't have trayicon capabilities
# pass
#else:
# self.systray_capabilities = True
# self.systray = systraywin32.SystrayWin32(self)
else:
try:
import egg.trayicon # use gnomepythonextras trayicon