[gnome-themes-standard] adwaita: fix toolbar gradient



commit 61cd23246a0cd36d2eb929205a11dd197991fd9b
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Mar 4 02:00:14 2011 -0500

    adwaita: fix toolbar gradient

 src/adwaita_engine.c           |    6 +++---
 themes/Adwaita/gtk-3.0/gtk.css |    7 +++----
 2 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/src/adwaita_engine.c b/src/adwaita_engine.c
index 7dc4aae..02c2ffd 100644
--- a/src/adwaita_engine.c
+++ b/src/adwaita_engine.c
@@ -538,12 +538,12 @@ draw_tab_arcs (cairo_t *cr,
 	       gdouble height)
 {
 	cairo_arc (cr, 
-		   curve_width, 5.0,
+		   curve_width, 6.0,
 		   2.5,
 		   G_PI, G_PI + G_PI_2);
 
 	cairo_arc (cr,
-		   width - curve_width, 5.0,
+		   width - curve_width, 6.0,
 		   2.5,
 		   G_PI + G_PI_2, 2 * G_PI);
 }
@@ -618,7 +618,7 @@ render_notebook_extension (GtkThemingEngine *engine,
 	cairo_fill (cr);
 
 	if (state & GTK_STATE_FLAG_ACTIVE) {
-		draw_tab_shape_active (cr, tab_curvature, 0, 0, width, 5.0);
+		draw_tab_shape_active (cr, tab_curvature, 0, 0, width, 6.0);
 		gdk_cairo_set_source_rgba (cr, color);
 		cairo_fill (cr);
 	}
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 23a3631..c16950d 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -659,10 +659,9 @@ GtkWindow > GtkVBox > GtkToolbar {
                                      color-stop (0.02, @toolbar_gradient_base),
 				     color-stop (0.16, @toolbar_gradient_step1),
 				     color-stop (0.90, @toolbar_gradient_step2),
-				     color-stop (0.96, @toolbar_gradient_final),
-                                     color-stop (0.97, shade (@theme_bg_color, 0.83)),
-                                     color-stop (0.98, @theme_base_color),
-				     to (@theme_base_color));
+				     color-stop (0.98, @toolbar_gradient_final),
+                                     color-stop (0.99, shade (@theme_bg_color, 0.83)),
+				     to (shade (@theme_bg_color, 0.83)));
     border-width: 0;
     border-radius: 0;
     border-style: none;



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