[Xfce4-commits] <xfce4-cpugraph-plugin:master> Properly load the size

Florian noreply at xfce.org
Sat Apr 17 16:16:45 CEST 2010


Updating branch refs/heads/master
         to cfdc1cd8aaae8f6e4bed10aeb26c84965355101f (commit)
       from d6609fd7f3106caedeaeca06adf5d16548db1817 (commit)

commit cfdc1cd8aaae8f6e4bed10aeb26c84965355101f
Author: Florian <frivoal at gmail.com>
Date:   Sat Mar 20 13:41:03 2010 +0900

    Properly load the size
    
    The size property was saved and loaded under different names,
    effectively not being remembered accros restarts. Fix that.

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

diff --git a/panel-plugin/settings.c b/panel-plugin/settings.c
index 12d0036..85e6739 100644
--- a/panel-plugin/settings.c
+++ b/panel-plugin/settings.c
@@ -48,7 +48,7 @@ void read_settings( XfcePanelPlugin * plugin, CPUGraph * base )
 		{
 			rate =  xfce_rc_read_int_entry (rc, "UpdateInterval", rate );
 			nonlinear = xfce_rc_read_int_entry (rc, "TimeScale", nonlinear );
-			size = xfce_rc_read_int_entry( rc, "size", size );
+			size = xfce_rc_read_int_entry( rc, "Size", size );
 			mode = xfce_rc_read_int_entry( rc, "Mode", mode );
 			color_mode = xfce_rc_read_int_entry( rc, "ColorMode", color_mode );
 			frame = xfce_rc_read_int_entry( rc, "Frame", frame );



More information about the Xfce4-commits mailing list