[nautilus] floating-bar: don't use a yellow color for the floating bar



commit 275744644c95cc039efae7029a94814b47274ff7
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Mar 15 10:13:00 2011 -0400

    floating-bar: don't use a yellow color for the floating bar
    
    Make it also a bit shorter.

 data/nautilus.css           |   13 +++++++++----
 src/nautilus-floating-bar.c |    4 ++--
 2 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/data/nautilus.css b/data/nautilus.css
index 9d07c4b..5e7ff49 100644
--- a/data/nautilus.css
+++ b/data/nautilus.css
@@ -21,16 +21,21 @@
 
 
 NautilusFloatingBar {
-    background-color: #fdf6bb;
-    border-color: #f4e564;
-    border-radius: 1;
-    border-width: 2;
+    background-color: shade (@theme_base_color, 0.95);
+    border-color: darker (shade (@theme_base_color, 0.95));
+    border-radius: 2;
+    border-width: 1;
+
+    padding: 0;
 }
 
 NautilusFloatingBar > GtkBox > GtkButton {
     background-color: alpha (@theme_base_color, 0.0);
     background-image: none;
     border-style: none;
+
+    -GtkButton-image-spacing: 0;
+    -GtkButton-inner-border: 0;
 }
 
 NautilusPlacesSidebar {
diff --git a/src/nautilus-floating-bar.c b/src/nautilus-floating-bar.c
index 65c0afb..d0f4e54 100644
--- a/src/nautilus-floating-bar.c
+++ b/src/nautilus-floating-bar.c
@@ -199,8 +199,8 @@ nautilus_floating_bar_constructed (GObject *obj)
 	gtk_label_set_ellipsize (GTK_LABEL (w), PANGO_ELLIPSIZE_END);
 	gtk_box_pack_start (GTK_BOX (box), w, FALSE, FALSE, 0);
 	g_object_set (w,
-		      "margin-top", 6,
-		      "margin-bottom", 6,
+		      "margin-top", 2,
+		      "margin-bottom", 2,
 		      "margin-left", 6,
 		      "margin-right", 6,
 		      NULL);



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