[Xfce4-commits] [panel-plugins/xfce4-hardware-monitor-plugin] 17/29: SwapUsageMonitor no longer has a user-configurable max, so dont save it

noreply at xfce.org noreply at xfce.org
Mon Dec 18 12:45:48 CET 2017


This is an automated email from the git hooks/post-receive script.

o   m   e   g   a   p   h   i   l       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-hardware-monitor-plugin.

commit 88df30674b999098eb2ffe56bf78108e3248ec86
Author: OmegaPhil <OmegaPhil at startmail.com>
Date:   Tue Nov 28 20:24:39 2017 +0000

    SwapUsageMonitor no longer has a user-configurable max, so dont save it
---
 src/monitor-impls.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/monitor-impls.cpp b/src/monitor-impls.cpp
index a319f1b..398e869 100644
--- a/src/monitor-impls.cpp
+++ b/src/monitor-impls.cpp
@@ -657,11 +657,6 @@ void SwapUsageMonitor::save(XfceRc *settings_w)
   xfce_rc_write_entry(settings_w, "type", "swap_usage");
   xfce_rc_write_int_entry(settings_w, "update_interval", update_interval());
   xfce_rc_write_bool_entry(settings_w, "fixed_max", fixed_max());
-
-  // No support for floats - stringifying
-  Glib::ustring setting = String::ucompose("%1", max_value);
-  xfce_rc_write_entry(settings_w, "max", setting.c_str());
-
   xfce_rc_write_entry(settings_w, "tag", tag.c_str());
 }
 

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


More information about the Xfce4-commits mailing list