[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 01/01: Fix css styling
noreply at xfce.org
noreply at xfce.org
Mon Feb 27 04:21:30 CET 2017
This is an automated email from the git hooks/post-receive script.
ToZ pushed a commit to branch master
in repository panel-plugins/xfce4-genmon-plugin.
commit 06778e923b6962b3ca6b40f1bc01e33d7be69e9d
Author: ToZ <tony.paulic at gmail.com>
Date: Sun Feb 26 22:21:10 2017 -0500
Fix css styling
---
panel-plugin/main.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 7a79a2e..3081c98 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -423,9 +423,17 @@ static genmon_t *genmon_create_control (XfcePanelPlugin *plugin)
/* make widget padding consistent */
#if GTK_CHECK_VERSION (3, 16, 0)
#if GTK_CHECK_VERSION (3, 20, 0)
- css = g_strdup_printf("* {padding: 1; margin: 1; }");
+ css = g_strdup_printf("\
+ progressbar.horizontal trough { min-height: 6px; }\
+ progressbar.horizontal progress { min-height: 6px; }\
+ progressbar.vertical trough { min-width: 6px; }\
+ progressbar.vertical progress { min-width: 6px; }");
#else
- css = g_strdup_printf("* {padding: 1; margin: 1; }");
+ css = g_strdup_printf("\
+ .progressbar.horizontal trough { min-height: 6px; }\
+ .progressbar.horizontal progress { min-height: 6px; }\
+ .progressbar.vertical trough { min-width: 6px; }\
+ .progressbar.vertical progress { min-width: 6px; }");
#endif
#endif
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list