[nautilus/previewer] Revert "places-sidebar: use per-side border widths for the sidebar frames"



commit cd6c7694de8763244ba56fc5247ddd8b59074c92
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Apr 28 21:29:43 2011 -0400

    Revert "places-sidebar: use per-side border widths for the sidebar frames"
    
    This reverts commit a21e3e21940b84f93e0e82320ccfbb6e9a9f2cc3.

 data/nautilus.css             |   12 ------------
 src/nautilus-places-sidebar.c |    2 +-
 2 files changed, 1 insertions(+), 13 deletions(-)
---
diff --git a/data/nautilus.css b/data/nautilus.css
index 6c88e75..12c3473 100644
--- a/data/nautilus.css
+++ b/data/nautilus.css
@@ -54,15 +54,3 @@ NautilusFloatingBar > GtkBox > GtkButton {
     -GtkButton-inner-border: 0;
 }
 
-NautilusWindow .sidebar .frame {
-    border-width: 1 0 0 0;
-    border-style: solid;
-    border-color: shade (@theme_bg_color, 0.66);
-    border-radius: 0;
-}
-
-NautilusWindow > GtkTable > .pane-separator {
-    border-width: 1 1 0 0;
-    border-style: solid;
-    border-color: shade (@theme_bg_color, 0.66);
-}
diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c
index 16982bd..6e49a4c 100644
--- a/src/nautilus-places-sidebar.c
+++ b/src/nautilus-places-sidebar.c
@@ -3031,7 +3031,7 @@ nautilus_places_sidebar_init (NautilusPlacesSidebar *sidebar)
 					GTK_POLICY_AUTOMATIC);
 	gtk_scrolled_window_set_hadjustment (GTK_SCROLLED_WINDOW (sidebar), NULL);
 	gtk_scrolled_window_set_vadjustment (GTK_SCROLLED_WINDOW (sidebar), NULL);
-	gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sidebar), GTK_SHADOW_IN);
+	gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sidebar), GTK_SHADOW_NONE);
 
 	gtk_style_context_set_junction_sides (gtk_widget_get_style_context (GTK_WIDGET (sidebar)),
 					      GTK_JUNCTION_RIGHT | GTK_JUNCTION_LEFT);



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