Instead, instantly show a primary click was successful. For a double
click, it will remove the primary click success. This makes the testing
feel a little more responsive.
Closes#2991
- Add GtkLabel:wrap, otherwise qr-code-dialog width will grow
if the label is long
- Justify the label to the center so it looks more balanced
when it wraps
The "Network Name" and "Password" labels look unbalanced if they
are long. To fix this, use property rows to show the network
information, which also involves porting the GtkScrolledWindow
to AdwPreferencesPage.
- Make the QR code focusable, so the alternative text can be read
by Orca
- Make all labels selectable, but with a workaround to prevent them
showing selected without any user interaction (labels need to be
selectable so they can be read)
This placeholder row will never show because the list box will never be
empty due to the presence of the "Add Input Source" row, which also acts
as a placeholder. Also, the placeholder row broke the list box row
counting even more.
So, remove the "No input source selected" placeholder row, as it's
unnecessary.
The indicators should only light up for primary or secondary clicks, but
not for a middle click.
To make this clearer too, we can use Gdk constants.
Fixes#3079
This saves a lot of code and translatable strings. Also, this will make
it easier to change the list values in the future, as they will be added
to the list even if a value is set that is not in the list.
By binding to the GSettings keys directly, even more code can be
removed.
This reverts commit 62564c623f.
The custom style class was used to provide different styling than the default destructive style, since the custom style class doesn't affect the opacity of the background.
Similarly to fd65182, rpminspect catched that gnome-wifi-panel.desktop
references an icon name that doesn't exist.
```
Desktop file /usr/share/applications/gnome-wifi-panel.desktop on x86_64 references icon network-wireless but no subpackages contain network-wireless
```
The way the icon lookup works will suffix it with "-symbolic", resulting
in "network-wireless-symbolic", which exists.
While MR !2452 provided settings icons for various panels, it didn't for
the Wifi panel.
This simplifies the Meson build file, and removes the inline mkenums
template code, which is now inside Meson itself.
Also, we can now use the better prefix `G_DESKTOP_TYPE` instead of
`G_DESKTOP_TYPE_DESKTOP`.
This simplifies the Meson build file, and removes the inline mkenums
template code, which is now inside Meson itself.
Also, we can now use the better prefix `G_DESKTOP_TYPE` instead of
`G_DESKTOP_TYPE_DESKTOP`.
The most common use case for CcNumberRow is to bind it to a GSettings
key value.
So, let's add an easy function to perform such a binding. It binds the
"selected" property of the underlying AdwComboRow GSettings value using
mapping functions. If the value does not exist in the CcNumberRow yet,
it will be added to the list of the row and selected.
It makes sure both unsigned and signed values are properly handled, as
CcNumberRow only holds signed values.
To make the CcNumberRow easier to use for newcomers as well, let's stop
using GtkExpression directly. Instead, we introduce a `value-type`
property that tells the CcNumberRow how to interpret values and map them
to strings.
With the `custom` value type, a custom GtkExpression is still usable.
When a new account is successfully added, simply close the dialog,
revealing it to be in the list of accounts, rather than showing
the account details.
closes#3067
Doing, so this will improve consistency as other places in
Settings use property rows [1]. This also ensures that the
network name doesn't get ellipsized if it's long when using
a narrow window width.
[1]
- feb2c8c514
- 5cd300c65a
- d5c66d25a0
Now that the search entry was put in a GtkSearchBar in [1],
the search entry got a bit smaller, breaking a little what
[2] fixed.
To fix this, remove the "maximum-size" and the
"tightening-threshold" from the AdwClamp that contains the
search entry. This will also make the search entry size to
be consistent with the one from cc-keyboard-shortcut-dialog,
which is also a top child of AdwToolbarView.
[1] cd97e4f518
[2] ec01b9d629
When the entry changes, it triggers the callback dance to store the
values in the backend. Causing `gtk_editable_set_text` to be essentially
called every REMOTE_DESKTOP_STORE_CREDENTIALS_TIMEOUT_S seconds (2
seconds) even when credentials have changed. This call has visual
effects, such as moving the cursor caret and changing the entry
selection state.
Fixes#3077
Also:
- Remove "select_from_database_button" and "install_ppd_button"
object IDs, as they are unused by the C code.
- Remove the default-height from the window to avoid showing an
unnecessary scrollbar now that the AdwButtonRows takes more vertical
space
The goal here is to avoid the dialog and follow a pattern of subpages we
have in other panels.
This dialog is often launched from Nautilus over the
`gnome-control-center search locations` launching argument, making it
even worse as a dialog.
[1] replaced the "Add Folder" a11y label by a tooltip.
However, this doesn't work and Orca doesn't read the row
properly; it simply says "not selected". The a11y label
already didn't work prior to [1].
To fix this, transform the tooltip into a GtkLabel. Also,
make the row to have the same padding so it's consistent
with the "Add Input Source..." row from Keyboard > Input
Methods.
[1] 00d9cd012f
Add a shortcut to open the Public folder in the File Sharing dialog,
as this folder is crucial for the file sharing functionality. Also,
this change improves the discoverability of that folder and offers a
convenience of opening it directly from the dialog.
AdwStatusPage can't be used with other widgets because it
contains a GtkScrolledWindow, so mimic AdwStatusPage to
show Wi-Fi Hotspot status.
Also:
- Add a mnemonic to the "Turn Off Hotspot..." button.
- Use the new strings from the latest mockups [1]
[1] cfb7cae4a9