|
|
|
@ -124,7 +124,8 @@ class MessageGrid(gtk.ScrolledWindow, gobject.GObject):
|
|
|
|
|
|
|
|
|
|
user_renderer = gtk.CellRendererPixbuf() |
|
|
|
|
user_column = gtk.TreeViewColumn('User', user_renderer) |
|
|
|
|
user_column.set_fixed_width(48) # avatar size (we resize to 48x48) |
|
|
|
|
user_column.set_fixed_width(54) # avatar size (we resize to 48x48) |
|
|
|
|
# TODO: Check the border size for this. "54" is guesswork. |
|
|
|
|
user_column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED) |
|
|
|
|
user_column.set_cell_data_func(user_renderer, |
|
|
|
|
self._cell_renderer_user) |
|
|
|
|