Commit graph

23230 commits

Author SHA1 Message Date
Sabri Ünal
ce6311e063 Update Turkish translation 2024-01-18 08:13:48 +00:00
Automeris naranja
5a7442b3c1 cursor-size-dialog: Port to AdwPreferencesPage
Also:

- Move the AdwPreferencesGroup description
to AdwPreferencesPage, which allows to ditch
the margins since the later already has
predefined ones

- Add default size to the window

https://developer.gnome.org/hig/guidelines/adaptive.html
2024-01-16 09:19:24 +00:00
Marek Kasik
d12db2f1a3 printers: Move ownership of GHashTable to the recipient
Once we call callback passed to the get_ipp_attributes_async()
we should not try to free produced data but keep this to the
caller.

Fixes #2843
2024-01-15 16:46:17 +01:00
Jeremy Bícha
21b5a64786 users: Close language dialog when Select is clicked
Closes: #2841
2024-01-13 10:19:17 +00:00
Danial Behzadi
d95e39fdfb Update Persian translation 2024-01-13 00:34:00 +00:00
Felipe Borges
34a42e6e9f po: Fix typo in POTFILES.in 2024-01-12 14:30:18 +01:00
Felipe Borges
9c2793d142 46.alpha 2024-01-10 15:52:21 +01:00
Automeris naranja
4062329119 users: Use AdwSwitchRow in the remove user dialog
Also, add a mnemonic.
2024-01-10 09:58:38 +00:00
Boyuan Yang
298437d87e Update Chinese (China) translation 2024-01-10 02:52:31 +00:00
Julian Sparber
d0062954fa user: Ensure that the user avatar is regenerated when needed
If a user uses a a generated avatar we need to regenerated it every time
the full name changes.
2024-01-09 15:47:17 +00:00
Julian Sparber
7b0df415c3 user: Add remove button to user avatar 2024-01-09 15:47:17 +00:00
Julian Sparber
ab7416020b user: Store source of user avatar inside PNG
We can store whether we generated the user avatar inside the PNG
itself. Unfortunately  this won't work for old installations but in future
we can use the metadata introduced by this commit.
2024-01-09 15:47:17 +00:00
Julian Sparber
a732b6a110 user: Use AdwAvatar to generate default user icon
This drops the old code used to generated the fallback and changes
`GdkPixbuf` to `GdkTexture` where it's possible or needed.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1663
2024-01-09 15:47:17 +00:00
Julian Sparber
d1542fd663 user: Remove recent used list of avatar
Recent used list of avatars form the popover wasn't populated with any avatars
other then the generated one, so it's only used to remove a set avatar.
In a future commit a remove button is added therefore this section will lose
all of it's purpose.
2024-01-09 15:47:17 +00:00
Julian Sparber
6f53522d90 user: Remove old craft work from CcAvatarChooser
The object had a lot of old code and was not following the typical
GObject boilerplate.
- This moves code to initialize CcAvatarChooser to *_init()
- Removes unused code
- This removes `transient_for` property since it's not needed, this
  is probably a remanence of the Chooser being a Dialog instead of a
  Popover
2024-01-09 15:47:17 +00:00
Felipe Borges
e5568573d3 system, remote-desktop: Use "rdp" instead of "ms-rd" for hostname url
According to
https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-uri
"The ms-rd URI scheme is currently only supported with the Windows
Desktop client (MSRDC)."

Apps such as GNOME Connections and Remmina expect server hostname
addresses using the "rdp" url scheme prefix.

See also
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2827#note_1963502

Fixes #1922
2024-01-09 13:45:06 +00:00
Automeris naranja
df080da61d privacy: Rename "Location Services" page to "Location"
As per latest mockups:
753704dbe4/location-services/location-services.png

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/2125#note_1961390
2024-01-09 12:59:31 +00:00
Automeris naranja
acf9dbd1c0 apps: Separate the "Required Permissions" row into its own section
The "Required Permissions" row is located at its own
AdwPreferencesGroup in the latest mockups:

d609252cde

Partially fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2829
2024-01-09 11:35:55 +00:00
Automeris naranja
c7c265c4c5 apps: Add headings to rows from the app settings section
The row groups from app settings section doesn't
have headings, which makes these settings to look
ambiguous/unclear. Add headings to these row groups
to fix that.

Mockups:
d609252cde

Partially fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2829
2024-01-09 11:35:55 +00:00
Automeris naranja
661cc8d76f location-page: Remove .dim-label from privacy policy link
The link shouldn't be dimmed[1]. I forgot to make
this change in !2125.

[1] https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/2125#note_1960453
2024-01-08 14:55:54 -03:00
Sabri Ünal
1d1f95bb4d appdata: Improve appdata for AppStream 1.0
- Add the `<developer><name>` tag
- Mark the `<developer_name>` tag as deprecated
- Add appstreamcli validation
- Fix release version warnings
- Remove one of the custom Purism tag to pass the validation test
2024-01-08 15:48:19 +00:00
Hari Rana
ad307716ff app-notifications: Add width-request 2024-01-08 14:10:05 +00:00
Automeris naranja
e3eb30f095 location-page: Rename master switch title to "Automatic Device Location"
Also, remove the master switch subtitle.

Reference:
9ed7088301/location-services/location-services.png
2024-01-08 14:06:02 +00:00
Automeris naranja
abe6aa3416 location-page: Implement the new privacy notice
- Move the privacy notice below the master switch
- Use the new text suggested in https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2817
to mention that data is shared with a another party

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2336 and https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2817
2024-01-08 14:06:02 +00:00
Hari Rana
03f7a6c8f0 about: Set copyright holder
The copyright year was retrieved by running `git log --reverse`, and picking the first commit (3c03b47392).
2024-01-08 14:01:51 +00:00
Artur S0
ece42e11e0 Update Russian translation 2024-01-08 13:54:38 +00:00
Felipe Borges
d52ec68f8d system: Add "Users" panel
This moves the UserAccounts panel to a page in the System panel.

This simplifies a lot of the existing code in the UserAccounts panel.

I did minimal changes to the sub dialogs so that those can be touched
in following changes, making it easier to review this one alone.

The main panel widget is now CcUsersPage, and is an AdwNavigationView
widget that has a default "current_user_page" page. Each page is a
CcUserPage (careful with the one-character difference between these
two classes).

Each CcUserPage has an associated ActUser object.
2024-01-08 13:59:26 +01:00
velsinki
b76d6d0d00 ethernet: Add thousands separator to speed
Increases readability for speeds >= 1000 Mb/s.

Fixes #2804
2024-01-08 12:52:59 +00:00
Hari Rana
d1e31430a1 display-settings: Port to AdwSwitchRow 2024-01-08 10:05:45 +00:00
Hari Rana
9ea7a1e5d6 removable-media-settings: Port to AdwSwitchRow 2024-01-08 10:01:48 +00:00
Hari Rana
afc690cb74 night-light-page: Port to AdwSwitchRow 2024-01-08 09:57:13 +00:00
Hari Rana
1367e3b1ef mouse-panel: Port to AdwSwitchRow 2024-01-08 09:53:59 +00:00
kramo
4112e30591 applications: Add padding to sandbox info button 2024-01-08 09:47:27 +00:00
Automeris naranja
dcb0231baf cc-info-entry: Use the .caption style class
Scaling the text isn't necessary here, because
the .caption style class already makes the text
small.
2024-01-08 09:42:46 +00:00
Automeris naranja
760f605bbb power: Add missing mnemonics in the automatic suspend dialog 2024-01-08 09:42:04 +00:00
velsinki
0b3c670ed4 wifi: Avoid critical warning for hotspot dialog
The CcWifiHotspotDialog is derived from GtkDialog, which is floating.
The floating reference is destroyed on closing the main window, before
the NetDeviceWifi is disposed. This causes a critical warning when the
NetDeviceWifi dispose does run, since it tries to destroy a now
non-existent window.

Fix this by sinking the floating reference, and unreffing it in the
NetDeviceWifi dispose function.

Fixes #2823
2024-01-08 09:38:55 +00:00
Alessandro Bono
67358cd529 cc-ua-seeing-page: Invert overlay scrollbars logic
Similar reasoning as in 7e42076a0a [1].
Accessibility features should be features that you enable[2]. It is odd
to see a feature enabled by default and that should be disabled in
order to improve accessibility.

[1] 7e42076a0a
[2] https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2154#note_1600075
2024-01-08 09:30:22 +00:00
Felipe Borges
a0732990c0 ci: Install 'glslc' for Gtk build with Vulkan 2024-01-08 10:01:51 +01:00
Artur S0
bd02e35009 Update Russian translation 2024-01-07 12:01:36 +00:00
Fabio Tomat
a2e4df0bb7 Update Friulian translation 2024-01-06 17:06:47 +00:00
Efstathios Iosifidis
ba6be47f93 Update Greek translation
(cherry picked from commit 65f151dfec)
2024-01-06 14:27:35 +00:00
Efstathios Iosifidis
b086299542 Update Greek translation
(cherry picked from commit 42e994c6d5)
2024-01-06 08:51:16 +00:00
Efstathios Iosifidis
0fa55ece3d Update Greek translation
(cherry picked from commit 25194046e7)
2024-01-05 22:01:57 +00:00
Aefgh Threenine
af9a736f99 Update Thai translation 2024-01-05 20:10:22 +00:00
Aefgh Threenine
61e02a50a9 Update Thai translation 2024-01-05 19:39:17 +00:00
Felipe Borges
88e0a3caba mouse: Split "Scroll Method" and "Direction" into separate row groups
Per mockups in
https://gitlab.gnome.org/Teams/Design/settings-mockups/-/raw/master/mouse-and-touchpad/mouse-and-touchpad.png?ref_type=heads
2024-01-04 13:50:39 +00:00
Felipe Borges
3335985290 mouse: Add "Click method" option
Fixes #229
2024-01-04 13:50:39 +00:00
Felipe Borges
8da25aaef5 system: Replace dynamic System row subtitles with static text
Row subtitles in Settings are typically a description of the main label or setting.
You can see this in Mouse & Touchpad, Privacy, Sharing, and Wi-Fi.
For the System panel we did something a bit different and used the subtitle to show
the status of each panel.

Given the standard use of subtitles elsewhere, this feels a bit surprising which,
as a result, makes the panel harder to read. I think that a standard description
would probably also be more useful than the current labels.

Mockups https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/system/system-panel.png?ref_type=heads

This also removes the thin CcSystemPage abstract class because it was
only introduced to add the support for dynamic System row subtitle. Now
this abstraction is no longer necessary.

Fixes #2776
2024-01-04 11:38:47 +00:00
Automeris naranja
45a5a1e0e7 sharing: Use AdwPreferencesPage/AdwPreferencesGroup in all dialogs 2024-01-04 11:31:04 +00:00
Bart Gravendeel
cacc2b5bef Remove use-underline property from all CCListRows 2024-01-04 10:11:35 +00:00