From f8b12e3b6bdf4a9fd1fa4f63d43cc4c0520d6f40 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 13 May 2008 22:04:50 +0000 Subject: [PATCH] fix traceback: get variable where it is. fixes #3943 --- src/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/session.py b/src/session.py index edd7bf05f..88e720485 100644 --- a/src/session.py +++ b/src/session.py @@ -314,8 +314,8 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession): if len(gajim.events.get_events(self.conn.name, fjid)): self.control.read_queue() - if path and not gajim.interface.dragging and gajim.config.get( - 'scroll_roster_to_last_message'): + if path and not gajim.interface.roster.dragging and \ + gajim.config.get('scroll_roster_to_last_message'): # we curently see contact in our roster # show and select his line in roster # do not change selection while DND'ing