revert until gtk grows up

This commit is contained in:
Nikos Kouremenos 2005-11-17 16:28:41 +00:00
parent 897f60ad06
commit 4f74f23796
1 changed files with 2 additions and 1 deletions

View File

@ -250,7 +250,8 @@ class Systray:
if group in contact.groups and contact.show != 'offline' and \
contact.show != 'error':
at_least_one = True
item = gtk.ImageMenuItem(contact.name, use_underline = False)
s = contact.name.replace('_', '__') # two _ show one _ and no underline happens
item = gtk.ImageMenuItem(s)
# 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