Commit graph

8366 commits

Author SHA1 Message Date
Automeris naranja
2bebe77422 remote-desktop: Use "copied to the clipboard" in AdwToasts
When using the copy buttons from Desktop Sharing/Remote Login pages,
the toasts don't show that the values were copied to the clipboard,
unlike in System > Secure Shell/About > System Details, for example.
So, fix this inconsistency.
2024-04-09 09:05:16 +00:00
Automeris naranja
69a5fcaa51 input-chooser: Remove content-height property
Doing so, this dialog won't display a scrollbar that scrolls
just a little bit (when the list box isn't expanded), as this
is unnecessary.
2024-04-09 00:35:04 -03:00
Automeris naranja
22c0982349 sharing: Remove sharing.css
The .tls-cert-fingerprint style class is part of "Verify Encryption"
dialog from the Remote Desktop feature, which is now present in the
System panel. sharing.css isn't needed anymore.
2024-04-08 17:00:12 +02:00
Automeris naranja
a5aa2baa25 enterprise-login-dialog: Prevent buttons from being sensitive incorrectly
"Add" and "Enroll" buttons can still be sensitive without
calling main_page_validate() and enroll_page_validate()
respectively. Add an assertion check in both cases to
prevent these buttons being sensitive incorrectly.

Co-authored-by: Matthijs Velsink <mvelsink@gnome.org>
2024-04-08 13:54:04 +00:00
Automeris naranja
a3ecc76e19 firmware-security: Remove content-height from 2 dialogs
Doing so, the firmware-security-dialog and
firmware-security-boot-dialog can show more text (which can
increase in some translations) without having a scrollbar.

This complements the following commit:
c252c3c861
2024-04-08 13:49:13 +00:00
Automeris naranja
a7017238a5 power: Remove content-height property in the "Automatic Suspend" dialog
Doing so, this dialog won't display a scrollbar that scrolls
just a little bit, as this is unnecessary.
2024-04-08 13:48:23 +00:00
Automeris naranja
19c3f3570d sharing: Port all dialogs to AdwDialog
Port the "File Sharing" and "Media Sharing" dialogs
to AdwDialog.
2024-04-08 13:47:02 +00:00
Sam Hewitt
7fcc142aac mouse: Update assets for test window; improve scroll arrow display
- add new assets for clicking and scrolling view switcher
- adjust the scroll test arrow display
- remove old inappropriate asset
- use gresource for new assets
2024-04-08 10:02:11 +00:00
Andy Holmes
755ace7b7d online-accounts: move Fedora to the end of branded providers 2024-04-08 09:42:19 +00:00
Andy Holmes
c46e2c6115 online-accounts: rename windows_live provider to "Microsoft" 2024-04-08 09:42:19 +00:00
Andy Holmes
8b9242595c online-accounts: rename MS365 provider 2024-04-08 09:42:19 +00:00
Andy Holmes
3190cd6afe online-accounts: use sentence capitalization for descriptions 2024-04-08 09:42:19 +00:00
Andy Holmes
081ae920a0 online-accounts: move providers into a list model
Refactor slightly to get providers into a list model, to ease future
UX changes and reduce friction for design iteration.

cc !2354
2024-04-08 09:42:19 +00:00
Andy Holmes
cf5e43feac online-accounts: implement service descriptions for providers
Add descriptions for each provider type, indicating which services
a given provider can support.

closes #1917
2024-04-08 09:42:19 +00:00
Ray Strode
ae2df95306 system, password-utils: Try to find word list harder
There are variety of word lists available in /usr/share/dict,
let's try more than just one.

Closes:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2957
2024-04-08 10:57:20 +02:00
Automeris naranja
b697433c7d alert-chooser-window: Remove the content-height property
Doing so, the Alert Sound dialog won't display a scrollbar that
scrolls just a little bit, as this is unnecessary.
2024-04-08 08:42:06 +00:00
Automeris naranja
7b039bb279 power: Minor tweaks to strings related to automatic suspend
Rename the following strings (and use header capitalization):
- "When on battery power" to "On Battery Power"
- "When plugged in" to "When Plugged In" (in the Automatic Suspend
dialog too)

Reference 1bb482ed19
2024-04-07 21:19:28 +00:00
Automeris naranja
2c5f3169b3 region: Use the secondary-label property in all CcListRows
"Language" and "Format" rows show their value as a subtitle,
but this is inconsistent with Settings design pattern in which
the value label is shown at the right, so fix this inconsistency.

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2914
2024-04-06 14:34:56 +00:00
Matthijs Velsink
5fedb30a08 network: Add stable-ssid support for cloned-mac
NetworkManager 1.46.0 added support for "stable-ssid" for cloned mac,
which generates a stable MAC address based on SSID for each network.

This got accepted as the new default for Fedora 40, see
https://fedoraproject.org/wiki/Changes/StableSSIDMACAddress and
https://pagure.io/fesco/issue/3135.

However, there is no support for the connection editor for this value,
meaning if "stable-ssid" is set, changes to a WiFi network can't be
applied.

Fix this by adding support for "stable-ssid". Essentially based on
network-manager-applet!143
(network-manager-applet@202149c0843510a944afe2257cf56fbb7b4d2ef9).

Closes #2852
2024-04-04 11:53:43 +00:00
Felipe Borges
5bdb890675 build, privacy: Make Location settings build conditional
Considering the retirement of Mozilla Location Service, most
laptop/desktop users will rely on weaker network based location
sources.

Let's make the Location settings a build option, disabled by default.
-Dlocation-services=enabled

See #2959
2024-04-04 13:52:10 +02:00
Automeris naranja
c252c3c861 firmware-security-dialog: Ditch gtk_window_set_default_size
The window layout will adapt according to the text length
(which can increase in some translations), so setting
a window size according to the device security state is
unnecessary.

This also fix an invalid cast to GtkWindow, because
firmware-security-dialog is now an AdwDialog.

Follow-up from b126b05247
2024-04-04 07:05:50 +00:00
Automeris naranja
c6c02d16d9 color: Minor writing style tweak
- In the AdwPreferencesPage description, use an
en dash before "learn more" and add a period.

This will be consistent with the
Privacy > Diagnostics page description writing
style:
ad142445a2
2024-04-03 20:02:36 -03:00
Automeris naranja
d30ebf9945 color: Rename "colors_page" to "color_page"
The AdwPreferencesPage id is "colors_page",
but the plural isn't correct.

Follow-up from 8e44e69e37
2024-04-03 19:10:59 -03:00
Automeris naranja
8e44e69e37 color: Modernize the panel a bit
- Use AdwPreferencesPage/AdwPreferencesGroup
- Use AdwStatusPage when there are no devices
that can be color managed
2024-04-03 21:58:21 +00:00
Automeris naranja
96d4acf1ed power: Port "Automatic Suspend" dialog to AdwDialog 2024-04-03 08:33:05 +00:00
Automeris naranja
7a7939d4ad date-time: Port dialogs to AdwDialog
Port the "Time Zone" and "Date & Time" dialogs to
AdwDialog.
2024-04-03 08:24:51 +00:00
Automeris naranja
ca4bffe765 apps: Port "Required Access" dialog to AdwDialog 2024-04-03 08:01:55 +00:00
Automeris naranja
1aab23712e apps: Port "File & Link Associations" dialog to AdwDialog 2024-04-03 08:01:55 +00:00
Automeris naranja
f946be849d apps: Port the "Storage" dialog to AdwDialog 2024-04-03 08:01:55 +00:00
Automeris naranja
372b9f8b0c keyboard-shortcut-dialog: Use "No Results Found" in empty_results_page
This will be consistent with the status page from the Settings
sidebar, which shows "No Results Found" when searching for panels
(if the search term doesn't return anything).

Also, use header capitalization, as advised by HIG.
2024-04-03 07:59:56 +00:00
Automeris naranja
c90d55b927 cc-tz-dialog: Minor UI tweaks to empty_page
- Use edit-find-symbolic
- Use "No Results Found" title
- Add "Try a different search" description
- Remove the margin-top because this causes the status
page to look misaligned

The first three changes will make the status page to look
more similar to the status page from the Settings sidebar
(when the search term doesn't return anything), improving
consistency.
2024-04-03 07:59:09 +00:00
Automeris naranja
6f5e3a41da sound: Port "No Input/Output Devices" rows to CcListRow
Using CcListRow in this case drops a few unnecessary
lines of code while keeping the rows visually identical.
2024-04-03 02:01:02 +00:00
Matthijs Velsink
d87587946a background: Make hash id more unique
Background xml files can contain multiple background definitions, each
with a name and (dark) filename. Each of them is individually added as a
CcBackgroundItem. Duplicates are checked based on an id, which is formed
by concatenating the xml filename and the background name.

However, the name of the background is not used at the moment, so could
be not unique, making the ids for multiple backgrounds in one xml also
not unique, resulting in missing backgrounds. This has not been an issue
much anymore, because gnome-backgrounds switched to separate xml files.

Nevertheless, improve this by also adding the actual image filename to
the hash id, as suggested in #1115.

Closes #1115
Related gnome-backgrounds#10
2024-04-02 22:50:52 +00:00
Automeris naranja
3b1bebe1d2 keyboard-shortcut-dialog: Minor cleanup in shortcut_dialog_row_new
- Set the "show-arrow" and "title" properties directly in
"g_object_new"
- Remove "gtk_list_box_row_set_activatable" because
CcListRow is activatable by default
2024-04-02 20:46:34 +00:00
Automeris naranja
7e4a5e0295 color: Use CCListRowInfoButton to show color profile info
CcListRowInfoButton is used in several places in Settings,
so this change will improve UI/UX consistency.
2024-04-02 16:34:49 +00:00
Automeris naranja
08ea9efe77 wifi: Port "Saved Wi-Fi Networks" dialog to AdwDialog 2024-04-02 16:25:46 +00:00
Automeris naranja
09e533d645 input-chooser: Tweak search entry placeholder text
Use "Search languages and countries" as the
search entry placeholder, like in the latest
mockups[1].

[1] 1855a1ecbe
2024-04-02 16:21:47 +00:00
Automeris naranja
3e7eedcb98 input-chooser: Port to AdwPreferencesPage/Group 2024-04-02 16:21:47 +00:00
Automeris naranja
5b55700eec input-chooser: Port to AdwDialog 2024-04-02 16:21:47 +00:00
Automeris naranja
38e5092b1a firmware-security-help-dialog: Port to AdwDialog 2024-04-02 18:13:42 +02:00
Automeris naranja
b126b05247 firmware-security-dialog: Port to AdwDialog 2024-04-02 18:12:34 +02:00
Automeris naranja
a588f23002 firmware-security-boot-dialog: Port to AdwDialog 2024-04-02 18:11:47 +02:00
Automeris naranja
d31f8aeea6 volume-levels-window: Port to AdwDialog 2024-04-02 16:09:35 +00:00
Automeris naranja
e40880f7cb output-test-window: Port to AdwDialog 2024-04-02 16:09:35 +00:00
Automeris naranja
88a964fe15 alert-chooser-window: Port to AdwDialog 2024-04-02 16:09:35 +00:00
Automeris naranja
3f3327a9f3 xkb-modifier-dialog: Remove custom CSS
.xkb-option-button style class is no longer used,
so remove the custom CSS that was made for it.
2024-04-02 16:07:11 +00:00
Automeris naranja
3741baceba xkb-modifier-dialog: Port to AdwDialog 2024-04-02 16:07:11 +00:00
Automeris naranja
fef18e73b6 qr-code-dialog: Port to AdwDialog 2024-04-02 16:03:43 +00:00
Automeris naranja
17f2daaa9a users: Port "Add Enterprise User" dialog to AdwDialog 2024-04-02 16:00:56 +00:00
Automeris naranja
21bc6c5bb7 add-user-dialog: Port to AdwDialog 2024-04-02 15:16:00 +00:00