]> git.0d.be Git - empathy.git/commit
Use pixbuf for PixbufCellRenderer in protocol chooser
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Sun, 29 May 2011 16:02:32 +0000 (09:02 -0700)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>
Sun, 29 May 2011 16:02:32 +0000 (09:02 -0700)
commitb0bd73cfa5658971f12c86a1f3711cab663a3f40
treea6b46c0c799f4eb271e865ef61bf9233d329c089
parent8a43221ed3a42fb8949b7568a29723197f204364
Use pixbuf for PixbufCellRenderer in protocol chooser

If an icon-name is given to a PixbufCellRenderer it will re-load the
image from the icon theme every time the size gets requested for a
different cell. Which happens a *LOT*.

Instead load the icon the row is added to the model, such that the
cell renderer can simply request the size of the pixbuf. This massive
speeds up the performance of the protocol chooser combobox.
libempathy-gtk/empathy-account-chooser.c