Commit graph

23803 commits

Author SHA1 Message Date
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
Peter Hutterer
dbbe0476cb ci: Build with our various conditional options enabled
Add another stage identical to the default build but this time with
the various off-by-default options enabled (one per job).
2024-04-04 07:23:57 +00: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
Felipe Borges
7a030f6006 po: Add missing file to POTFILES.in 2024-04-03 10:38:58 +02: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
Martin
3bb845149d Update Slovenian translation 2024-04-02 20:13:52 +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
Automeris naranja
29f4fc46b0 system-details-dialog: Add top margin to "Software Information"
When the window is small, which makes the
"Hardware Information" and "Software Information"
sections to show vertically, the latter doesn't
properly separate from the first visually. Add a
top margin to fix that.
2024-04-02 15:11:40 +00:00
Automeris naranja
9ae687d827 system-details-window: Port to AdwDialog 2024-04-02 15:11:40 +00:00
kramo
8b5df52d93 appdata: Update screenshots 2024-04-02 15:06:54 +00:00
Automeris naranja
fb1d55f3b3 online-account-row: Implement the new error status design
- Add the "Error" label next to the icon
- Make the label and icon to use @error_color

Reference:
0a16d3ce2b
2024-04-02 15:02:51 +00:00
Felipe Borges
d1c3711fe6 network: Add CcWifiConnectionList.set_placeholder_text
This allows for CcWifiConnectionList to be reused in different locations
where the placeholder might differ.

For example, the main wifi connections list vs. the saved network
connections (forget dialog).

See !2384, !2397, and !2418

Fixes #2574
2024-04-02 12:09:57 +02:00
Automeris naranja
62564c623f users: Don't use another style class for the remove avatar button
The "destructive-action" style class will already make
the button to have a red background.
2024-04-02 10:07:58 +00:00
Automeris naranja
df0c3a79d5 users: Use a single CSS for the entire panel
This also fixes the ".cutout-button" style being
set in "user-accounts-dialog.css", which is wrong
because this widget is located in the main panel
and not in the add user dialog.
2024-04-02 10:07:58 +00:00
Automeris naranja
49de7620b9 power: Update some strings
Update some strings from the power profile info row:

- Update a string to follow the latest mockups[1]
- Remove periods from phrases that are written as
a complete sentence, as recommended by HIG

[1] 1bb482ed19
[2] https://developer.gnome.org/hig/guidelines/writing-style.html#periods
2024-04-02 09:56:56 +00:00
Automeris naranja
3b93511dac power-profile-info-row: Use AdwActionRow
Transforming power-profile-info-row into an
AdwActionRow helps to decrease the
power-profile-info-row.ui code considerably.

Also, make the info icon smaller and not dimmed,
like in the mockups[1].

[1] 1bb482ed19
2024-04-02 09:56:56 +00:00
Automeris naranja
524261c710 power: Use a single CSS file
Use a single CSS file for the entire panel.
This will make easier to set custom style
for specific widgets without having to create
a bunch of CSS files for each widget type.
2024-04-02 09:56:56 +00:00
Felipe Borges
591b655be5 privacy, help: Link to "Screen Lock" documentation
When in the "Screen Lock" page, hitting F1 or going for Help should
open help:gnome-help/privacy-screen-lock
2024-04-02 09:11:31 +00:00
Felipe Borges
7d963db243 privacy, help: Fix broken link to "Location Services" docs
The subpage tag name AND the correspondent docs page name were wrong.
2024-04-02 09:11:31 +00:00
Felipe Borges
7f01aa79b3 privacy, help: Remove links to pages without correspondent docs 2024-04-02 09:11:31 +00:00
Felipe Borges
c2a7ebbd5f privacy, help: Default to opening "Privacy Settings" help page
When in the main page or in a subpage without docs, the Help link
should open the "Privacy Settings" page at help:gnome-help/privacy
2024-04-02 09:11:31 +00:00
Quentin PAGÈS
d49bc25302 Update Occitan translation 2024-03-31 20:13:24 +00:00
Nathan Follens
e8dd694602 Update Dutch translation 2024-03-31 10:03:01 +00:00