From 991df175d789df8ed7a572ed1a316a110f421e88 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 12 Apr 2016 21:59:57 +0200 Subject: [PATCH] don't draw groupchat iters in a callback. Draw them in main thread to prevent GTK Error --- src/gui_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui_interface.py b/src/gui_interface.py index 1acc14d3c..7752d6014 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -836,7 +836,7 @@ class Interface: if obj.conn.connected == invisible_show: return - self.auto_join_bookmarks(obj.conn.name) + GLib.idle_add(self.auto_join_bookmarks, obj.conn.name) def handle_event_file_send_error(self, account, array): jid = array[0]