summaryrefslogtreecommitdiff
path: root/.tx/config
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-04-07 15:07:39 +0200
committerlukefromdc <[email protected]>2017-04-13 14:15:19 -0400
commit05724185f11f68d7432775c4ebc77e5ae6d5196e (patch)
treeb8390beae96a6f266998c9ea1d2a447a5b027aa8 /.tx/config
parent4dbf1144b5d7265f948662ed4d444b222835ba7b (diff)
downloadcaja-05724185f11f68d7432775c4ebc77e5ae6d5196e.tar.bz2
caja-05724185f11f68d7432775c4ebc77e5ae6d5196e.tar.xz
Add size_request to IconContainer to work around unncecessary
relayouting The GtkScrolledWindow uses the widget prefered size as a guess as to whether scrollbars are needed or not in the automatic scrollbars case. If we don't report anything for them we typically get it wrong and cause two size allocate calls on the child each time, with different sizes. This (the two sizes speicifically) will cause unnecessary relayouts of the window. So, we just report the current size of the layed out icons as the prefered size. This is somewhat wrong as its depending on previous size_allocation calls rather than the "ideal" size of the widget, but since the ideal size is ignored anyway and just used for this it works well. taken from: https://git.gnome.org/browse/nautilus/commit/?id=fa6e447
Diffstat (limited to '.tx/config')
0 files changed, 0 insertions, 0 deletions