Re: [PATCH] Don't constrain sidebar size, don't save back 1 px width



On Tue, 2006-02-21 at 17:18 +0100, Christian Neumair wrote:
> Am Dienstag, den 21.02.2006, 16:34 +0100 schrieb Alexander Larsson:
> > This seems to also remove the default size calculation for windows.
> > Why?
> 
> The actual window size limitations seem to be set in
> nautilus_window_set_initial_window_geometry, and the sidebar width is
> loaded from GConf (/apps/nautilus/preferences/sidebar_width).

But nautilus_window_set_initial_window_geometry does:
EEL_CALL_METHOD (NAUTILUS_WINDOW_CLASS, window,
		 get_default_size, (window, &default_width, &default_height));
which calls the function you removed!

I'm commiting the sidebar part of the patch.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a Nobel prize-winning soccer-playing paramedic with nothing left to lose. 
She's a pregnant French-Canadian wrestler prone to fits of savage, 
blood-crazed rage. They fight crime! 




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