Commit graph

22679 commits

Author SHA1 Message Date
Felipe Borges
9573da47a1 user-accounts: Update status page text when no accountsservice
The text we show when Settings was unable to connect to Accountsservice
and for this reason has nothing to show in the User Accounts panel.
2023-08-14 07:55:45 +00:00
Felipe Borges
d2c456abe6 user-accounts: Show label when another user is logged in
One cannot remove an user if they are currently logged in. Before
we used to show an error message stating that this didn't work.

Now we make the "Remove User" button insensitive and show a label
next to it stating why the user cannot be deleted.

See https://gitlab.gnome.org/GNOME/gnome-control-center/uploads/a47f3ab8606227e541a176008dc7bf64/image.png
2023-08-14 07:55:45 +00:00
Felipe Borges
3449a48ab0 user-accounts: Port "error" message dialogs to AdwToasts 2023-08-14 07:55:45 +00:00
Felipe Borges
14d358740d user-accounts: Drop "Restart" notification
We have code to show the "Restart" notification when the user
would change its account-type between STANDARD/ADMIN, except that
we never allow that to happen. So this code was never used.

We have the would_demote_only_admin function that is used to set
the visibility of the Account Type row. So we won't ever display
the Account Type row if the user would demote the only admin.
2023-08-14 07:55:45 +00:00
Felipe Borges
8289c69fd8 user-accounts: Add loading page with a spinner
Otherwise the panel might look broken in the first half second it
takes to load the user data from accountsservice. The time might
get significant for enterprise/remote accounts.
2023-08-14 07:55:45 +00:00
Felipe Borges
ae98f7d834 user-accounts: Turn "no-users-box" into an error page
We only have no users when we are unable to connect to accountsservice.
2023-08-14 07:55:45 +00:00
Felipe Borges
d7ba866f01 user-accounts: Port GtkMessageDialogs in user deletion to AdwMessageDialog 2023-08-14 07:55:45 +00:00
Felipe Borges
84d3d8dc59 user-accounts: Remove MessageDialog for deleting own account
Our UI doesn't expose the Delete button when the current logged user
is the one viewing its account settings. So there's no need to have
this dialog since it never gets shown.
2023-08-14 07:55:45 +00:00
Felipe Borges
24f50295c4 user-accounts: Port CcAddUserDialog away from deprecated GtkDialog
This is a bare minimum to get rid of GtkDialog. There are upcoming
changes to modernize the dialog.
See https://gitlab.gnome.org/Teams/Design/settings-mockups/-/raw/master/users/add-user.png
2023-08-14 07:55:45 +00:00
Felipe Borges
f5a008ce74 info-overview: Make System Details dialog more compact
Following the mockups at
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2573#note_1805506

Fixes #2573
2023-08-14 06:34:03 +00:00
Danial Behzadi
ac6aa0fd16 Update Persian translation 2023-08-13 13:09:24 +00:00
Danial Behzadi
f766355737 Update Persian translation 2023-08-13 13:02:11 +00:00
Asier Sarasua Garmendia
11f9c0ad8a Update Basque translation 2023-08-13 08:30:16 +00:00
Luming Zh
60254bab79 Update Chinese (China) translation 2023-08-12 19:56:58 +00:00
Ekaterine Papava
ae511f5ae9 Update Georgian translation 2023-08-12 03:54:11 +00:00
Fran Dieguez
5dfa7fb124 Update Galician translation 2023-08-11 19:49:43 +00:00
Yuri Chornoivan
ee68a01e53 Update Ukrainian translation 2023-08-11 18:35:09 +00:00
Kukuh Syafaat
56dd89f63a Update Indonesian translation 2023-08-11 11:18:18 +00:00
Felipe Borges
0c9498d1f8 Mark some strings as translatable
These are strings that are presented in the UI that were not marked
for translation.

Fixes #2596
2023-08-11 12:07:00 +02:00
Felipe Borges
52ca3bbf14 sharing: Remove placeholder strings from UI file
Those strings are set in the C file.
2023-08-11 12:05:39 +02:00
Felipe Borges
f83352e1bc ci: Be explicit about dnf5 during build
Since we are in this weird transition between dnf4->dnf5 in fedora
rawhide.
2023-08-11 08:50:09 +00:00
Luming Zh
16d22c95bc Update Chinese (China) translation 2023-08-11 01:03:06 +00:00
Fran Dieguez
9d6f7dd340 Update Galician translation 2023-08-11 00:29:10 +00:00
Vasil Pupkin
7872fe471e Update Belarusian translation 2023-08-10 11:52:01 +00:00
Automeris naranja
63c15f8641 a11y: Improve "Locate Pointer" setting discoverability
Make easier to find the "Locate Pointer" setting using
the search function by adding new keywords to the *.desktop.in file:
"locate", "find" and "pointer".

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2581
2023-08-09 22:51:40 +00:00
Fran Dieguez
5142e178fc Update Galician translation 2023-08-09 19:04:49 +00:00
Kukuh Syafaat
f52950d009 Update Indonesian translation 2023-08-09 13:31:36 +00:00
Luming Zh
2a383aab6d Update Chinese (China) translation 2023-08-08 16:48:29 +00:00
Yosef Or Boczko
3e7f46078c Update Hebrew translation 2023-08-08 14:46:37 +00:00
Artur S0
49fdaecdc7 Update Russian translation 2023-08-08 14:36:36 +00:00
Yosef Or Boczko
7a5aec3395 Update Hebrew translation 2023-08-08 14:07:31 +00:00
Daniel Mustieles
b61534c00b Update Spanish translation 2023-08-08 08:10:04 +00:00
Vasil Pupkin
5126950b58 Update Belarusian translation 2023-08-07 20:19:58 +00:00
Yuri Chornoivan
5bf01e5f82 Update Ukrainian translation 2023-08-07 15:59:12 +00:00
Luming Zh
aa4fdd6618 Update Chinese (China) translation 2023-08-07 14:25:42 +00:00
Danial Behzadi
e45cda6e16 Update Persian translation 2023-08-07 13:31:18 +00:00
Felipe Borges
5558af12f3 Post-release version bump 2023-08-07 13:36:16 +02:00
Felipe Borges
9776593365 45.beta 2023-08-07 13:29:43 +02:00
Markus Göllnitz
3fb3f547c7 sound: make output test wheel smaller
The output test wheel is fixed size with a size of 300px
and a margin of 60px on both sides. Decreasing each value
by 20px, makes it fit a width (and height) of 360px.

see: !1563

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2023-08-07 10:54:16 +00:00
Markus Göllnitz
f7f6139e83 sound: ellipsize in profile combo box
While the combo box for devices can get ellipsized labels,
the one for the profile cannot. For Bluetooth profiles
with long descriptive names, this can lead to large
minimal widths for the combo box, the row, and the panel.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
2023-08-07 10:54:16 +00:00
Automeris naranja
8a8973f860 datetime: Explain that Clock & Calendar settings affect the date & time info from Shell's top bar
The Clock & Calendar settings are a bit vague.
Add an explanation to inform that these settings will affect the
date & time information from Shell's top bar.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2592
2023-08-07 10:28:17 +00:00
Felipe Borges
fc9251c880 Revert "cc-power-panel: add battery health section"
This reverts commit 4a0d924afd.

There are some rough edges to be polished before this is ready for
prime time.

UPower battery health capacity reporting can often be inconsistent
across vendors, and we don't want to expose unreliable information
on the UI without proper sanitization.
2023-08-07 12:18:33 +02:00
Danial Behzadi
f52d0c42c5 Update Persian translation 2023-08-07 07:25:30 +00:00
Ekaterine Papava
b6458f496e Update Georgian translation 2023-08-06 18:00:20 +00:00
Yuri Chornoivan
ec8e943e4e Update Ukrainian translation 2023-08-06 16:10:23 +00:00
Marco Melorio
cdea4b4503 privacy: Make security dialogs consistent
Port them to AdwWindow and AdwToolbarView, simplify the widgetry and use
a consistent styling and window size.
2023-08-06 14:11:08 +00:00
Marco Melorio
005a1d49dd Update POTFILES.in 2023-08-06 14:11:08 +00:00
Marco Melorio
49f037595d privacy-panel: Improve subpage row descriptions 2023-08-06 14:11:08 +00:00
Marco Melorio
a2f65a0471 privacy-panel: Group the subpage rows 2023-08-06 14:11:08 +00:00
Jordi Mas
6ba908d66d Update Catalan translation 2023-08-05 17:36:22 +02:00