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

View file

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