Commit graph

51 commits

Author SHA1 Message Date
Matthias Clasen
1db660c410 screen: Make notification checkbox focusable
This was certainly just an oversight, but it makes the
checkbox essentially nonaccessible.
2012-09-13 06:41:07 -04:00
Ray Strode
b0e7a5efa8 panels: add register macro
Bastien says he doesn't like the blank class_finalize
functions in every panel and he would like a wrapper
macro to hide them.

This commit does that.
2012-08-21 14:32:33 -04:00
Matthias Clasen
576d6ba04d screen: Keep 'show notifications' sensitive
Even when automatic screen locking is disabled, the user can
still manually lock the screen, and may want to control whether
notifications show up in that case or not.
2012-08-06 14:34:51 -04:00
Giovanni Campagna
95d0a2e537 screen: add "Show Notifications" setting
Add a checkbox to control the visibility of notifications when
the screen is locked.

https://bugzilla.gnome.org/show_bug.cgi?id=658660
2012-07-17 15:50:40 +01:00
Bastien Nocera
4d4aab542a Revert "Brightness & Lock: add Show Notifications setting"
This reverts commit 11ad5954c6.

Committed in error
2012-07-11 11:06:34 +01:00
Giovanni Campagna
11ad5954c6 Brightness & Lock: add Show Notifications setting
Add a switch to control the visibility of notifications when
the screen is locked.

https://bugzilla.gnome.org/show_bug.cgi?id=658660
2012-07-11 11:01:11 +01:00
Matthias Clasen
dd9493821c screen: Fix the build
Move the on_signal callback below the functions that it is using.
2012-06-15 11:41:39 -04:00
Giovanni Campagna
7ab09177e1 screen: Fix for gnome-settings-daemon changes
g-s-d changed its DBus interface, and that made all
external changes to brightness invisible to the panel. Update
accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=662117
2012-06-15 16:04:28 +01:00
Bastien Nocera
8aca1c2090 screen: Use '&' instead of 'and'
Using "&" not only keeps the names shorter but would also keeps the
user focused on the other words which compose the name.

https://bugzilla.gnome.org/show_bug.cgi?id=676562
2012-06-06 17:45:15 +01:00
Florian Müllner
dc381014c0 screen: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:38 +02:00
Piotr Drąg
5f124d6008 all: fix up tooltips
Idea from commit d5088b2eb1.
2012-05-18 18:39:31 +02:00
Bastien Nocera
a2a9db029f screen: Rename icon to "Brightness and Lock"
So as to avoid name clashes with the "Display" panel.

https://bugzilla.gnome.org/show_bug.cgi?id=653015
2012-01-20 13:19:48 +00:00
Florian Müllner
4cd7b6c6dc .desktop: Drop prefix from X-GNOME-Keywords
The field has now been included in the spec, so use the standardized
name.
2011-12-19 16:26:40 +01:00
Bastien Nocera
6665b60422 panels: Update for Shell API changes 2011-11-07 18:03:14 +00:00
Rodrigo Moya
051a2d188e screen: Don't set gnome-session's idle-delay to 1 never 2011-10-06 12:19:08 +02:00
Bastien Nocera
0a6c431978 screen: Update "turn screen off" label
https://bugzilla.gnome.org/show_bug.cgi?id=657921
2011-09-09 10:08:11 +01:00
Bastien Nocera
34594d0dc0 screen: Remove indent on "Turn off..." label
When we remove the brightness slider and heading.
2011-09-08 17:03:22 +01:00
Bastien Nocera
181b313ba8 screen: Fix resulting top-padding
When hiding the brightness bar, don't leave unsightly bits of
frame lying around.

https://bugzilla.gnome.org/show_bug.cgi?id=657606
2011-09-08 17:03:16 +01:00
Bastien Nocera
68982a76dd screen: Don't fill up the space
When the brightness slider is hidden, we're smaller than the
minimum panel size, so don't fill that up.
2011-09-08 17:00:59 +01:00
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
Michael Terry
0a8669a5b5 Add Unity to OnlyShowIn fields
https://bugzilla.gnome.org/show_bug.cgi?id=653661
2011-06-30 12:44:52 +01:00
Matthias Clasen
ebe174f51c Some more a11y fixes
Add labelled-by relations to 'label-less' switches.
2011-05-15 22:14:20 -04:00
Matthias Clasen
5c41ffd602 Fix a11y/keynav issues in screen panel
Setting mnemonics and mnemonic widgets also takes care
of the LABELLED_BY/LABEL_FOR a11y relations.

Part of bug 650132
2011-05-15 14:02:02 -04: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
Thomas Wood
e2f944a66a configure: Group pkg-config checks based on how they are used
Group the pkg-config checks so that pkg-config can remove duplicated CFLAGS
and LIBS.

https://bugzilla.gnome.org/show_bug.cgi?id=636593
2011-02-19 16:46:26 +00: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
Bastien Nocera
9c55991328 screen: Clarify some strings
https://bugzilla.gnome.org/show_bug.cgi?id=640810
2011-01-28 15:57:04 +00:00
Matthias Clasen
38f06df607 screen: Add Monitor as a keyword 2011-01-27 01:37:17 -05:00
Bastien Nocera
d2ceab7be1 panels: Add capplet names
So that debug logs are useful, for those panels.
2011-01-19 15:43:18 +00:00
William Jon McCann
e1d99ef4bd screen: hide at-home location stuff for now
https://bugzilla.gnome.org/show_bug.cgi?id=639785
2011-01-18 17:09:39 -05:00
William Jon McCann
a742bca24b screen: add padding and use a switch 2011-01-11 19:38:45 -05:00
Thomas Wood
d50dadc8ac shell: only include items identified as settings panels in the list
Simplify the category requirements and do not include items that are not
settings panels.
2010-12-20 21:04:49 +00:00
William Jon McCann
98a48ebb6b screen: use system-lock-screen as icon 2010-12-14 11:45:19 -05:00
Rodrigo Moya
0a396a872b Add missing libraries for linking 2010-11-29 17:08:35 +01: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
Bastien Nocera
032d6326d5 panels: Add keywords to all the panels we ship
https://bugzilla.gnome.org/show_bug.cgi?id=399754
2010-11-17 16:02:47 +00:00
William Jon McCann
368f348079 screen: improve label for dim checkbox 2010-11-16 12:23:56 -05:00