From d7639056d9dedab80898514dfc5e904a99048aee Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Thu, 9 Feb 2017 20:13:15 +0100 Subject: [PATCH] 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 );