[Xfce4-commits] <xfce4-diskperf-plugin:master> Apply color settings upon plugin startup.

Landry Breuil noreply at xfce.org
Sat Jan 23 13:04:01 CET 2010


Updating branch refs/heads/master
         to 3e94c2c0f40f81098676c6839b5f6feb357307da (commit)
       from 27cfb3cdcea2ea0b6bcaf42fa16332abee207ace (commit)

commit 3e94c2c0f40f81098676c6839b5f6feb357307da
Author: Landry Breuil <landry at rhaalovely.net>
Date:   Sat Jan 23 12:59:51 2010 +0100

    Apply color settings upon plugin startup.
    
    From Launchpad #232123, fwded' by Lionel Le Folgoc, thanks!

 panel-plugin/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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



More information about the Xfce4-commits mailing list