[rhythmbox] source-header: slightly tweak the header toolbar appearance



commit 6c6c6cfd47dce5286313929fbcb6d54793a30be2
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Mar 22 19:13:30 2011 -0400

    source-header: slightly tweak the header toolbar appearance
    
    Remove border, and uncomment the style context parsing.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645577

 shell/rb-source-header.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/shell/rb-source-header.c b/shell/rb-source-header.c
index 14ee713..0e38199 100644
--- a/shell/rb-source-header.c
+++ b/shell/rb-source-header.c
@@ -160,17 +160,17 @@ force_no_shadow (GtkWidget *widget)
 	if (provider == NULL) {
 		const char *style =
 			"GtkToolbar {\n"
-			"	-GtkToolbar-shadow-type: none\n"
+			"	-GtkToolbar-shadow-type: none;\n"
+			"       border-style: none;\n"
 			"}";
 
 		provider = gtk_css_provider_new ();
 		gtk_css_provider_load_from_data (provider, style, -1, NULL);
-	}
 
-	/*
-	gtk_style_context_add_provider (gtk_widget_get_style_context (widget),
-					GTK_STYLE_PROVIDER (provider),
-					GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); */
+		gtk_style_context_add_provider (gtk_widget_get_style_context (widget),
+						GTK_STYLE_PROVIDER (provider),
+						GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
+	}
 }
 
 static void



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