Commit graph

22062 commits

Author SHA1 Message Date
Marco Melorio
de00794e1a mouse: Remove deprecated gtk_widget_show/hide usage 2023-01-02 22:10:39 +00:00
Marco Melorio
a9e2dc6c84 default-apps: Remove usage of deprecated gtk_widget_show/hide 2023-01-02 22:10:39 +00:00
Marco Melorio
acadd521b1 display: Remove deprecated gtk_widget_show/hide usage 2023-01-02 22:10:39 +00:00
Fina Wilke
50ca872a96 flatpak: Add GNOME Shell and Mutter dependencies
These changes were copied from
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1392/diffs?commit_id=073cc5c632185772764060deb5e798e79523e2bc
So I am (felipeborges) preserving Fina Wilke's authorship.

Fixes #2262

Signed-off-by: Felipe Borges <felipeborges@gnome.org>
2023-01-02 15:34:35 +01:00
Eric Daigle
2c68c0064a printers: Set search button/entry as sensitive when printers list is empty
Currently, the search function is available when there are no printers. However, it does nothing.

This commit set the search button and entry as sensitive.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2021
2023-01-02 12:29:15 +00:00
sunflowerskater
e27d13183e sharing: Rename "Computer Name" AdwEntryRow to "Device Name"
Currently, the "Computer Name" AdwEntryRow has some problems due to its label name:

- It's inconsistent with the AdwEntryRow from info-overview, which uses the label "Device Name"
- "Computer Name" isn't suitable for other kind of devices
2023-01-02 12:18:55 +00:00
Efstathios Iosifidis
3b28f70bb6 Update Greek translation
(cherry picked from commit a19677c30c)
2022-12-30 21:50:05 +00:00
Yosef Or Boczko
4648296a70 Update Hebrew translation 2022-12-27 23:10:19 +00:00
Yosef Or Boczko
a09aff4810 Update Hebrew translation 2022-12-27 23:04:57 +00:00
Yuri Chornoivan
3f00fa59fb Update Ukrainian translation 2022-12-23 14:48:15 +00:00
Marco Melorio
efc66144a7 sound: Implement the new output test design 2022-12-21 19:29:58 +00:00
Felipe Borges
f394db29f7 thunderbolt: Ensure client and devices exist when setting visibility
Fixes #2253
2022-12-21 19:26:32 +00:00
Georges Basile Stavracas Neto
543ba4d58a applications: Don't recurse into symlinks when clearing cache
Oh boy... what can I say.

Sadly Builder symlinks to somewhere where we eventually end up in
the home folder. And delete all files.

:(

Pass the FTW_PHYS flag to nftw() so it doesn't follow symlinks.

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2153
2022-12-21 13:45:48 -03:00
Marco Melorio
5f4bfd567a sound: Make the level bars less jittery
Use Exponential Moving Average (EMA) to achieve this. The way it works
is to take the previous values in consideration by giving more weight to
the more recent ones. This makes the level bar appear more smooth and
less jittery.
2022-12-21 01:39:38 +01:00
Marco Melorio
4e8924fbfd sound: Move level bars to section headers 2022-12-21 01:39:38 +01:00
Marco Melorio
ba4e983b97 sound: Port CcLevelbar to use a GtkLevelBar internally 2022-12-21 01:39:36 +01:00
TheEvilSkeleton
4ddfecc79d display: Set underscanning_row as activatable widget 2022-12-20 09:24:21 +00:00
TheEvilSkeleton
20378fc9a4 mouse: Set rows as activatable widgets 2022-12-20 09:20:29 +00:00
Aleksandr Melman
e731f73969 Update Russian translation 2022-12-20 09:14:31 +00:00
sunflowerskater
7366eee9ee power: Show a description for Battery Percentage switch
Battery Percentage switch don't offer a description explaining where the percentage will be shown.

This commit adds a description to better explain what this option does.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1641
2022-12-15 16:24:05 -03:00
Felipe Borges
2f3a0ff306 search: Let users toggle GNOME Settings search provider
This was actually deadcode since commit acd59aec6 aka "The Great
Renaming".

Fixes #1282
2022-12-15 15:57:17 +00:00
Felipe Borges
22b5686943 thunderbolt: Hide panel if there's no thunderbolt hardware
Same logic as the Wacom tablet panel.

Fixes #612
2022-12-15 14:02:02 +01:00
Felipe Borges
e46dd4c5d3 doap: Update the list of panels I maintain 2022-12-13 17:17:20 +00:00
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