[Xfce4-commits] [panel-plugins/xfce4-systemload-plugin] 01/02: set progressbar trough and color minimal width/height to 4px so that it looks like with gtk+2
noreply at xfce.org
noreply at xfce.org
Sun Jun 19 14:54:49 CEST 2016
This is an automated email from the git hooks/post-receive script.
landry pushed a commit to branch master
in repository panel-plugins/xfce4-systemload-plugin.
commit 03e1cc1309411475bba322c59be095f47c2b866b
Author: Landry Breuil <landry at xfce.org>
Date: Sun Jun 19 14:54:33 2016 +0200
set progressbar trough and color minimal width/height to 4px so that it looks like with gtk+2
---
panel-plugin/systemload.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index 68754b3..0f73a37 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -447,7 +447,9 @@ setup_monitor(t_global_monitor *global)
#if GTK_CHECK_VERSION (3, 16, 0)
#if GTK_CHECK_VERSION (3, 20, 0)
- css = g_strdup_printf("progressbar progress { background-color: %s; background-image: none; }",
+ css = g_strdup_printf("progressbar trough { min-width: 4px; min-height: 4px; } \
+ progressbar progress { min-width: 4px; min-height: 4px; \
+ background-color: %s; background-image: none; }",
#else
css = g_strdup_printf(".progressbar { background-color: %s; background-image: none; }",
#endif
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list