Alessandro Bono
891b8be198
screen: Update comment
...
Helps: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2196
2023-02-03 14:56:39 +00:00
sunflowerskater
1be44da216
screen: Add subtitle for the "Automatic Screen Lock" row
...
The "Automatic Screen Lock" row doesn't have a subtitle.
This commit adds the subtitle suggested by Allan Day in:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1553#note_1636628
2023-01-09 14:46:44 +00:00
sunflowerskater
34bbc50870
screen: Make some strings shorter
...
The strings related to screen blank are long and cumbersome.
This commit makes these strings shorter, following the advice from:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1433#note_1607990
2023-01-09 14:46:44 +00:00
Marco Melorio
a26f9f3346
screen: Remove usage of deprecated gtk_widget_hide
2023-01-02 22:10:39 +00:00
Andre Klapper
d47ec1c2d0
Privacy/Notifications: Sync Lock screen notifications setting string
...
Fixes #2157
2022-12-02 11:10:15 +01:00
Allan Day
888105b0b1
privacy: Change feature name to "Screen Lock"
...
The feature is "Screen Lock". "Screen" on its own doesn't mean
very much.
Fixes #2156
2022-11-22 16:39:54 +00:00
Jake Dane
89443fe550
desktop: Remove obsolete Bugzilla entries
...
The `X-GNOME-Bugzilla-*` entries were for use by bug-buddy, a GNOME 2
technology that's been gone for over a decade. These entries are
obsolete and can be removed from all desktop files.
The `X-GNOME-Settings-Panel` entry is also obsolete as far as I can
tell and only these panels had it in their desktop file: notifications,
sharing, sound and user-accounts. These entries can also be removed.
After removing the `X-GNOME-Bugzilla-*` entries, the desktop files have
no more variables in them. The meson `configure_file` step is therefor
pointless—there are no variables to configure. As such the
`*.desktop.in.in` files are renamed to `*.desktop.in` to reflect this
and `meson.build` files are modified to remove `configure_file` step.
2022-10-20 13:20:09 +00:00
Marco Trevisan (Treviño)
72863a8f56
screen: Add Screen Privacy section to show Privacy screen toggle
...
The privacy screen toggle is visible only when there's a monitor that
supports it and it's modifiable only when there's not hardware lock.
Fixes : #909
2022-07-28 22:47:14 +00:00
Marco Trevisan (Treviño)
b327301951
Panels: Rename lock panel into screen panel
...
This was designed some time ago [1] but never actually implemented, so:
- Change the screen lock section to "screen"
- Move the screen section up, so it's next to the other types of
hardware
- Added a Screen lock section in there
[1] https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/909#note_737827
2022-07-28 22:47:14 +00:00
Bastien Nocera
66808c2b3f
screen: Remove screen panel
...
It's been replaced by the updated Power panel and the new Privacy panel.
2013-01-17 11:06:02 +01:00
Cosimo Cecchi
8d5f2908b5
panels: add --sourcedir=$(srcdir) when generating resource list
...
Like b8e93fb333
but for all panels.
2013-01-07 16:23:57 -05:00
Cosimo Cecchi
b6b77de982
screen: use a GResource for GtkBuilder UI definition
...
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:16 +01:00
Matthias Clasen
3d27d8caaf
shell: Fittsify panels
...
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.
https://bugzilla.gnome.org/show_bug.cgi?id=691229
2013-01-07 10:51:29 +01:00
Cosimo Cecchi
9ae15e6df8
screen: remove unused code
...
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-04 20:34:38 +01:00
Bastien Nocera
e419ee7d4e
panels: Remove unused X-GNOME-Settings-Panel key
2012-12-11 17:09:04 +01:00
Bastien Nocera
3686cf7eb8
shell: Make all control-center plugins static
...
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.
By the same token, it will stop external panels from being
created, and loaded.
https://bugzilla.gnome.org/show_bug.cgi?id=690036
2012-12-11 17:07:39 +01:00
Jeremy Bicha
a877915e9b
screen: Use the proper Unicode ellipsis (…) instead of three dots
...
https://bugzilla.gnome.org/show_bug.cgi?id=689497
2012-12-03 09:14:19 -05:00
Thomas Wood
4f322b8c1c
screen: include string.h to avoid implicit declaration of function 'strstr'
2012-11-13 14:46:00 +00:00
Bastien Nocera
75e0fa8449
screen: Don't print a warning with no backlight device
2012-10-11 13:13:32 +02:00
Bastien Nocera
39bde7a012
screen: Avoid accessing destroyed panel
...
When we cancel the Brightness calls because the panel is getting
destroyed, we shouldn't try to access panel widgets.
https://bugzilla.gnome.org/show_bug.cgi?id=677963
2012-10-11 13:11:59 +02:00
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