[nautilus] window: remove unneeded hack



commit ecff22491b96ae244a4454858966301f689ac125
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed May 30 10:10:18 2012 -0400

    window: remove unneeded hack
    
    The notebook is packed as expand, and this was only needed for panes.

 src/nautilus-window.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 868dc4c..26c362a 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -1261,12 +1261,6 @@ create_notebook (NautilusWindow *window)
 	gtk_widget_show (notebook);
 	gtk_container_set_border_width (GTK_CONTAINER (notebook), 0);
 
-	/* Ensure that the view has some minimal size and that other parts
-	 * of the UI (like location bar and tabs) don't request more and
-	 * thus affect the default position
-	 */
-	gtk_widget_set_size_request (GTK_WIDGET (notebook), 60, 60);
-
 	gtk_box_pack_start (GTK_BOX (window->details->main_view),
 			    notebook,
 			    TRUE, TRUE, 0);



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