Commit graph

7144 commits

Author SHA1 Message Date
Mohammed Sadiq
1885b2c4f3 datetime: Display month in 2 columns
So that it fits better in smaller screens and the user
doesn't have to scroll to select some months.

This commit implements the updated design[0]

[0] https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/time-date/time-date-adaptive.png
2022-12-01 01:21:24 +00:00
Mohammed Sadiq
e23ff1befc Add cc-month-row
This will be used to show month in the month selection grid
2022-12-01 01:21:24 +00:00
Sam Hewitt
bc67d7dd29 a11y: Update and add descriptions and labels
- adds missing descriptions to some features to better explain them
- moves the cursor size label to the list row
- small word and grammar changes
2022-11-30 17:11:31 -03:30
Richard Hughes
6ddc3f7b12 firmware-security: Soft depend on fwupd 1.8.3 to reduce translator load
This was released many months ago, and it's not likely that someone is going to
ship a bleeding edge GNOME 44 with an obsolete fwupd.

In the event that they do, just fallback to the untranslated attribute name.
2022-11-30 16:35:56 +00:00
Mohammed Sadiq
fa4579246f a11y: typing-page: Fix a typo 2022-11-30 12:59:13 +00:00
Mohammed Sadiq
ad92d1590e a11y: zoom-page: Fix typos 2022-11-30 12:59:13 +00:00
Lubomir Rintel
6c26647154 network: replace wireless-security with libnma's NMAWs
panels/network/wireless-security is essentially an old fork of the part
of nm-connection-editor that is now part of libnma.

The UI elements provided by libnma adhere to the same look as the rest
of gnome-control-center for quite some time now. The functinality they
implement the same functionality and more. In particular, libnma uses
Gcr to provide Smart Card access for keys and certificates.

https://bugzilla.redhat.com/show_bug.cgi?id=1992836
2022-11-30 13:40:09 +01:00
Kaustubh Desale
f896693492 display: Update desktop file to include "Night Light"
This makes search results show that the "Display" panel is the place to find the Night Light settings.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1563
2022-11-30 09:51:25 +00:00
Gotam Gorabh
09e76cb1e3 mouse: Rename "Test Your Settings" button to "Test Settings"
This code changes rename the Test Your Settings button to
Test Settings to reduce the button width size.
By reducing button size it also impact the position of panel title to more centric.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2123
2022-11-29 20:52:49 +00:00
Felipe Borges
e39e21eac3 info-overview: Don't show "Firmware Version" row in virtual machines
This value comes from systemd-hostnamed, which harvests it from
/sys/class/dmi/id/bios_version, which happens to be empty/invalid
in virtual machines (at least KVM powered virtualization).

For this reason, we are better off hiding the "Firmware Version"
row when gnome-control-center is running in a VM.

Fixes #2181
2022-11-28 16:45:06 +00:00
Mohammed Sadiq
150fc13a84 user-accounts: Reduce avatar size in "Other users"
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1498#note_1600864
2022-11-28 11:00:04 +00:00
Mohammed Sadiq
45656c4212 user-accounts: Fix account list styling
Fixes #1926
2022-11-28 11:00:04 +00:00
Mohammed Sadiq
b2db83b058 search: Use CcListRow for rows with go-next icon 2022-11-25 20:59:14 +05:30
Mohammed Sadiq
a850a7260b display: Use CcListRow for rows with go-next icon 2022-11-25 20:59:02 +05:30
Mohammed Sadiq
26fe10348e wacom: Use CcListRow for row with go-next icon 2022-11-25 20:52:28 +05:30
Mohammed Sadiq
f0f2865449 user: add-user-dialog: Use CcListRow for row with go-next icon 2022-11-25 20:52:28 +05:30
Mohammed Sadiq
14f2d0e6ef user: Use CcListRow where appropriate 2022-11-25 20:37:49 +05:30
Mohammed Sadiq
9318791d01 keyboard: Use CcListRow where appropriate 2022-11-25 20:18:36 +05:30
Mohammed Sadiq
fa00953562 region: Use CcListRow for rows with go-next symbolic icons 2022-11-25 20:11:06 +05:30
Mohammed Sadiq
d9905d9b8a a11y: Remove debug code 2022-11-23 17:20:00 +05:30
Mohammed Sadiq
d4bd50835e a11y: seeing-page: Fix updating icons when High Contrast is disabled
If the old icon theme is HighContrast, we should reset the settings when
High Contrast is disabled, so that the default icon theme is used
2022-11-23 17:19:37 +05:30
Mohammed Sadiq
628b14a9d2 a11y: seeing-page: Don't update theme when High Contrast is set
The theme will be set to HighContrast systemwide without explicitly changing
theme name.  So Let's don't update the theme so that if the user reverts
High Contrast settings, the old theme shall be used.
2022-11-23 17:19:37 +05:30
Mohammed Sadiq
7e42076a0a a11y: Update setting animation effects
Instead of the user enabling animation (which is, by default, on),
let it be allowing the user to disable it.

Fixes #2154
2022-11-23 17:19:37 +05:30
Mohammed Sadiq
bd24e9bec3 a11y: various: Remove trailing '.' from strings
Fixes #2154
2022-11-23 17:19:37 +05:30
Mohammed Sadiq
afce64d7dc a11y: Use Title Case for Title
Fixes #2154
2022-11-23 17:19:37 +05:30
Mohammed Sadiq
e935e581ee a11y: Update back button on panel fold change
Fixes #2154
2022-11-23 17:19:37 +05:30
Felipe Borges
b957dedd40 user-accounts: Style password entries as invalid only after interaction
Let's set the "error" style for unmatching passwords only after the
user interacts with the entries.

Fixes #2168
2022-11-23 12:36:45 +01:00
Felipe Borges
dc6633636e microphone: Fix typo where "cameras" was used instead of "microphones"
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1500#note_1600160
2022-11-22 18:19:50 +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
Mohammed Sadiq
0d74920072 display: Allow the night-light error label to wrap
So that it will wrap when needed and fits better on smaller screens
2022-11-22 15:31:53 +00:00
Allan Day
6aeda05ada privacy: Correct awkward description text
Improve phrasing, remove redundent text, and tidy up the structure.

Fixes #2155
2022-11-22 14:41:50 +00:00
Philip Withnall
055bf8feeb privacy: Mention non-sandboxed apps can always use camera/microphone/GPS
These toggles only apply to the portal system, so only restrict access
for sandboxed apps. Non-sandboxed apps (installed into `/usr/bin`) can
always access these resources on typical distributions.

In future, perhaps integration with a MAC (like SELinux) could restrict
access to the camera/microphone/GPS for non-sandboxed applications —
but we invented sandboxing to avoid having to do that, so it seems
unlikely that’s ever going to be implemented. If it is, this wording
can change again.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Fixes: #741
2022-11-22 13:15:01 +00:00
Mohammed Sadiq
6b0cc4399a a11y: Remove no longer used code 2022-11-21 21:49:24 +05:30
Mohammed Sadiq
a25a782496 a11y: Use the new design
Fixes #1084 #1085 #1646 #1701
2022-11-21 21:49:24 +05:30
Mohammed Sadiq
7217bfde6d a11y: Add icon resources 2022-11-21 21:02:06 +05:30
Sam Hewitt
81c1836e80 a11y: Add new panel icons 2022-11-21 20:22:13 +05:30
Mohammed Sadiq
a472f7433a a11y: Add cc-ua-zoom-page
Implement the new design[0] for Zoom panel

[0] https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/a11y/a11y-wires.png
2022-11-21 20:03:32 +05:30
Mohammed Sadiq
eb31393eb4 a11y: Add cc-ua-mouse-page
Implement the new design[0] for Mouse panel

[0] https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/a11y/a11y-wires.png
2022-11-21 19:16:50 +05:30
Mohammed Sadiq
574c1af6c7 a11y: Add cc-ua-typing-page
Implement the new design[0] for Typing panel

[0] https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/a11y/a11y-wires.png
2022-11-21 19:16:50 +05:30
Mohammed Sadiq
ee78ec9ef1 a11y: Add cc-ua-hearing-page
Implement the new design[0] for Hearing panel

[0] https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/a11y/a11y-wires.png
2022-11-21 19:16:50 +05:30
Mohammed Sadiq
dbeb41bdc9 a11y: Add cc-ua-seeing-page
Implement the new design[0] for Seeing panel

[0] https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/a11y/a11y-wires.png
2022-11-21 19:16:50 +05:30
Mohammed Sadiq
ce28d41a9f a11y: Add cc-ua-macros
Add a list of macros for settings and settings keys, so that
we don't have to define them in every class they are used
2022-11-21 17:24:10 +05:30
Mohammed Sadiq
c917fa73c3 common: Don't Handle list-row switch state manually
This was a hack added for libhandy-0, which is no longer required.
Also, this hack results in the switch not working when gtk animations
are turned off.
2022-11-18 04:08:22 +00:00
Nitin Joshi
57405b83d2 info-overview: Add "Firmware Version" row
Users often need information like Firmware version, serial number. Hence, it's
better to provide it by default in GNOME.
This changes is to display Firmware version only in "About" menu.

Reference: #1543
2022-11-16 09:34:56 +00:00
Mohammed Sadiq
824891338d network: Remove old network proxy code 2022-11-15 12:33:51 +00:00
Mohammed Sadiq
500af8e63a network: Use the new proxy widget 2022-11-15 12:33:51 +00:00
Mohammed Sadiq
82bf61580e network: Implement new proxy settings design
This commit adds a proxy page as per the design
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/network/network-wires.png
2022-11-15 12:33:51 +00:00
Mohammed Sadiq
2893f8e3f9 color: Select first device row only if non-NULL
Otherwise we might read some invalid memory resulting in a crash
2022-11-15 16:45:00 +05:30
Pablo Correa Gómez
5d10656689 wwan: wait for apn_list to exist to add SIM providers
This avoids the situation where a duplicate entry is created if
Settings is started with the wwan panel disabled, a previous connection
exists, and the panel is later enabled.

Fixes #1468
2022-11-08 16:12:22 +00:00
Mohammed Sadiq
d45bda09d2 wwan: Update operator code when 3gpp operator code changes
And update APN list if they are not populated yet

Fixes #1468
2022-11-08 16:12:22 +00:00