Commit graph

21839 commits

Author SHA1 Message Date
Felipe Borges
9871a09143 common, info-overview, sharing: Use AdwEntryRow for Hostname entries
See mockups in https://gitlab.gnome.org/Teams/Design/settings-mockups/-/issues/48
2022-12-13 16:16:08 +00:00
Felipe Borges
d36f795dd4 printers: Use AdwStatusPage in the "Add Printer" dialog
For when we show the "No Printers Found" page.

This has no impact but allow us to be consistent with the empty-state
styling as it changes and evolves in AdwStatusPage.

Fixes #2197
2022-12-13 14:22:40 +00:00
Olga Smirnova
bfd318ccc6 Add Interlingue translation
(cherry picked from commit bf6cfc91ca)
2022-12-13 06:56:19 +00:00
sunflowerskater
174fe48d26 firmware-security: Mark "Security Events" string as translatable
Currently, the "Security Events" string can't be translated.

This commit sets this string as translatable.

Fixes: GNOME/gnome-control-center#2207
2022-12-08 18:05:15 -03:00
Kate Hsuan
c68b840be4 panels: firmware-security: simplify the technical descriptions and panel
To reduce the amount of technical information to ordinary users, the panel
and technical descriptions are simplified and reduced. The major revision is
shown as follows:

1. The result of the check items view is removed and the detailed information can
be found by copying them to the clipboard and pasting them to any place the users want.
2. The security status is only shown in the security dialog. All the bottoms are
removed.
3. The loading spinner is added when the panel is launched.
4. A "status unavailable" page is added for the system which fwupd is unable
to determine the security level.

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2022-12-08 18:25:55 +08:00
Vasil Pupkin
5d34c7bac2 Update Belarusian translation 2022-12-06 22:52:28 +00:00
Benjamin Berg
648ee20bdf avatar-chooser: Return a proper widget if images cannot be loaded
GTK assumes that a widget will be created for a flow box item. So always
return one instead of falling back to returning NULL. This can primarily
happen if an image loader is missing.
2022-12-06 18:11:45 +00:00
Allan Day
4213fa7f6a privacy: Remove trailing periods
The HIG now states that standalone descriptions should only use
periods when there's a need to break up sentences.
2022-12-06 10:05:44 +00:00
Allan Day
6b3fbd5093 privacy: Drop "Built-In Permissions" as a term
As pointed out in #452, "built-in permissions" is contradictory.
It's not a permission - there's no permission involved.

Therefore, replace "Built-In Permissions" with "Required Access".

Fixes #452
2022-12-06 10:01:07 +00:00
Mohammed Sadiq
6ad36fe6db keyboard: shortcut-dialog: Refactor
- Use GListModel for creation, filter and sorting of shortcut sections
- Use AdwStatusPage instead of handling empty states manually

Fixes #1212 #1735 #2105 #2159 #2160 #2169
2022-12-05 20:50:15 +00:00
Mohammed Sadiq
ab9d529d9f Add cc-keyboard-shortcut-group
This widget shall list all keyboard shortcuts for
a section
2022-12-05 20:50:15 +00:00
Mohammed Sadiq
19548906c7 keyboard: shortcut-row: Add API to get shortcut item 2022-12-05 20:50:15 +00:00
Mohammed Sadiq
0fa1c1ec65 keyboard: item: Notify is-value-default on key changes 2022-12-05 20:50:15 +00:00
Mohammed Sadiq
372c4bbb0e keyboard: item: Add an API to check if a string matches the item 2022-12-05 20:50:15 +00:00
Mohammed Sadiq
149aa3aac8 keyboard: manager: Add shortcuts-loaded signal
And emit the signal after all shorcuts are loaded.
2022-12-05 20:50:15 +00:00
Mohammed Sadiq
f1c09a9277 keyboard: shortcut-editor: Properly escape text
Related #852 #1529
2022-12-05 20:50:15 +00:00
Mohammed Sadiq
799ada8243 keyboard: shortcut-row: Use CSS classes to embolden text
Fixes #852 #1529
2022-12-05 20:50:15 +00:00
Mohammed Sadiq
15f000330c keyboard: shortcut-row: Use GObject bindings to update details
Fixes #1275 #2106
2022-12-05 20:50:15 +00:00
Yosef Or Boczko
b616d49602 Update Hebrew translation 2022-12-05 08:45:58 +00:00
Mohammed Sadiq
b5e02cdbe5 Remove no longer used timezone map 2022-12-04 21:38:34 +00:00
Mohammed Sadiq
5e41174475 datetime: Use the new timezone dialog
This commit also removes the deprecated GtkListStore usage
2022-12-04 21:38:34 +00:00
Mohammed Sadiq
eda96f8bc5 datetime: Implement the new timezone selection dialog
which fits better on small screen and is more accessible than a map.
This is based on GNOME Clocks world clock[0] and GNOME Settings[1] designs

[0] https://gitlab.gnome.org/Teams/Design/app-mockups/-/blob/master/clocks/clocks.png
[1] https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/date-and-time/time-zone-picker.png
2022-12-04 21:38:34 +00:00
Mohammed Sadiq
39267eb2a6 datetime: Add cc-tz-row 2022-12-04 21:38:34 +00:00
Mohammed Sadiq
da777d3edd datetime: Add cc-tz-item 2022-12-04 21:38:34 +00:00
Bastien Nocera
6b97d27ea3 info-cleanup: Add test for info-cleanup
To make it easier to see whether our changes had the intended effect.
2022-12-02 13:11:13 +00:00
Bastien Nocera
a9ff350dbf info-overview: Remove "Mesa" prefix for Intel Iris driver
Remove "Mesa" from the start of the device name, it's data about the
driver which isn't relevant to us. It's always added before the name
of the device in `src/gallium/drivers/iris/iris_screen.c` in mesa.
2022-12-02 13:11:13 +00:00
Felipe Borges
f3f81d37b2 info-overview: Update logo when dark-mode changes
Otherwise the logo will only change once the panel gets reloaded.

Fixes #1627
2022-12-02 12:12:48 +01:00
Andre Klapper
d47ec1c2d0 Privacy/Notifications: Sync Lock screen notifications setting string
Fixes #2157
2022-12-02 11:10:15 +01:00
Mohammed Sadiq
3b121805ed log: Improve logging
The 'tracing' build option is no longer needed.  And the verbosity
of logs can be set by providing '-v' multiple times.
2022-12-01 11:44:17 +00:00
Felipe Borges
9285b0deb5 privacy: Update empty-state pages for more accurate permissions
To indicate that the permissions only apply to sandboxed applications.

See #741 (comment 1457422)
2022-12-01 09:59:21 +00:00
Nicolai Syvertsen
5569d40fca Fix monitor order.
Using prepend for optimization but forgot to reverse list.
2022-12-01 01:45:09 +00:00
Mohammed Sadiq
2b3de01124 network-panel: Use AdwStatusPage to show NetworkManager error
This commit also fixes missing header bar when the error is shown
2022-12-01 01:38:44 +00:00
Felipe Borges
5b3fff1961 display: Show Night Light Unavailable message when running on a VM
See #2020
2022-12-01 01:34:39 +00:00
Felipe Borges
0b6b54a6a4 display: Tweak Night Light unavailable infobar layout
See #2020
2022-12-01 01:34:39 +00:00
Felipe Borges
1abca8dbd0 display: Use heading capitalization for Night Light unvailable infobar
See #2020
2022-12-01 01:34:39 +00:00
Hendrik Müller
7e0357cae3 printers: Improved empty state of printer panel
The empty state of the printer panel is not consistent with other panels
of the GNOME Settings app.
There are two empty states, either the system cannot connect to the
printer service or there are no printers registered yet.

To fix this issue, AdwStatusPage has been introduced for both cases,
which takes care of the layout and reduces the amount of code needed to
create these two pages. With this change, both empty states of the
printer panel have the same look as other panels in their empty state.
2022-12-01 01:29:10 +00:00
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
sabriunal
a1192adc9f help-overlay: remove visible property names
Due to widgets are visible by default on GTK4
remove visible property names.

Source: https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkwidget.c#L1275
2022-11-30 12:57:29 +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
sabriunal
d73ec42d39 help-overlay: Add missing shortcuts
This patch adds two missing shortcuts to help-overlay

- Help (F1)
- Keyboard Shortcuts (CTRL+?)

Fixes: #839
2022-11-29 20:21:29 +00:00
Cheng-Chia Tseng
3a678b4fb5 Update Chinese (Taiwan) translation
(cherry picked from commit b79bcb592b)
2022-11-29 15:56:41 +00:00
Cheng-Chia Tseng
d6cd151b85 Update Chinese (Taiwan) translation
(cherry picked from commit ffd1bf3ab9)
2022-11-29 15:52:54 +00:00
Cheng-Chia Tseng
719c7143af Update Chinese (Taiwan) translation
(cherry picked from commit 615a105564)
2022-11-29 13:29:45 +00:00