Updating branch refs/heads/master
         to bcb39852b82c6263a8bbe9312421be3534f5b45a (commit)
       from 8242568cee62ad9879483e12ab09ebb6f796d234 (commit)

commit bcb39852b82c6263a8bbe9312421be3534f5b45a
Author: Ali Abdallah <[email protected]>
Date:   Tue Feb 2 11:07:10 2010 +0100

    Only check daemon version (for the properties name style) if we are using 
dkp.

 src/xfpm-power.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/xfpm-power.c b/src/xfpm-power.c
index 50bb0b9..c1a5425 100644
--- a/src/xfpm-power.c
+++ b/src/xfpm-power.c
@@ -270,6 +270,9 @@ xfpm_power_check_daemon_version (XfpmPower *power, 
GHashTable *props)
     GValue *value;
     gint power_version;
        
+    if ( power->priv->dkp_is_upower)
+       return;
+
     value = g_hash_table_lookup (props, "DaemonVersion");
 
     if (value == NULL) 
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to