[nautilus] query-editor: avoid double borders in Select Type dialog



commit 6d7725c088b5da70dfba7822d461f772d2aa0b1e
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sun Feb 9 17:20:54 2014 -0800

    query-editor: avoid double borders in Select Type dialog

 src/nautilus-query-editor.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-query-editor.c b/src/nautilus-query-editor.c
index 73a3873..127c0c5 100644
--- a/src/nautilus-query-editor.c
+++ b/src/nautilus-query-editor.c
@@ -525,11 +525,10 @@ type_combo_changed (GtkComboBox *combo_box, NautilusQueryEditorRow *row)
                gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled),
                                                GTK_POLICY_AUTOMATIC,
                                                GTK_POLICY_AUTOMATIC);
-               gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled),
-                                                    GTK_SHADOW_IN);
-               
+
                gtk_widget_show (scrolled);
-               gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), scrolled, 
TRUE, TRUE, 6);
+               gtk_container_set_border_width (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG 
(dialog))), 0);
+               gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), scrolled, 
TRUE, TRUE, 0);
 
                treeview = gtk_tree_view_new ();
                gtk_tree_view_set_model (GTK_TREE_VIEW (treeview),


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