[Xfce4-commits] [xfce/xfce4-panel] 01/01: pager: let themes override colors

noreply at xfce.org noreply at xfce.org
Sun Mar 19 23:22:45 CET 2017


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository xfce/xfce4-panel.

commit d92efdeb44217b1b46821a1c4d0a345343922d76
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sun Mar 19 23:21:25 2017 +0100

    pager: let themes override colors
    
    With GTK_STYLE_PROVIDER_PRIORITY_APPLICATION themes cannot override
    the style set by the panel plugin, however we only want to provide
    a fallback for themes that don't style wnck-pager at all.
---
 plugins/pager/pager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/pager/pager.c b/plugins/pager/pager.c
index 41956be..da54259 100644
--- a/plugins/pager/pager.c
+++ b/plugins/pager/pager.c
@@ -303,7 +303,7 @@ pager_plugin_style_updated (GtkWidget *pager,
   gtk_css_provider_load_from_data (provider, css_string, -1, NULL);
   gtk_style_context_add_provider (context,
                                GTK_STYLE_PROVIDER (provider),
-                               GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
+                               GTK_STYLE_PROVIDER_PRIORITY_THEME);
   gdk_rgba_free (bg_color);
   g_free (color_string);
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list