[metacity] frames: Bump priority of style providers
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] frames: Bump priority of style providers
- Date: Wed, 8 Oct 2014 18:30:58 +0000 (UTC)
commit 6b0d325442b995a78b8783384f7ec370db1369a4
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Nov 6 18:17:35 2012 +0100
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/frames.c b/src/ui/frames.c
index f73fe43..bfe468e 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]