Commit graph

24167 commits

Author SHA1 Message Date
Automeris naranja
aaa08b8194 datetime-page: Set a content width in the "Date & Time" dialog
The GtkListBox from the "Date & Time" dialog is
currently what gives the dialog width, but this
is an unusual approach that other dialogs from
Settings don't use.

To fix this, use the content-width property from
AdwDialog. The dialog width is now almost the same
as before this change.
2024-05-06 12:15:12 +00:00
Automeris naranja
e66d4adb01 date-time: Use AdwActionRow in the Month row from the "Date & Time" dialog
The Month row is a CcListRow which displays the selected month
using the secondary-label property from CcListRow. However, the
month appears dimmed (because secondary-label uses the .dim-label
style class) and the Month row is supposed to mimick AdwComboRow,
which doesn't dim the selected item. To fix this, use an
AdwActionRow instead.
2024-05-06 12:15:12 +00:00
Automeris naranja
cf81656e55 datetime-page: Use AdwPreferencesPage/Group in the "Date & Time" dialog
This simplifies the .ui code a bit and keep consistency
with other dialogs.
2024-05-06 12:15:12 +00:00
Automeris naranja
feb2c8c514 apps: Use property rows in the "Storage" dialog
This improves consistency with "Required Permissions"
dialog which is already using property rows
(and System > About is using them too).

Also:
- Set more descriptive names in the rows from this
dialog to avoid confusion with other rows in the Apps
panel
- Remove the placeholder subtitles from the rows, as
their subtitle will be unconditionally set to either
"..." or the size
2024-05-06 12:09:44 +00:00
Matthijs Velsink
1c0815490a datetime: Don't unconditionally use self in async cbs
If the page is closed before the async call finishes, the page is
unreffed and gets disposed, resulting in a crash when the finish handler
is called, as it may try to access pointers of self that got set to NULL
in the disposer.

To prevent this, use the source object directly, which is guaranteed to
be alive during the call and callback. If self gets disposed during the
async call, we'll get a warning that the cancellable was cancelled
instead of a crash.

Fixes #3045
2024-05-06 10:45:41 +00:00
Michael Catanzaro
82986f3e92 network: remove incorrect assertion that breaks proxy settings page
When the proxy switch is flipped from enabled to disabled, we assert
that there are no unmodified settings to be flushed to GSettings. This
is wrong because it's expected that settings will not be flushed if the
user did not yet press Save.

Fixes #2996
2024-05-05 23:32:16 +00:00
Mohammed Sadiq
7007aaabe0 application: Specify that -v can be provided multiple times 2024-05-05 12:37:16 +05:30
Mohammed Sadiq
d35ad2b00d log: Increase default verbosity level
GLib shows g_message() and g_info() logs by default.
Let's do the same, so that a single -v shall show debug
logs.
2024-05-05 12:37:12 +05:30
Hugo Carvalho
85bd172fa6 Update Portuguese translation
(cherry picked from commit f182515919)
2024-05-04 22:59:48 +00:00
Hugo Carvalho
0111b958d3 Update Portuguese translation
(cherry picked from commit 877fcfe1ab)
2024-05-04 22:51:46 +00:00
Automeris naranja
b1478ed54d mouse: Remove tooltip from the "Test Settings" button
The button is no longer in the headerbar ever since [1],
so that HIG guideline[2] saying that "controls in the
header bars of primary windows should all have tooltips"
is no longer applicable.

[1] 84a53eb9d4
[2] https://developer.gnome.org/hig/patterns/feedback/tooltips.html#tooltips
2024-05-03 20:16:12 -03:00
Martin
0ba3b17c00 Update Slovenian translation 2024-05-03 11:23:45 +00:00
Automeris naranja
f56ca33a74 sharing: Add notice about shared files not being encrypted
Add an explanatory text to inform the user that sharing
files with encryption isn't supported.

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2972
2024-05-03 09:37:39 +00:00
Ondřej Pohořelský
a9991abd52 wifi: Add 6GHz to Supported Frequencies
Adds `6GHz` to `Supported Frequencies` in Wi-Fi Details page.

Also removes `g_strdup()`, since the string is only passed to
`gtk_label_set_label()` anyways.

Resolves: #2474
2024-05-03 09:31:29 +00:00
Matthijs Velsink
944a62dafc sound: Make sliders more accessible with keyboard
The volume slider only has a page up/down increment of 1%, and can't be
moved with the arrow keys, but still consumes arrow key presses with a
beep sound.

Fix this by adding a step increment of 1%, and increasing the page
increment to 10%, as that one should be bigger. Do the same for the
subwoofer slider.

Furthermore, the balance slider has both a page and step increment that
are way too big to use effectively.

So, set the page and step increments also to 10% and 1%, respectively.
Stepping with arrow keys close to 0 requires rounding to avoid an
additional micro step, so let's add that as well.
2024-05-03 09:29:52 +00:00
Martin
b11e7378a9 Update Slovenian translation 2024-05-03 05:48:12 +00:00
Automeris naranja
8fc42119e4 net-device-wifi: Rename "Searching networks…" to "Searching for networks…"
"Searching networks" is incorrect, because the lack of the
preposition "for" implies that something is being searching
in networks, which isn't the case. This placeholder is
supposed to mean that networks are being searched/discovered.

See also: https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/merge_requests/186#note_2093252
2024-05-02 18:28:56 -03:00
Martin
d2041fc48d Update Slovenian translation 2024-05-02 10:44:44 +00:00
Felipe Borges
ae71408680 build: Enable "Location Services" by default
The decision to disable was a reaction to the announcement of the
Mozilla Location Service shutdown. The goal was to give distros an
option to decide based on their own release schedule and support
lifetime.

Given that the issue of low accuracy in location might not turn out to
be a big issue for most of our users, let's turn "Location Services" ON
by default and instead let distros disable the feature if they desire.

Fixes #2959
2024-05-02 09:27:38 +00:00
maxrdz
39be9946e9 cc-usage-page: Fixed typo in Trash & Temporary Files preferences
Previously, the AdwComboRow for setting the delete period was titled
"Atomatically Delete Period." This commit fixes that small grammatic
typo to "Automatic Deletion Period."

Also other changes were made in response to a design review under the
merge request !2512.
2024-05-02 09:25:53 +00:00
Automeris naranja
4de38989f0 display: Add an icon to the Night Light row 2024-05-01 14:36:09 +00:00
Asier Sarasua Garmendia
d5b1e0e281 Update Basque translation
(cherry picked from commit e0c41ed599)
2024-05-01 10:24:19 +00:00
Felipe Borges
5756761b18 gitlab, issue-templates: Drop "Feature" and "Epic" templates
Those aren't actionable for our users. Most of the information required
in these templates are for developers or designers familiar with the
development process.
2024-04-30 13:29:07 +00:00
Automeris naranja
89c58252ed format-chooser: Add tooltip to the preview button
Doing so, this button will also be a11y-labelled.
2024-04-29 20:59:10 -03:00
Lukáš Tyrychtr
043af788c1 cc-list-row: Describe the row by the secondary label
This allows it to be read by screen readers.

Search for the subtitle of the row and add it to the described-by
relation, until we have a proper API for appending to a11y relations,
of course.

Fixes #3034
2024-04-29 22:00:56 +02:00
Sam Hewitt
87569018c7 Drop orphaned symbolic assets 2024-04-29 11:07:20 -02:30
Sam Hewitt
22d734a2d1 Removed common layer from symbolics source sheet
- the common panel icons are sourced from the icon devkit and not this sheet
2024-04-29 11:01:18 -02:30
Sam Hewitt
1e56c48f33 Unify elements in the icon assets to shrink their file size 2024-04-29 11:01:18 -02:30
Sam Hewitt
075ac51e29 Fix rendering export error on new icon assets 2024-04-29 11:01:18 -02:30
Sam Hewitt
2bcea589b6 common: Add small cross icon
- ship symbolic asset for remove/delete actions
- replace references to window-close-symbolic with new cross-small
2024-04-29 11:01:18 -02:30
Sam Hewitt
e2d185cf53 color: Fix reference to deprecated icon 2024-04-29 11:01:18 -02:30
Sam Hewitt
6df1f3fee9 users: Replace reference to old icon 2024-04-29 11:01:18 -02:30
Sam Hewitt
20b52298d8 privacy: Use org.gnome.Settings namespace for symbolic icons 2024-04-29 11:01:18 -02:30
Sam Hewitt
298938619d universal-access: Update icons for a11y panels
- use org.gnome.Settings namespace for icons
- install subpanel assets to hicolor apps
- new icon designs for pointing, seeing and hearing and zoom panels
2024-04-29 11:01:18 -02:30
Sam Hewitt
60e3f591f9 a11y: Reorganize icon assets
- add sources for the subpanel icons to the symbolics source sheet
2024-04-29 11:01:18 -02:30
Sam Hewitt
b511f9a767 system: Reorganized symbolic icon assets
- moved all symbolic icon assets into a top-level folder for the panel
- added new asset for secure shell panel
- updated the gresource
2024-04-29 11:01:18 -02:30
Sam Hewitt
2ed8280e34 network: Move wifi symbolic icons; adjust small icon assets
- move symbolic assets to the icons folder
- tweak lock and warning icons to fit their pixel size
2024-04-29 11:01:18 -02:30
Sam Hewitt
ccf323309f background: Move symbolic assets into icons folder 2024-04-29 10:57:10 -02:30
Martin
46d5a4208d Update Slovenian translation 2024-04-29 13:19:57 +00:00
Automeris naranja
9e9e669385 format-chooser: Use AdwStatusPage when a search returns no results 2024-04-29 12:20:25 +00:00
Automeris naranja
2f394dfda2 format-chooser: Replace "view-layout-symbolic" with "view-reveal-symbolic"
When the window is small, the rows show a broken icon in the reveal
button, because the "view-layout-symbolic" icon can't be found.
To fix this, replace such icon with "view-reveal-symbolic", as per
latest mockups[1].

[1] 3a5fe844dd
2024-04-29 09:48:58 +00:00
Automeris naranja
6f80a881ea apps: Rename "Required Access" row to "Required Permissions"
And change the row subtitle to "System permissions that the
app requires", as per mockups (and rename the dialog title
too).

Reference:
2e89c2f8e1
2024-04-29 09:12:51 +00:00
Automeris naranja
860ab86012 apps: Show the number of static permissions in the "Required Access" row
Reference:
2e89c2f8e1
2024-04-29 09:12:51 +00:00
Automeris naranja
74c183f3f4 display, night-light: Remove "infobar_unsupported" leftover
"infobar_unsupported" GtkInfoBar was supposed to be removed
in [1], but was accidentally re-added during the code review.

[1] 909f068672
2024-04-29 08:55:13 +00:00
Adrian Vovk
87f79e6d03 password-dialog: Don't map Esc to window.close
AdwDialog handles Escape for us, and the dialog isn't a window so
`window.close` isn't necessarily what we want. It's not actually a bug
right now (I guess AdwDialog prevents the Escape key event from bubbling
up), but in the future if something changes, then emitting window.close
might just close the entire GNOME Settings window
2024-04-29 08:53:24 +00:00
teshst
02786bee53 hearing: Fix for visual alerts 2024-04-29 00:37:01 -06:00
Martin
ea69a1d3bb Update Slovenian translation 2024-04-27 16:54:02 +00:00
Yuri Chornoivan
17ceae20a5 Update Ukrainian translation 2024-04-27 08:18:01 +00:00
Automeris naranja
5f605c4d28 network: Use AdwViewStack
Doing so, the "Network Unavailable" status page can be set
in cc-network-panel.ui, as .ui files are the appropriated
place to put UI stuff as much as possible.

Also, remove cc-network-panel.c from POTFILES.in, as there
are no translatable strings in that file anymore.
2024-04-26 18:48:39 +00:00
Sabri Ünal
f338b15032 Update Turkish translation 2024-04-26 17:34:44 +00:00