From 0ab5461d96dbcf2faf4d3708fd2799241e5afc3b Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 17 Apr 2005 16:06:40 +0000 Subject: [PATCH] fix ticket 183 (do not use underline in conttact button in chat window --- src/tabbed_chat_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index 627a8ce2b..fe07fccc8 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -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