Changeset 9183

Show
Ignore:
Timestamp:
12/20/07 04:11:44 (11 months ago)
Author:
nicfit
Message:

Use show_all on the notebook and not the window when a new tab is added.
For example, if the roster is hidden in single UI mode and a new chat arrived the roster would unhide.

Location:
trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/message_window.py

    r9178 r9183  
    239239 
    240240                self.redraw_tab(control) 
    241                 self.window.show_all() 
     241                self.notebook.show_all() 
    242242                # NOTE: we do not call set_control_active(True) since we don't know whether 
    243243                # the tab is the active one. 
  • trunk/src/roster_window.py

    r9178 r9183  
    12451245                item.connect('activate', self.on_join_gc_activate, account) 
    12461246                gc_sub_menu.append(item) 
    1247                  
     1247 
    12481248                if len(gajim.connections[account].bookmarks) > 0: # user has at least one bookmark 
    12491249                        item = gtk.SeparatorMenuItem() # separator