[Xfce4-commits] [panel-plugins/xfce4-netload-plugin] 01/04: Now that color is set only when it changes, no need to forcedly set it when mode changes.
noreply at xfce.org
noreply at xfce.org
Thu Feb 9 20:42:34 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 d7639056d9dedab80898514dfc5e904a99048aee
Author: Landry Breuil <landry at xfce.org>
Date: Thu Feb 9 20:13:15 2017 +0100
Now that color is set only when it changes, no need to forcedly set it when mode changes.
---
panel-plugin/netload.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/panel-plugin/netload.c b/panel-plugin/netload.c
index 9424b98..8b01780 100644
--- a/panel-plugin/netload.c
+++ b/panel-plugin/netload.c
@@ -390,10 +390,6 @@ static void monitor_set_mode (XfcePanelPlugin *plugin, XfcePanelPluginMode mode,
}
}
-#if GTK_CHECK_VERSION (3, 20, 0)
- for (i = 0; i < SUM; i++)
- set_progressbar_csscolor(global->monitor->status[i], &global->monitor->options.color[i]);
-#endif
monitor_set_size(plugin, xfce_panel_plugin_get_size(plugin), global);
run_update( global );
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list