Browse Source

Don't clip the avatars.

master
Julio Biason 15 years ago
parent
commit
6d290a44ac
  1. 3
      mitterlib/ui/helpers/gtk_messagegrid.py

3
mitterlib/ui/helpers/gtk_messagegrid.py

@ -124,7 +124,8 @@ class MessageGrid(gtk.ScrolledWindow, gobject.GObject):
user_renderer = gtk.CellRendererPixbuf() user_renderer = gtk.CellRendererPixbuf()
user_column = gtk.TreeViewColumn('User', user_renderer) 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_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
user_column.set_cell_data_func(user_renderer, user_column.set_cell_data_func(user_renderer,
self._cell_renderer_user) self._cell_renderer_user)

Loading…
Cancel
Save