fix ticket 183 (do not use underline in conttact button in chat window

This commit is contained in:
Yann Leboulanger 2005-04-17 16:06:40 +00:00
parent 42a0b673cc
commit 0ab5461d96
1 changed files with 2 additions and 1 deletions

View File

@ -66,6 +66,7 @@ class Tabbed_chat_window(chat.Chat):
elif image.get_storage_type() == gtk.IMAGE_PIXBUF:
status_image.set_from_pixbuf(image.get_pixbuf())
contact_button = self.xmls[jid].get_widget('contact_button')
contact_button.set_use_underline(False)
contact_button.set_label(user.name + ' <' + jid + '>')
if not user.keyID:
self.xmls[jid].get_widget('gpg_togglebutton').set_sensitive(False)
@ -139,7 +140,7 @@ class Tabbed_chat_window(chat.Chat):
self.redraw_tab(user.jid)
self.draw_widgets(user)
self.print_conversation(_("%s is %s (%s)") % (user.name, \
self.print_conversation(_('%s is %s (%s)') % (user.name, \
user.show, user.status), user.jid, 'status')
#print queued messages