Now that color is set only when it changes, no need to forcedly set it when mode changes.

master
Landry Breuil 2017-02-09 20:13:15 +01:00
parent 85668834b7
commit d7639056d9
1 changed files with 0 additions and 4 deletions

View File

@ -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); monitor_set_size(plugin, xfce_panel_plugin_get_size(plugin), global);
run_update( global ); run_update( global );