After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 710393 - Port to UPower 1.0 API
Port to UPower 1.0 API
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Power
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Richard Hughes
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-10-17 13:43 UTC by Bastien Nocera
Modified: 2013-10-21 20:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
power: Use icons from UPower (1.90 KB, patch)
2013-10-17 15:24 UTC, Bastien Nocera
committed Details | Review
power: Fix build (1.41 KB, patch)
2013-10-17 15:24 UTC, Bastien Nocera
committed Details | Review
power: Fix run-time for DeviceChanged signal removal (6.62 KB, patch)
2013-10-17 15:24 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2013-10-17 13:43:57 UTC
Removing the home-made composite battery at least.
Comment 1 Colin Walters 2013-10-17 14:47:25 UTC
The Continuous build is going to be broken until this is fixed.
Comment 2 Bastien Nocera 2013-10-17 15:24:23 UTC
Created attachment 257547 [details] [review]
power: Use icons from UPower
Comment 3 Bastien Nocera 2013-10-17 15:24:28 UTC
Created attachment 257548 [details] [review]
power: Fix build

up_client_enumerate_devices_sync() was removed.
Comment 4 Bastien Nocera 2013-10-17 15:24:34 UTC
Created attachment 257549 [details] [review]
power: Fix run-time for DeviceChanged signal removal

The DeviceChanged signal was removed, instead, each interesting
device should be monitored individually. This means we need to keep
our own device list locally.
Comment 5 Bastien Nocera 2013-10-17 15:45:09 UTC
Needs more cleanups to use the DisplayDevice.

Attachment 257547 [details] pushed as 63bf771 - power: Use icons from UPower
Attachment 257548 [details] pushed as ceafe6f - power: Fix build
Attachment 257549 [details] pushed as 6f78b2a - power: Fix run-time for DeviceChanged signal removal
Comment 6 Bastien Nocera 2013-10-21 20:57:59 UTC
And merged the simplification using the new display device.