From 2860211def5edd4311e50c47ffc257d9f4d23306 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 20 May 2004 13:20:24 +0000 Subject: [PATCH] little bugfix --- plugins/gtkgui/gtkgui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index cc776adac..c515e6ca8 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -805,7 +805,7 @@ class roster_Window: 'not in list', 'not in list', 'none', '') self.add_user_to_roster(user1, account) iter = self.get_user_iter(jid, account) - path = self.tree.get_model().get_path(iter[0]) + path = self.tree.get_model().get_path(iter) autopopup = self.plugin.config['autopopup'] if autopopup == 0 and not \ self.plugin.windows[account]['chats'].has_key(jid):