Commit graph

23641 commits

Author SHA1 Message Date
Ray Strode
aa99ca5b5b system, remote-desktop: Set port row insensitive when appropriate
Right now we set a subtitle of "" when the port is invalid. This
leads to the "Port" title getting center aligned vertically.

We also keep the port sensitive even when it's empty and there is
little value in copying it.

This commit changes the subtitle to " " so it serves as a
placeholder to keep the "Port" title top aligned. This commit
also makes the port insensitive in that case so the user never
copies the placeholder space.
2024-03-03 09:26:40 -05:00
Daniel Rusek
aededb367f Update Czech translation 2024-03-03 13:48:17 +00:00
Brage Fuglseth
f028a64574 Update Norwegian Bokmål translation 2024-03-03 13:20:31 +00:00
Ray Strode
1e2ef0ff83 po: Update POTFILES.in
The recent remote desktop subpanel work added several new
strings in new files.

Those strings need to be in POTFILES.in
2024-03-03 12:34:19 +00:00
Brage Fuglseth
c999eaca42 Update Norwegian Bokmål translation 2024-03-03 12:33:30 +00:00
Luming Zh
d9260afd42 Update Chinese (China) translation 2024-03-03 09:40:33 +00:00
Adrian Vovk
87a62a7c4a users: Fixup buggy AdwNavigation behavior
Previously, events from accountsservice would be used to change the
state of the AdwNavigation in ways that don't correspond to the event
that happened. For example, deleting an account would pop the top page
off the stack, even if that page didn't belong to that account.

Especially buggy is the behavior of replacing the currently visible page
with the contents of an account that just changed. systemd-homed changes
the user record whenever authentication happens successfully. So, user
Foo might be trying to edit user Bar, type in their password at the
polkit prompt, and end up looking at a broken version of their own
settings page again: the title would be "Bar", there'd be no list of
users, and hitting the back button would take Foo back to the same
settings page they're currently looking at.

This commits refactors the handling of the accountsservice signals to
fix all the bugs

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2911
2024-03-03 09:19:13 +00:00
Automeris naranja
bb604ad9dd remote-desktop-page: Decrease AdwBreakpoint max-width
650p is way too much and makes the bottom bar to
appear when there is still space available in
the headerbar. Use 450p so the bottom bar will only
appear when the headerbar doesn't have enough
space available.

Follow-up from a4224d9e21
2024-03-02 23:07:35 -03:00
Automeris naranja
a4224d9e21 remote-desktop-page: Use AdwBreakpointBin
When the window width is small, the view switcher
labels get very ellipsized, making them difficult
to read.

Use AdwBreakpointBin to show the view switchers
at the bottom at the page (like in the Mouse & Touchpad
panel) when the window width is small.
2024-03-02 22:50:01 -03:00
Automeris naranja
d9be89a5de remote-desktop: Fix page contents being cut when window is small
- Use halign correctly ("left" and "right" aren't
valid values) and use hexpand in the
"Verify Encryption" button, since halign needs
hexpand set to "true"

- Ditch the spacer box, as it causes the page contents
to not scale correctly when the window width is small

- Add can-shrink property to "Generate New Password" and
"Verify Encryption" buttons so they can shrink when
the window width is small

- Also, set the margin-top only in the GtkBox to avoid
redundancy

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2933
2024-03-02 22:49:45 -03:00
Daniel Rusek
92e01d0f39 Update Czech translation 2024-03-02 23:44:34 +00:00
Automeris naranja
e84623473c remote-session-page: Several small fixes
- Fix the activatable-widget from port_row,
which was pointing to copy_address_button

- Remove a11y labels from copy buttons
because Orca also reads tooltips

- Remove .property style class from entry rows
since this class is only meant to be used
in AdwActionRow and AdwExpanderRow[1]

- Set the copy buttons as suffix widgets
directly, because wrapping them in a GtkBox
is unnecessary

- Fix indentation

[1] https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/style-classes.html#property-rows
2024-03-02 19:58:47 -03:00
Automeris naranja
7ec7e98df6 desktop-sharing-page: Several small fixes
- Fix the activatable-widget from port_row,
which was pointing to copy_address_button

- Remove a11y labels from copy buttons
because Orca also reads tooltips

- Remove .property style class from entry rows
since this class is only meant to be used
in AdwActionRow and AdwExpanderRow[1]

- Set the copy buttons as suffix widgets
directly, because wrapping them in a GtkBox
is unnecessary

- Fix indentation

[1] https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/style-classes.html#property-rows
2024-03-02 19:58:39 -03:00
Yaron Shahrabani
22cffb1ed8 Update Hebrew translation 2024-03-02 22:16:19 +00:00
Yuri Chornoivan
798d1341ed Update Ukrainian translation 2024-03-02 20:45:50 +00:00
Danial Behzadi
0336c96f5b Update Persian translation 2024-03-02 19:57:01 +00:00
Artur S0
79dd55cfca Update Russian translation 2024-03-02 19:55:57 +00:00
Ekaterine Papava
9524efc3be Update Georgian translation 2024-03-02 19:01:05 +00:00
Jiri Grönroos
484f69831c Update Finnish translation 2024-03-02 18:48:50 +00:00
Dor Askayo
3b6ed64196 display: Show the VRR range when possible
Show the full VRR (Variable Refresh Rate) range of a monitor in the
refresh rate expander row when a variable refresh rate mode is
selected and the minimum refresh rate of the monitor is known.
2024-03-02 20:14:38 +02:00
Dor Askayo
a4de91fb38 display: Add support for Variable Refresh Rate modes
This adds an expander row to allow configuration of display modes
based on whether they have a "fixed" or "variable" refresh rate.
2024-03-02 18:10:02 +00:00
Dor Askayo
63a957591c display-config: Use separate variables to get the closest mode
This will allow reusing the function in a following commit.

No change in behavior.
2024-03-02 18:10:02 +00:00
Dor Askayo
c454430220 display-config: Rename variables for clarity
This make it easier to modify this function in a following commit.

No change in behavior.
2024-03-02 18:10:02 +00:00
Ekaterine Papava
f178bf784e Update Georgian translation 2024-03-02 18:09:41 +00:00
Ray Strode
2f66bd7ab5 system, remote-session: Stop critical if no fingerprint
The code currently assumes that if the fingerprint is non-null it's
valid, but gnome-remote-desktop can also set the fingerprint to an
empty string if there's no certificate yet.

This commit makes sure to handle both NULL and empty fingerprints.
2024-03-02 17:43:48 +00:00
Ray Strode
f3b966ba5b system, remote-session: Fix fingerprint dialog when first setting user/pass
If the username and password get set then the certificate fingerprint
isn't updated even if that lets the service start.

This commit fixes things by doing a round trip through the service after
setting the username/password to

1. Make sure the change actually worked
2. Trigger our fingerprint dialog setting code that currently only runs
on reading username/password
2024-03-02 17:43:48 +00:00
Rūdolfs Mazurs
1b7d984696 Update Latvian translation 2024-03-02 17:38:29 +00:00
Ray Strode
10ac3e8440 system, remote-desktop: Add Generate New Password button
The designs for remote desktop include a generate password
button, so this commit adds one.
2024-03-02 11:10:54 -05:00
Felipe Borges
b001b2dde5 system, remote-desktop: Add "Remote Session" settings
See 85110609cd/remote-desktop/remote-desktop.png
2024-03-02 11:10:54 -05:00
Felipe Borges
524742acec system, remote-desktop: Update strings and styling for "Desktop Sharing"
Following the updates on the mokcups at
85110609cd/remote-desktop/remote-desktop.png
2024-03-02 10:58:35 -05:00
Ray Strode
4b35dd5b8c system, remote-desktop: Generate D-Bus proxy code for gnome-remote-desktop
We'll need this to query the status of the service for
Remote Session support.
2024-03-02 10:54:18 -05:00
Ray Strode
cf39376cca system, remote-desktop: Add new polkit policy
Remote session support needs to be able to start systemd units
and also manage gnome-remote-desktop.

This commit adds a polkit policy to accomodate both subactions
with one overarching action that only needs to be unlocked one time.
2024-03-02 10:54:18 -05:00
Felipe Borges
aee53419f5 system, remote-desktop: Add CcEncryptionFingerprintDialog widget
So that we can reuse the same widget in both Desktop Sharing and
Remote Login pages.
2024-03-02 10:54:18 -05:00
Felipe Borges
71f9073c9a system, remote-desktop: Split Desktop Sharing on its own class 2024-03-02 10:54:18 -05:00
Felipe Borges
b82edb7621 remote-desktop: Consolidate the "Desktop Sharing" term
This change will update the UI and internal reference names to use
the "Desktop Sharing" term, which refers to sharing a user's screen
with remote connections.

This differentiation is being introduced now so that we can avoid
conflict with "Remote Session", which will refer to headless/dedicated
remote desktop sessions.

Mockups
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/raw/master/remote-desktop/remote-desktop.png

See #2827
2024-03-02 10:54:18 -05:00
Irénée THIRION
c4ea5c211c Update French translation 2024-03-02 15:24:19 +00:00
Jiri Grönroos
6a9620e775 Update Finnish translation 2024-03-02 15:09:16 +00:00
Ekaterine Papava
623cd02d59 Update Georgian translation 2024-03-02 08:57:27 +00:00
Asier Sarasua Garmendia
1f002dc02a Update Basque translation 2024-03-01 19:00:08 +00:00
Automeris naranja
4b56c8b666 keyboard-shortcut-dialog: Fix typo in function name 2024-03-01 09:45:42 +00:00
Sophie Herold
fbb93a4dab metainfo: Fix wrong developer id
Appstream decided to use reversed domains. Please merge before 46 if possible.
2024-03-01 09:09:43 +00:00
Ekaterine Papava
e211dd5b01 Update Georgian translation 2024-03-01 04:04:41 +00:00
Daniel Rusek
49b40c93a3 Update Czech translation 2024-03-01 00:44:38 +00:00
Danial Behzadi
a79f313a24 Update Persian translation 2024-02-29 19:57:17 +00:00
Yuri Chornoivan
333585769f Update Ukrainian translation 2024-02-29 18:28:29 +00:00
Automeris naranja
e261d51617 network: Use "secondary-label" property in the Proxy row
The Proxy row shows its value as subtitle, which is
inconsistent with other rows where the subtitle describes
the row title/what the row is.

Show the proxy value as a CcListRow secondary-label to fix
such issue.

Reference:
cfb7cae4a9
2024-02-29 13:53:34 +00:00
Automeris naranja
0aeb0b55a7 general: Add translator comments about the "Search" term
Clarify in which occasions this term should be
phrased as a verb or as a noun.

Partially fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2903
2024-02-29 13:48:20 +00:00
Automeris naranja
1978468396 general: Remove a11y label from some search entries
These search entries have placeholder texts,
which are also read by Orca. Therefore, using
an a11y label is redundant.

Partially fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2903
2024-02-29 13:48:20 +00:00
Andre Klapper
2a0827a754 Fix invalid markup in Vietnamese UI translation 2024-02-29 13:44:23 +01:00
Daniel Mustieles
b56f44a02e Updated Spanish translation 2024-02-29 12:41:27 +01:00