[Xfce4-commits] [panel-plugins/xfce4-fsguard-plugin] 01/01: add css classes for gtk 3.16/3.18, untested

noreply at xfce.org noreply at xfce.org
Sun Feb 19 20:10:50 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-fsguard-plugin.

commit 47daca3a62a930a5b8e0fe7134f4937d4430d9b5
Author: Landry Breuil <landry at xfce.org>
Date:   Sun Feb 19 20:10:43 2017 +0100

    add css classes for gtk 3.16/3.18, untested
---
 panel-plugin/fsguard.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/panel-plugin/fsguard.c b/panel-plugin/fsguard.c
index 13f8808..7138e5b 100644
--- a/panel-plugin/fsguard.c
+++ b/panel-plugin/fsguard.c
@@ -444,6 +444,16 @@ fsguard_new (XfcePanelPlugin *plugin)
             .warning progress { background-color: " COLOR_WARNING " ; background-image: none; }\
             .urgent progress { background-color: " COLOR_URGENT " ; background-image: none; }",
              -1, NULL);
+#else
+        gtk_css_provider_load_from_data (css_provider, "\
+            .progressbar.horizontal trough { min-height: 6px; }\
+            .progressbar.horizontal progress { min-height: 6px; }\
+            .progressbar.vertical trough { min-width: 6px; }\
+            .progressbar.vertical progress { min-width: 6px; }\
+            .normal progress { background-color: " COLOR_NORMAL " ; background-image: none; }\
+            .warning progress { background-color: " COLOR_WARNING " ; background-image: none; }\
+            .urgent progress { background-color: " COLOR_URGENT " ; background-image: none; }",
+             -1, NULL);
 #endif
     gtk_style_context_add_provider (
         GTK_STYLE_CONTEXT (gtk_widget_get_style_context (GTK_WIDGET (fsguard->progress_bar))),

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


More information about the Xfce4-commits mailing list