fix something with a better way
This commit is contained in:
parent
bc403d549b
commit
d8fa4a8904
|
@ -250,8 +250,7 @@ class Systray:
|
||||||
if group in contact.groups and contact.show != 'offline' and \
|
if group in contact.groups and contact.show != 'offline' and \
|
||||||
contact.show != 'error':
|
contact.show != 'error':
|
||||||
at_least_one = True
|
at_least_one = True
|
||||||
s = contact.name.replace('_', '__') # two _ show one _ and no underline happens
|
item = gtk.ImageMenuItem(s, use_underline = False)
|
||||||
item = gtk.ImageMenuItem(s)
|
|
||||||
# any given gtk widget can only be used in one place
|
# any given gtk widget can only be used in one place
|
||||||
# (here we use it in status menu too)
|
# (here we use it in status menu too)
|
||||||
# gtk.Image is a widget, it's better we refactor to use gdk.gdk.Pixbuf allover
|
# gtk.Image is a widget, it's better we refactor to use gdk.gdk.Pixbuf allover
|
||||||
|
|
Loading…
Reference in New Issue