Changeset 9637 for trunk/src/session.py

Show
Ignore:
Timestamp:
05/14/08 03:47:10 (5 months ago)
Author:
bct
Message:

fix an undefined variable when scrolling the roster

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/session.py

    r9636 r9637  
    317317                                        # show and select his line in roster 
    318318                                        # do not change selection while DND'ing 
    319                                         self.tree.expand_row(path[0:1], False) 
    320                                         self.tree.expand_row(path[0:2], False) 
    321                                         self.tree.scroll_to_cell(path) 
    322                                         self.tree.set_cursor(path) 
     319                                        tree = gajim.interface.roster.tree 
     320                                        tree.expand_row(path[0:1], False) 
     321                                        tree.expand_row(path[0:2], False) 
     322                                        tree.scroll_to_cell(path) 
     323                                        tree.set_cursor(path) 
    323324                else: 
    324325                        if no_queue: # We didn't have a queue: we change icons