Skip to content
  • Michael Meeks's avatar
    impl. to cope with having a paned with no child2, without doing lots of · 6b579803
    Michael Meeks authored
    2002-03-07  Michael Meeks  <michael@ximian.com>
    
    	* libnautilus-private/nautilus-horizontal-splitter.c
    	(nautilus_horizontal_splitter_size_allocate): impl. to
    	cope with having a paned with no child2, without doing
    	lots of bogus size re-allocation.
    	(nautilus_horizontal_splitter_class_init): upd.
    	(nautilus_horizontal_splitter_pack2): impl, since
    	gtkpaned relies on the re-size to generate an expose
    	to re-render it's splitter grabber thing.a
    
    	* src/nautilus-sidebar.c
    	(nautilus_sidebar_set_width): impl. moving all sidebar
    	preferences here,
    	(nautilus_sidebar_init): move auto value setup
    	here from class_init to save possible re-enterancy
    	issue. Request the size we want for the sidebar,
    	the pane will under-allocate if neccessary.
    	Set the old_width to the correct size so we don't
    	re-render the paned lots as it swiches about.
    
    	* src/nautilus-window.c
    	(nautilus_window_constructed): reflow to simplify,
    	call sidebar_set_width.
    	(...
    6b579803