Commit graph

24034 commits

Author SHA1 Message Date
Automeris naranja
9ed8e47e91 window: Port "Warning: Development Version" to AdwAlertDialog 2024-05-14 15:07:31 -03:00
Felipe Borges
7c2d876b98 privacy, bolt: Port main row to AdwSwitchRow
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2928
2024-05-14 08:45:11 +00:00
Automeris naranja
168e30a410 general: Don't set some "Copy" buttons as activatable widgets
In rows that have a "Copy" button that is set as activatable
widget, Orca doesn't the buttons a11y label/tooltip; instead,
it reads "[row title] push button".

To fix this, don't set these buttons as activatable widgets.
2024-05-13 23:13:55 -03:00
Automeris naranja
192d32926d sharing: Add DAV address row in the File Sharing dialog
Also:
- Remove the AdwPreferencesPage description, since
it's redundant with the explanatory text provided in
button from the "File Sharing" row.

Reference:
cfb7cae4a9
2024-05-14 01:07:22 +02:00
Automeris naranja
188b2d6769 sharing: Add explanatory text describing how sharing features work
In the File/Media Sharing dialogs, add a explanatory
text to the "File Sharing" and "Media Sharing" rows
explaining how these sharing features work.

Also, remove the AdwPreferencesPage description in
the "Media Sharing" dialog, since it's redundant
with the explanatory text provided in button from
the "Media Sharing" row.

Reference:
cfb7cae4a9
2024-05-14 01:07:22 +02:00
Automeris naranja
d0f520985c network: Don't use two AdwToolbarView widgets
Set the AdwViewStack as the content widget of a single
AdwToolbarView instead of using an AdwToolbarView in
each AdwViewStackPage, as this is redundant.
2024-05-12 17:02:12 +02:00
Jordi Mas i Hernandez
4a369dce1e Update Catalan translation
(cherry picked from commit 924d9e6007)
2024-05-11 19:53:03 +00:00
Matthijs Velsink
e7252dba4c display: Remove unsupported action from .ui file
Actions can be set in .ui files, but not callback actions. That's done
in the .c file anyways, but it was also put in the .ui file.

That used to be ignored, but since gtk!7121 that will generate a
warning.

So, remove that line.

Closes #3050
2024-05-08 18:04:41 +02:00
Automeris naranja
cc92084193 apps: Remove CcInfoRow and replace it with CcListRow
CcListRow is very similar to CcInfoRow:

- The "show-arrow" property is the equivalent of the "is-link"
property from CcInfoRow[1]
- The "secondary-label" is the equivalent of the "info" property
from CcInfoRow
- Setting the "activatable" property of CcListRow to "false" makes
the row to not be activatable just like CcInfoRow

Unlike CcListRow, CcInfoRow has the `expanded` property. However,
none of the CcInfoRows from the Apps panel are currently using it.
Also, CcInfoRow is specific to the Apps panel, while CcListRow is
used in many different panels

All of these things makes CcInfoRow redundant, so remove it and replace
all CcInfoRows with CcListRows.

[1] used together with the "has-expander" property
2024-05-08 14:50:11 +00:00
Monster
ec01b9d629 cc-applications-panel: Widen the search bar
Increase the maximum-size of the AdwClamp so the search bar isn't
awkward on small screen sizes.
2024-05-08 10:23:18 +00:00
Jose Riha
cd50c53e7c Update Slovak translation
(cherry picked from commit 71f789b54f)
2024-05-07 22:04:22 +00:00
Jose Riha
a203a59a2c Update Slovak translation
(cherry picked from commit 8e431b8870)
2024-05-07 20:35:10 +00:00
Martin
2a5b9bff60 Update Slovenian translation 2024-05-07 07:44:35 +00:00
Felipe Borges
3ab1dcdc61 network: Fix row removal when Bluetooth device is removed
When the user clicks in an existing Bluetooth connection and in the
Connection Editor chooses to "Remove Connection", we should delete the
row from the Bluetooth list.

Currently the row doesn't get deleted because the code that is shared
among all network device types assumes every list to be a GtkBox, while
the Bluetooth device list is a GtkListBox.

Let's check what's the connection being removed and remove the device
from the Bluetooth listbox correctly.
2024-05-06 23:00:44 +00:00
Matthijs Velsink
67be010833 datetime: Remove unused self variable
Commit 1c081549 fixed a crash in the datetime page, but forgot to remove
a `self` variable that is unused now.
2024-05-07 00:41:14 +02:00
Matthijs Velsink
d87135be0e net-vpn: Set GtkListBoxRow to changed on changes
The VPN list is sorted, but this sorting does not get updated when
changing any VPN name.

Make sure sorting gets retriggered by calling `gtk_list_box_row_changed()`
when updating the row contents.
2024-05-06 22:31:40 +00:00
Matthijs Velsink
8a7f2b233e network: Sort VPNs in the list
GNOME Shell sorts VPNs in the quick settings, but GNOME Settings does
not. This can be particularly annoying with many saved VPNs.

Fix this by adding a sort function to the VPN GtkListBox.

Closes #510
2024-05-06 22:31:40 +00:00
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