From 6b0d325442b995a78b8783384f7ec370db1369a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 6 Nov 2012 18:17:35 +0100 Subject: frames: Bump priority of style providers Since GTK+ commit b1ad5c8abc2c, GtkSetting's CSS provider uses a priority of GTK_STYLE_PROVIDER_PRIORITY_SETTINGS, which means it will overwrite the ones we create ourselves. Bump the priority to fix dark window decorations. https://bugzilla.gnome.org/show_bug.cgi?id=688182 --- src/ui/frames.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/frames.c') diff --git a/src/ui/frames.c b/src/ui/frames.c index f73fe430..bfe468e0 100644 --- a/src/ui/frames.c +++ b/src/ui/frames.c @@ -210,7 +210,7 @@ create_style_context (MetaFrames *frames, provider = gtk_css_provider_get_named (theme_name, variant); gtk_style_context_add_provider (style, GTK_STYLE_PROVIDER (provider), - GTK_STYLE_PROVIDER_PRIORITY_THEME); + GTK_STYLE_PROVIDER_PRIORITY_SETTINGS); } if (theme_name) -- cgit v1.2.1