Commit graph

18 commits

Author SHA1 Message Date
Bastien Nocera
9410bea42f screen: Hide brightness heading when unused
Trying to just hide the widget will cause some severely bizarre
display problems, so just set the heading to be empty instead
for now.

We should probably look at another way of handling this case.

https://bugzilla.gnome.org/show_bug.cgi?id=657606
2011-08-31 09:37:05 +01:00
Rodrigo Moya
9132f8f2f8 Avoid making lots of DBus calls to set the brightness when the slider changes
too quickly

https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/805473
2011-07-05 16:39:17 +02:00
Richard Hughes
b5aa23b5ca Use the new gnome-settings-daemon DBus names now the power plugin has moved there 2011-07-04 17:56:02 +01:00
William Jon McCann
509da80abd screen: honor disable-lock-screen setting 2011-03-21 09:50:22 -04:00
Cosimo Cecchi
dd7bd15939 screen: set the label as insensitive when Lock is off
https://bugzilla.gnome.org/show_bug.cgi?id=645149
2011-03-18 13:23:20 -04:00
William Jon McCann
93ad1eedf6 screen: go back to using relative time in the lock ui
This means that lock times are relative to the time the display
backlight turns off.
2011-03-17 01:45:25 -04:00
William Jon McCann
a52956abf6 screen: drop converting between seconds and minutes
All settings now use seconds for consistency.
2011-03-16 23:57:34 -04:00
Matthias Clasen
22bd03db52 Screen: Fix the delay acrobatics
The special-casing of lock delay 0 was wrong, since the > 0 check
was happening after converting to absolute.
https://bugzilla.gnome.org/show_bug.cgi?id=644403
2011-03-10 19:03:51 -05:00
William Jon McCann
c805978234 screen: fix the operation of locking
- Use the correct units power uses seconds the others use minutes
 - Use an absolute time in the lock dropdown (the key uses relative)
 - Use the MIN(screen-off, lock) for the idle time
2011-02-11 17:03:18 -05:00
William Jon McCann
55e1756799 screen: untabify 2011-02-11 17:03:18 -05:00
Bastien Nocera
99c1d959be screen: Make sure the combo box is always set
If a value is between 2 values, choose the upper one. If a value
is higher than the maximim used in the combobox, set it to the
maximum.
2011-02-08 21:36:32 +00:00
Bastien Nocera
d6a2046a0f screen: Set idle-delay to the same value as DPMS timeout
So that the user and session are idle when DPMS kicks in.
2011-02-08 15:23:11 +00:00
Bastien Nocera
c09ecde3cf screen: Hook up screen locking
https://bugzilla.gnome.org/show_bug.cgi?id=637939
2011-02-08 15:23:10 +00:00
Bastien Nocera
d79e31da32 screen: Hide the brightness slider when it cannot be set
If there's no brightness hardware, just hide the brightness related
preferences.
2011-02-07 17:00:00 +00:00
Bastien Nocera
5fd4a77588 screen: Simplify GtkBuilder-using code
By using the already defined macro
2011-02-07 16:59:59 +00:00
Richard Hughes
4d81619414 Connect up the screen dpms off combobox with the new keys in g-s-d 2010-11-18 14:46:33 +00:00
Richard Hughes
3b8ae693d5 Connect up the brightness slider and the dim checkbox with gnome-power-manager 2010-11-17 16:56:09 +00:00
William Jon McCann
a6e64f1aa3 [screen] Add screen brightness and lock panel
Not yet wired up.
2010-11-09 23:15:40 -05:00