[Xfce4-commits] [panel-plugins/xfce4-netload-plugin] 01/04: Apply css on the correct widget class for Gtk 3.16/3.18

noreply at xfce.org noreply at xfce.org
Fri Jan 6 23:05:06 CET 2017


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

landry pushed a commit to branch master
in repository panel-plugins/xfce4-netload-plugin.

commit ef926747b4e3dc98bd731a1b87073cd12466b2f2
Author: Landry Breuil <landry at xfce.org>
Date:   Fri Jan 6 23:01:16 2017 +0100

    Apply css on the correct widget class for Gtk 3.16/3.18
---
 panel-plugin/netload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/netload.c b/panel-plugin/netload.c
index 11a969c..680bb5f 100644
--- a/panel-plugin/netload.c
+++ b/panel-plugin/netload.c
@@ -566,7 +566,7 @@ static void set_progressbar_csscolor(GtkWidget* pbar, GdkRGBA* color)
                                                   background-color: %s; background-image: none; }",
                           cssminsizes, cssminsizes,
 #else
-    css = g_strdup_printf(".progressbar { background-color: %s; background-image: none; }",
+    css = g_strdup_printf(".progressbar progress { background-color: %s; background-image: none; }",
 #endif
                           gdk_rgba_to_string(color));
     DBG("setting pbar css to %s", css);

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


More information about the Xfce4-commits mailing list