[mutter] frames: Bump priority of style providers
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] frames: Bump priority of style providers
- Date: Mon, 12 Nov 2012 18:31:57 +0000 (UTC)
commit 93a16f6d435cb464839dddb0d18ba1ece9884e6c
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 1988467..dcc18ce 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -209,7 +209,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);
}
g_free (theme_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]