[nautilus] list-view: fix expand/fill visibility of the column editor dialog



commit 4359343f94d255929621fb4fa1f08b67ded4bf96
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Mar 3 09:43:36 2011 -0500

    list-view: fix expand/fill visibility of the column editor dialog

 src/nautilus-list-view.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index de8cf72..3c243a4 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -2568,10 +2568,11 @@ create_column_editor (NautilusListView *view)
 	
 	gtk_window_set_default_size (GTK_WINDOW (window), 300, 400);
 
-	box = gtk_vbox_new (FALSE, 12);
+	box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
 	gtk_container_set_border_width (GTK_CONTAINER (box), 12);
 	gtk_widget_show (box);
-	gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (window))), box);
+	gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (window))), box,
+			    TRUE, TRUE, 0);
 
 	label_text = _("Choose the order of information to appear in this folder:");
 	str = g_strconcat ("<b>", label_text, "</b>", NULL);



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