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.
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.
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
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.
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.
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
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
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
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
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.
"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
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
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.
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.
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
- use org.gnome.Settings namespace for icons
- install subpanel assets to hicolor apps
- new icon designs for pointing, seeing and hearing and zoom panels
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
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