From 560648afa5ed5eddf30764ce50b9c67f7156a2f7 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 22 May 2006 11:53:22 -0400 Subject: [PATCH] Make dbus happy by _not_ initializing gtk threading... (WTF?) --- sugar/chat/chat.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sugar/chat/chat.py b/sugar/chat/chat.py index 6dd66a4a..17763659 100755 --- a/sugar/chat/chat.py +++ b/sugar/chat/chat.py @@ -581,7 +581,7 @@ class GroupChat(Chat): # Try to get the buddy's icon if buddy.get_nick_name() != self._group.get_owner().get_nick_name(): print "Requesting buddy icon from '%s'." % buddy.get_nick_name() - self._request_buddy_icon(buddy) + gobject.idle_add(self._request_buddy_icon, buddy) elif action == Group.SERVICE_REMOVED: pass @@ -660,7 +660,6 @@ def main(): ChatShell.get_instance().open_group_chat() try: - gtk.threads_init() gtk.main() except KeyboardInterrupt: pass