[gtk+] GtkSettings: install theme CSS with a lower priority.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkSettings: install theme CSS with a lower priority.
- Date: Sat, 4 Dec 2010 15:14:22 +0000 (UTC)
commit 9a2d1e54334c70d9415fdddeb1d81502e445a9bf
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Nov 17 02:39:17 2010 +0100
GtkSettings: install theme CSS with a lower priority.
This is so GtkSettings has an opportunity to modify theme colors.
gtk/gtksettings.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index f699dec..4c55eec 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -2639,7 +2639,7 @@ settings_update_theme (GtkSettings *settings)
{
gtk_style_context_add_provider_for_screen (settings->screen,
GTK_STYLE_PROVIDER (new_provider),
- GTK_STYLE_PROVIDER_PRIORITY_SETTINGS + 1);
+ GTK_STYLE_PROVIDER_PRIORITY_SETTINGS - 1);
g_object_ref (new_provider);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]