[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 01/02: decreased bar color again that was mistakenly modified while increasing the spacing in the dialogs
noreply at xfce.org
noreply at xfce.org
Sun Oct 14 23:18:27 CEST 2018
This is an automated email from the git hooks/post-receive script.
t i m y s t e r y p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-sensors-plugin.
commit 0f3f66209bb3d64326b60a34c4d8368c44632d26
Author: Fabian <timystery at arcor.de>
Date: Sun Oct 14 22:18:49 2018 +0200
decreased bar color again that was mistakenly modified while increasing the spacing in the dialogs
---
panel-plugin/sensors-plugin.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/sensors-plugin.c b/panel-plugin/sensors-plugin.c
index c0978dc..776e493 100644
--- a/panel-plugin/sensors-plugin.c
+++ b/panel-plugin/sensors-plugin.c
@@ -89,6 +89,7 @@ remove_gsource (guint gsource_id)
}
}
+#define BAR_SIZE 8
/* -------------------------------------------------------------------------- */
static void
@@ -98,10 +99,10 @@ sensors_set_levelbar_size (GtkWidget *ptr_levelbar, int siz_panelheight, int pan
g_return_if_fail (G_IS_OBJECT(ptr_levelbar));
if (panelorientation == XFCE_PANEL_PLUGIN_MODE_HORIZONTAL) {
- gtk_widget_set_size_request (ptr_levelbar, BORDER+2, siz_panelheight-BORDER);
+ gtk_widget_set_size_request (ptr_levelbar, BAR_SIZE+2, siz_panelheight-BAR_SIZE);
}
else {
- gtk_widget_set_size_request (ptr_levelbar, siz_panelheight-BORDER, BORDER+2);
+ gtk_widget_set_size_request (ptr_levelbar, siz_panelheight-BAR_SIZE, BAR_SIZE+2);
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list