Summary: | notify::lid-is-closed not emitted | ||
---|---|---|---|
Product: | upower | Reporter: | Federico Mena-Quintero <federico> |
Component: | general | Assignee: | Richard Hughes <richard> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | foo.c |
Description
Federico Mena-Quintero
2011-11-16 11:49:41 UTC
Created attachment 53610 [details]
foo.c
UPower doesn't use the PropertiesChanged signal at all. We could do something ugly like this: https://git.gnome.org/browse/gnome-session/tree/gnome-session/gsm-manager.c#n2314 Or we could port the whole thing to GDBus... This is done (the hack, not the port) in my branch. Fixed in master with the GDBus port of libupower-glib. commit 28438a7672eec8277341d14121bf267f8e0542b3 Author: Bastien Nocera <hadess@hadess.net> Date: Sat Oct 12 21:49:21 2013 +0200 lib: Emit notify:: signals In the UpClient object. https://bugs.freedesktop.org/show_bug.cgi?id=43001 commit 7531dbdac05f1698d565f564f2280aafbeb1ba57 Author: Bastien Nocera <hadess@hadess.net> Date: Sat Oct 12 21:41:33 2013 +0200 daemon: Emit the PropertiesChanged signal Use raw D-Bus. https://bugs.freedesktop.org/show_bug.cgi?id=43001 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.