From e981cd5690822e4d6f8e9c7629ed7b0dd9b014ca Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Wed, 30 Nov 2005 15:45:20 +0000 Subject: [PATCH] prevent a tb --- src/tabbed_chat_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index 437daffe9..0d3219988 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -137,6 +137,8 @@ class TabbedChatWindow(chat.Chat): if not real_jid: # this can happend if we're in a moderate room return avatar_pixbuf = gtkgui_helpers.get_avatar_pixbuf_from_cache(real_jid) + if avatar_pixbuf in ('ask', None): + return avatar_w = avatar_pixbuf.get_width() avatar_h = avatar_pixbuf.get_height()