aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-object-helpers.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2009-07-10 20:03:52 +0800
committerBenjamin Otte <otte@gnome.org>2009-07-13 02:11:43 +0800
commit1e8489797a2a5e8d21364e81d8719c3fc800feee (patch)
treee395762fac9e682d981c73fe992b2fc5cdc5ebdd /lib/ephy-object-helpers.c
parenta6f2b6193825f06ce9eb9de69f9ef253df9ed56d (diff)
downloadgsoc2013-epiphany-1e8489797a2a5e8d21364e81d8719c3fc800feee.tar
gsoc2013-epiphany-1e8489797a2a5e8d21364e81d8719c3fc800feee.tar.gz
gsoc2013-epiphany-1e8489797a2a5e8d21364e81d8719c3fc800feee.tar.bz2
gsoc2013-epiphany-1e8489797a2a5e8d21364e81d8719c3fc800feee.tar.lz
gsoc2013-epiphany-1e8489797a2a5e8d21364e81d8719c3fc800feee.tar.xz
gsoc2013-epiphany-1e8489797a2a5e8d21364e81d8719c3fc800feee.tar.zst
gsoc2013-epiphany-1e8489797a2a5e8d21364e81d8719c3fc800feee.zip
Performance: Set a fixed width on autosized cell renderer
The text cell renderer in use by the url autocompletion is the only renderer that expands. As the width of the entry completion is known in advance (as big as the entry you are completing on), we can set a fixed width. Since the height of the cell renderer is hardcoded, too, the complete size of the cell renderer is known in advance and Gtk skips layouting the text to compute the size. This is a noticable performance improvement, expecially when the completion contains lots of visible entries.
Diffstat (limited to 'lib/ephy-object-helpers.c')
0 files changed, 0 insertions, 0 deletions