until GTK and PyGTK 2.10 exist for Windows disable trayicon. When they exist, we are going to use the GTK API only for WINDOWS as it does not support animation [which is C R A Z Y but true] and we have and NEED animation in GNU/Linux
This commit is contained in:
parent
6aa2716a42
commit
1cc9184593
|
@ -1915,6 +1915,8 @@ class Interface:
|
|||
self.systray_capabilities = False
|
||||
|
||||
if os.name == 'nt':
|
||||
pass
|
||||
'''
|
||||
try:
|
||||
import systraywin32
|
||||
except: # user doesn't have trayicon capabilities
|
||||
|
@ -1922,6 +1924,7 @@ class Interface:
|
|||
else:
|
||||
self.systray_capabilities = True
|
||||
self.systray = systraywin32.SystrayWin32()
|
||||
'''
|
||||
else:
|
||||
self.systray_capabilities = systray.HAS_SYSTRAY_CAPABILITIES
|
||||
if self.systray_capabilities:
|
||||
|
|
Loading…
Reference in New Issue