Show
Ignore:
Timestamp:
12/16/07 01:47:20 (11 months ago)
Author:
nicfit
Message:

Resizing fixes and make the roster window shrink when last tab is removed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/one_window/src/message_control.py

    r9141 r9157  
    11##      message_control.py 
    22## 
    3 ## Copyright (C) 2006 Travis Shirk <travis@pobox.com> 
     3## Copyright (C) 2006-2007 Travis Shirk <travis@pobox.com> 
    44## Copyright (C) 2007 Stephan Erb <steve-e@h3c.de>  
    55## 
     
    3535                # dict { cb id : widget}  
    3636                # keep all registered callbacks of widgets, created by self.xml 
    37                 self.handlers = {}  
     37                self.handlers = {} 
    3838                self.type_id = type_id 
    3939                self.parent_win = parent_win 
     
    127127                                was_encrypted = True 
    128128 
    129                         print "starting a new session, dropping the old one!" 
    130                         gajim.connections[self.account].delete_session(self.session.jid, self.session.thread_id) 
     129                        gajim.connections[self.account].delete_session(self.session.jid, 
     130                                                                        self.session.thread_id) 
    131131 
    132132                self.session = session