Updating branch refs/heads/master
         to d905fdace106c57e80e83e71fbabd5fde67882ca (commit)
       from f79ba1a1cb8aa45608675fc9dfabb45c89163482 (commit)

commit d905fdace106c57e80e83e71fbabd5fde67882ca
Author: Landry Breuil <[email protected]>
Date:   Tue Apr 24 09:56:17 2012 +0200

    When using APM on Net/OpenBSD, set battmon->method

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

diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index c05c834..5fdfcd3 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -325,6 +325,8 @@ update_apm_status(t_battmon *battmon)
       time_remaining = apm.minutes_left;
       acline = apm.ac_state ? TRUE : FALSE;
 
+      battmon->method = BM_USE_APM;
+
 #else
 #if defined(__linux__) || defined(APMDEVICE)
     struct apm_info apm;
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to