disable trayicon if in windows (fixes the resize problem) apparently
This commit is contained in:
parent
edfb5a1027
commit
e9945b9c4b
1 changed files with 8 additions and 8 deletions
16
src/gajim.py
16
src/gajim.py
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue