[Xfce4-commits] [panel-plugins/xfce4-diskperf-plugin] 02/05: Call ResetMonitorBar instead of SetMonitorBarColor at the end of diskperf_read_config()

noreply at xfce.org noreply at xfce.org
Sun Feb 19 12:40:56 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-diskperf-plugin.

commit bfb9e75555aaf8929c2d160243067ec7099c8372
Author: Landry Breuil <landry at xfce.org>
Date:   Sun Feb 19 12:36:15 2017 +0100

    Call ResetMonitorBar instead of SetMonitorBarColor at the end of diskperf_read_config()
    
    ResetMonitorBar will call SetMonitorBarColor, and set the r/w pbar pointers.
---
 panel-plugin/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index ca05901..a9dd315 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -629,7 +629,7 @@ static void diskperf_read_config (XfcePanelPlugin *plugin,
     if ((value = xfce_rc_read_entry (rc, (CONF_READ_WRITE_COLOR), NULL))) {
         gdk_rgba_parse (poConf->aoColor + RW_DATA, value);
     }
-    SetMonitorBarColor (poPlugin);
+    ResetMonitorBar (poPlugin);
 
     xfce_rc_close (rc);
 }				/* diskperf_read_config() */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list