Show
Ignore:
Timestamp:
09/05/07 16:15:20 (15 months ago)
Author:
asterix
Message:

Enable ellipsization in roster and chatwindow. Fixes #2079, #2739
Reorder occupantlist in groupchat to match roster. see #2102

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.1/src/roster_window.py

    r8731 r8732  
    1717 
    1818import gtk 
     19import pango 
    1920import gobject 
    2021import os 
     
    11051106                        self.add_account_to_roster(acct) 
    11061107                        self.add_account_contacts(acct) 
     1108                # Recalculate column width for ellipsizing  
     1109                self.tree.columns_autosize() 
    11071110 
    11081111        def add_account_contacts(self, account): 
     
    44884491 
    44894492                render_text = gtk.CellRendererText() # contact or group or account name 
     4493                render_text.set_property("ellipsize", pango.ELLIPSIZE_END) 
    44904494                col.pack_start(render_text, expand = True) 
    44914495                col.add_attribute(render_text, 'markup', C_NAME) # where we hold the name