fix something with a better way

This commit is contained in:
Nikos Kouremenos 2005-11-17 10:16:08 +00:00
parent bc403d549b
commit d8fa4a8904
1 changed files with 1 additions and 2 deletions

View File

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