Re: [PATCH] Measure label width if not yet done so



On Tue, 2006-02-28 at 12:51 +0100, Christian Neumair wrote:
> The attached patch fixes the issue of jumping icons when the text width
> is not yet calculated but nautilus_icon_canvas_item_get_text_rectangle
> is called for determining the initial layout.

This looks good. I commited it. (I removed the item->details->text_width
< 0 check, as that is done in measure_label_text already.)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a fast talking soccer-playing sorceror fleeing from a secret government 
programme. She's an orphaned out-of-work barmaid with the power to bend men's 
minds. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]