! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[PATCH] Update for NetworkManager 0.9
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Mikhail Efremov 2011-03-16 17:46:21 CET
Created attachment 3568 
Support-NetworkManager-0.9.patch

sleep() and wake() methods are deprecated since NM 0.7 and removed in NM 0.9.
This patch replaces them with Sleep() method.
But if it is desirable to support NM versions < 0.7 then there is needed to do something in addition.
Comment 1 Ali Abdallah editbugs 2011-05-05 14:17:03 CEST
Thanks for the patch, i'm hesitating a bit to apply it, since i want to support older version of nm < 0.9...
Comment 2 Mikhail Efremov 2011-05-05 19:37:14 CEST
The Sleep() method was added in NM-0.7, so it will break compatibility only with NM < 0.7. I'm not sure that anyone uses the latest Xfce with so old NM.
Comment 3 Ali Abdallah editbugs 2011-05-12 11:36:57 CEST
(In reply to comment #2)
> The Sleep() method was added in NM-0.7, so it will break compatibility only
> with NM < 0.7. I'm not sure that anyone uses the latest Xfce with so old NM.

Okay convinced! patch applied, thanks!

Bug #7419

Reported by:
Mikhail Efremov
Reported on: 2011-03-16
Last modified on: 2011-05-12

People

Assignee:
Ali Abdallah
CC List:
0 users

Version

Version:
Unspecified

Attachments

Support-NetworkManager-0.9.patch (2.26 KB, patch)
2011-03-16 17:46 CET , Mikhail Efremov
no flags

Additional information