Commit graph

10 commits

Author SHA1 Message Date
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