[vte] Add the style context provider with FALLBACK priority



commit a264918ad22973c69897c559260e77cb14018235
Author: Iain Lane <iain orangesquash org uk>
Date:   Fri Nov 14 16:02:47 2014 +0000

    Add the style context provider with FALLBACK priority
    
    Adwaita doesn't set these properties any more, but other themes might
    want to. Set a lower priority than the theme.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=740123

 src/vte.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 8f43203..a60bc2a 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -8245,7 +8245,7 @@ vte_terminal_init(VteTerminal *terminal)
         context = gtk_widget_get_style_context (&terminal->widget);
         gtk_style_context_add_provider (context,
                                         VTE_TERMINAL_GET_CLASS (terminal)->priv->style_provider,
-                                        GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
+                                        GTK_STYLE_PROVIDER_PRIORITY_FALLBACK);
 }
 
 /* Tell GTK+ how much space we need. */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]