Re: UPower 1.0 API changes

2013-10-21 Thread Bastien Nocera
On Mon, 2013-10-21 at 13:02 +0200, Bastien Nocera wrote: > > The rest of > > the improvements are great and much needed so it'd be a shame to have to > > stick on 0.9. > > In the GNOME stack, we had 3 users in the shell stack > (gnome-settings-daemon, gnome-control-center, and gnome-shell), and

Re: UPower 1.0 API changes

2013-10-21 Thread Bastien Nocera
On Mon, 2013-10-21 at 11:26 +0100, Iain Lane wrote: > Hi, > > On Thu, Oct 17, 2013 at 03:44:45PM +0200, Bastien Nocera wrote: > > Heya, > > […] > > libupower-glib > > -- > > […] > > Removed functions: > > - up_client_get_properties_sync() > > - up_client_enumerate_devices_sync() > >

Re: UPower 1.0 API changes

2013-10-21 Thread Iain Lane
Hi, On Thu, Oct 17, 2013 at 03:44:45PM +0200, Bastien Nocera wrote: > Heya, > […] > libupower-glib > -- > […] > Removed functions: > - up_client_get_properties_sync() > - up_client_enumerate_devices_sync() > - up_client_get_on_low_battery() (use the "warning-level" property on > the

Re: Fwd: UPower 1.0 API changes

2013-10-21 Thread Àlex Fiestas
On Friday 18 October 2013 21:15:46 Michael Biebl wrote: > Removing the suspend/hibernate functionality most likely means for > them that they either have to rely on systemd or cook up their own > solution. XFCE and KDE are much more hesitant to rely on systemd > afaik, so I'd be interested to know

Fwd: UPower 1.0 API changes

2013-10-18 Thread Michael Biebl
Bastien's response -- Forwarded message -- From: Bastien Nocera Date: 2013/10/18 Subject: Re: UPower 1.0 API changes To: Michael Biebl On Fri, 2013-10-18 at 14:52 +0200, Michael Biebl wrote: > Do you know if XFCE (e.g. xfce-power-manager) and KDE (Solid, > powe

Fwd: UPower 1.0 API changes

2013-10-18 Thread Michael Biebl
this was supposed to go to the list... -- Forwarded message -- From: Michael Biebl Date: 2013/10/18 Subject: Re: UPower 1.0 API changes To: Bastien Nocera Hi, 2013/10/17 Bastien Nocera : > > Removed functions: > - up_client_get_proper

UPower 1.0 API changes

2013-10-17 Thread Bastien Nocera
Heya, I'll be blogging shortly[1] about the UPower changes that I've made on master. Consider this a simple porting guide for your applications. libupower-glib -- Added functions: - up_client_get_display_device(), gets you a UpDevice that represents the combination of all batteries a