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
This commit is contained in:
Florian Müllner 2012-11-06 18:17:35 +01:00
parent e46cf80fdd
commit 93a16f6d43

View File

@ -209,7 +209,7 @@ create_style_context (MetaFrames *frames,
provider = gtk_css_provider_get_named (theme_name, variant); provider = gtk_css_provider_get_named (theme_name, variant);
gtk_style_context_add_provider (style, gtk_style_context_add_provider (style,
GTK_STYLE_PROVIDER (provider), GTK_STYLE_PROVIDER (provider),
GTK_STYLE_PROVIDER_PRIORITY_THEME); GTK_STYLE_PROVIDER_PRIORITY_SETTINGS);
} }
g_free (theme_name); g_free (theme_name);