Commit graph

23249 commits

Author SHA1 Message Date
Bharat
19e75e0fb0 Keyboard: Add title to AdwNavigationPage
Add blank title to AdwNavigationPage
in the cc-keyboard-shortcut-dialog.ui

Fixes #2850
2024-01-22 14:10:12 +00:00
Felipe Borges
1c0fef5718 panel-list: Reorder panel list
This also drops the Categories as a criteria for creating the sidebar
list separators. Now the "panel_order" array will include entries named
"separator" to indicate where a separator should go.

See https://hedgedoc.gnome.org/FLcx6argT6uycE3An7uaxw
2024-01-22 09:47:00 +00:00
Will Thompson
f46fbd18a6 privacy: Hide non-functional microphone panel
There is currently no portal through which applications can request
access to the microphone. So all applications either access the
PulseAudio/Pipewire socket directly (which cannot be controlled by this
panel) or do not access the microphone (in which case they do not appear
here).

Hide the panel until such a portal exists. Remove the “microphone”
keyword from the panel's desktop file, used for in-app and desktop
search results.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2848
2024-01-22 09:20:41 +00:00
Hari Rana
d0bcdc9645 wacom: Port to AdwSwitchRow 2024-01-22 09:08:43 +00:00
Automeris naranja
aaa726a662 users-page: Add arrow icon to other users rows
The other users rows open a subpage, but they
don't show an arrow icon to indicate that.
Fix such issue by adding an arrow icon.
2024-01-22 09:04:29 +00:00
Artur S0
5242d700dc Update Russian translation 2024-01-20 19:08:35 +00:00
Yosef Or Boczko
ce911d39ef Update Hebrew translation 2024-01-20 18:34:00 +00:00
Hari Rana
a936ac6bc9 power-panel: Port to AdwSwitchRow 2024-01-18 13:28:54 +00:00
Hari Rana
36b8a32545 usage: Port to AdwSwitchRow 2024-01-18 13:25:28 +00:00
Hari Rana
aa479a3bc5 remote-desktop: Port to AdwSwitchRow 2024-01-18 13:13:11 +00:00
Hari Rana
4e63a7df59 datetime: Port to AdwSwitchRow 2024-01-18 13:11:17 +00:00
Hari Rana
a9f431bdbd diagnostics: Port to AdwSwitchRow 2024-01-18 13:03:31 +00:00
Hari Rana
d4c3782065 screen: Port to AdwSwitchRow 2024-01-18 13:03:13 +00:00
Hari Rana
09578e00a0 app-notifications: Port to AdwSwitchRow 2024-01-18 12:50:47 +00:00
Automeris naranja
90a131a2ee ua-hearing-page: Simplify the translation of Sound panel link
Separate the Sounds panel link from the
string to make translations easier.

Also, remove the period from the string,
because phrases written as a single
sentence shouldn't end with a period:

https://developer.gnome.org/hig/guidelines/writing-style.html
2024-01-18 12:44:25 +00:00
Automeris naranja
50c413e6bb general: Use proper icon in remove buttons of some list rows
window-close-symbolic shouldn't be used in this case.
Use edit-delete-symbolic instead.

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2842
2024-01-18 12:08:42 +00:00
Automeris naranja
af72bcaabd xkb-modifier-dialog: Port to AdwPreferencesPage
Also, use `<property name="content">` to put the
content widgets.
2024-01-18 12:07:53 +00:00
Automeris naranja
d12a7713d5 qr-code-dialog: Port to AdwWindow/AdwToolbarView
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2624
2024-01-18 11:58:34 +00:00
Niels De Graef
fb9cfae3f6 printers-entry: Mark labels with a mnemonic widget
This commit adds the "mnemonic-widget" property to some of the labels in
the `CcPrinterEntry` template. One of the advantages is that this also
automatically adds a "labelled-by" a11y relationship between them.
2024-01-18 11:54:50 +00:00
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