GNOME Bugzilla – Bug 658493
emit a change signal, when user changes screen brightness
Last modified: 2012-02-22 12:36:54 UTC
Created attachment 195913 [details] [review] emit change signal, when brightness is changed from userspace emit a change signal, when user changes screen brightness. use case: this would allow one to manage screen brightness from gnome shell, without polling for change.
gnome shell extension to test with - http://people.redhat.com/rkhadgar/personal/gnome3-tablet/brightness.tar.xz
Makes sense to me, patch looks fine too. hadess, what do you think?
Wouldn't it make sense to just show those as properties, so that you have all the information to present it right there, and notifications for free? FWIW, that's a 3.4 item, not sure it's the right time to tweak the D-Bus API.
Can we get this into 3.4? The brightness extension would be useful. AfC
I've pushed the patch for 3.4 commit 0e71d83c56108691c152c4c4be88abf6fe3ced2d Author: Ritesh Khadgaray <khadgaray@gmail.com> Date: Wed Feb 22 12:33:42 2012 +0000 power: Emit a Changed() signal when the backlight changes Signed-off-by: Richard Hughes <richard@hughsie.com> We don't want to do this as a property, as reading back the new value is semi-expensive and if nothing cares then we don't want to do this every time.