show '_' instead of underlining the next character in systray popup menu

This commit is contained in:
Yann Leboulanger 2004-06-29 20:51:36 +00:00
parent a0921c0427
commit 79927434aa
1 changed files with 1 additions and 1 deletions

View File

@ -1407,7 +1407,7 @@ class systray:
user = users[0]
if group in user.groups and user.show != 'offline' and \
user.show != 'error':
item = gtk.MenuItem(user.name)
item = gtk.MenuItem(string.replace(user.name, '_', '__'))
menu_user.append(item)
item.connect("activate", self.start_chat, account, user.jid)