Commit graph

23611 commits

Author SHA1 Message Date
Andy Holmes
80fcc8c2f2 online-accounts: port to new API
Port to the new GOA API, with simple async functions.
2024-02-12 17:58:35 +00:00
Andy Holmes
08c51127ac online-accounts: remove goa-helper
Remove the GOA subprocess helper and use GoaClient directly.

The GoaClient is loaded asynchronously, with the panel being marked
insensitive until ready. Any `CcPanel::parameters` passed while loading
are deferred until the client is ready.
2024-02-12 17:58:35 +00:00
Ekaterine Papava
9f5580832f Update Georgian translation 2024-02-12 17:28:17 +00:00
Danial Behzadi
767928d595 Update Persian translation 2024-02-12 16:37:41 +00:00
Felipe Borges
178c7522f6 Post-release version bump 2024-02-12 14:37:34 +01:00
Felipe Borges
12697ae430 46.beta 2024-02-12 14:32:10 +01:00
Jeremy Bícha
80b02fdb97 power: Use imperative verb tense
This verb style commonly known as "imperative" is simpler without
the trailing "s" and better matches the style used elsewhere
2024-02-12 09:17:48 +00:00
Automeris naranja
7009df80d0 sharing: Fix the networks section from the File/Media Sharing dialogs
- Remove the "Networks" title from CcSharingNetworks
and only use the titles from the AdwPreferencesGroups

- Remove the margins from CcSharingNetworks,
since AdwPreferencesGroup already has margins

- Remove unused `spacing` properties

- Replace the Media Sharing GtkGrid with a GtkBox,
like in the File Sharing dialog, and separate the
networks and folders section into their own
AdwPreferencesGroups

- Remove an unnecessary GtkListBox. It was added[1]
in order to make the "Require Password" and "Password"
rows to have the boxed-list style. Since the dialogs
from Sharing panel started to use AdwPreferencesPage/Group[2],
this GtkListBox is no longer necessary.

[1] 9a15a48d
[2] 45a5a1e0

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2818
2024-02-12 09:07:30 +00:00
Felipe Borges
c0c357c3bc system: Move "Remote Login" from Sharing panel to System
Fixes #2836
2024-02-12 09:57:11 +01:00
Automeris naranja
617816be06 apps: Tweak headings & descriptions from Default Apps sections
- Remove description text from both Default Apps
and Removable Media sections
- Change heading from the default apps section
from "Links & Files" to "Default Apps"

Partially fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2672
2024-02-12 08:48:52 +00:00
Automeris naranja
883720eaa8 apps: Tweak the autorun-never option design
Invert the autorun-never option logic
and implement the new title and subtitle
suggested in https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2672 (comment 1939901)

Partially fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2672
2024-02-12 08:48:52 +00:00
Nishal Kulkarni
644dc491ed apps: Separate autorun-never row
Put the disable autostart row in its own preference group.
Conforms with other settings layout where the AdwSwitchRow
is separated from the other AdwPreferencesRows.

Partially fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2672
2024-02-12 08:48:52 +00:00
Peter Hutterer
1d8f9a3504 wacom: Switch dialog to a AdwPreferencesRow 2024-02-11 08:48:38 +01:00
Peter Hutterer
fcab974558 wacom: Add mnemonics to the stylus button assignments 2024-02-11 08:48:38 +01:00
Peter Hutterer
ad63caf442 wacom: Switch to using a dialog for stylus button assignments
This moves the wacom stylus button assignments from a dropdown to an
external dialog, in preparation for adding keyboard shortcuts to this
list.
2024-02-11 08:48:37 +01:00
Peter Hutterer
605914911a wacom: Clear the stylus highlight after a timeout 2024-02-10 21:55:41 +00:00
Peter Hutterer
c5ee557eb9 wacom: Highlight the currently active stylus
This duplicates the SVG images for the styli with the only change being
the fill colour (#d3d7cf to #3584e4).

Closes #2464
2024-02-10 21:55:41 +00:00
Peter Hutterer
9770c6f382 wacom: Give proper ids and classes to the stylus SVG components
The images for the styli include a stylus and some buttons, so
creatively name the components after that.
2024-02-10 21:55:41 +00:00
Peter Hutterer
e5172d04bd wacom: Update struct field indentation
Preparation for a new field that requires this indentation, split out to
make the actual patch easier to review.
2024-02-10 21:55:41 +00:00
Peter Hutterer
2365a6fa07 wacom: Sort the gresources stylus SVGs alphabetically-ish 2024-02-10 21:55:41 +00:00
Peter Hutterer
f6d1ae869d wacom: Cast to GTK_WIDGET, keep the CcWacomStylusPage type 2024-02-10 21:55:41 +00:00
Yosef Or Boczko
351527e095 Update Hebrew translation 2024-02-10 20:01:25 +00:00
Sam Hewitt
a5f6efaddb Update and clean up symbolic icon assets
- refresh the symbolic icons to sync some style changes and update the source sheet
- rename assets for the privacy subpanel's symbolic icons
- delete deprecated/unused symbolic icons
- add new icon for system panel
- add new icon for remote desktop so it isn't using displays icons
2024-02-10 16:17:35 +00:00
Sabri Ünal
9d45d6633f Update Turkish translation 2024-02-10 09:48:47 +00:00
Daniel Rusek
6d2add0e30 Update Czech translation 2024-02-09 23:08:05 +00:00
Quentin PAGÈS
65e79e5923 Update Occitan translation 2024-02-09 22:18:20 +00:00
velsinki
ce584b3b67 search-locations-dialog: Add placeholder for custom locations
If there are no Other Locations added, the list shows empty which looks
odd.

Fix this by adding a simple placeholder to the GtkListBox.

Fixes #2869
2024-02-09 15:43:43 +00:00
Corey Berla
42920853c0 search-locations-dialog: Stop removing non-existent folders from tracker
This change effectively reverts commit 5c679301ec ("search: Invalidate
"Search Locations" list when folders can't be found").  The crash
that commits intends to fix does not occur on main anymore, and there's
no real difference between an existing and non existing file from this
interface's perspective.

Removing a folder automatically is dangerous because it may be on
an unmounted external hard drive or another location that is not
currently available.  This also removes some blocking i/o on the main
thread.

Instead replace with a subtitle message to notify the user that the
folder is inaccessible.
2024-02-09 15:43:43 +00:00
Corey Berla
aae5cd27bd search-locations-dialog: Expose single directory setting
We handle index-single-directories and index-recursive-directories
different, but the user has no idea.  Add a subtitle to clarify
the difference in behavior.
2024-02-09 15:43:43 +00:00
Corey Berla
0268ad08cd search-locations-dialog: Reuse new function 2024-02-09 15:43:43 +00:00
Corey Berla
56d6fd7c2f search-locations-dialog: Correctly handle single directory setting
We wrongly assume that the only directory set to index-single-directories
is the home directory.  Now adays [1] tracker miners defaults home
and downloads to index-single-directories.  This leads to a behavior
where downloads appears to be unindexed (the switch is set to inactive),
but if you set the switch to active you will end up with downloads
in index-single-directories and index-recursive-directories.

Check the index-single-directories (as well as its default value)
to consistently handle this setting correctly.

[1] d97cf22273
2024-02-09 15:43:43 +00:00
Corey Berla
127bd170c2 search-locations-dialog: Set title for non-existent bookmarks
Show the bookmark name, but keep the switch invisible.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1916
2024-02-09 15:43:43 +00:00
Corey Berla
8baa4b159b search-locations-dialog: Stop leaking GError 2024-02-09 15:43:43 +00:00
Matthijs Velsink
8f541d0cff search-locations-dialog: Always show switch for default/bookmarks
However, for Default or Bookmarked locations, the switch is not shown if
the location is not found, but there is no reason to now allow the user
to switch that location of, even if not found.

We therefore now show the switch unconditionally for the Default and
Bookmarked locations. This allows a great deal of code simplification
too, as the file info query is now only used to place a subtitle if it
is not found.
2024-02-09 15:43:43 +00:00
Corey Berla
8568e45d9e search-locations-dialog: Sort entries
A regression from commit f473ec45c7 ("search: introduce the new Search
Locations dialog") causes the entries to be in a random order (as
determined by g_hash_table_get_values()). Previous to this commit,
there was a single listbox sorted by a custom sort func which grouped
XDG folders, bookmarks, and others. Now there's a listbox for each of
those groupings, but only others_list gets the sort func.  Sort each
of the lists, and remove unnecessary code.
2024-02-09 15:43:43 +00:00
Peter Eisenmann
2275ef3be0 search-locations-dialog: ignore on dismissed folder selection 2024-02-09 15:43:43 +00:00
Peter Eisenmann
fda78fa577 search-locations-dialog: handle unset XDG dirs
The user can disable XDG dirs by setting them to the home directory. In
this case `path_from_tracker_dir`returns NULL. Handle this case by
continuing.
2024-02-09 15:43:43 +00:00
Peter Eisenmann
03c1c72c52 search-locations-dialog: remove new()'s parent parameter
The dialog doesn't need to know where it will be shown.
2024-02-09 15:43:43 +00:00
Florian Müllner
ca76853c6e universal-access: Expose new "show-status-shapes" setting
Whether switches indicate their state with an icon has been split
from the HighContrast stylesheet. Expose the new setting.

https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2675
2024-02-09 13:29:43 +00:00
Automeris naranja
5cd007b7d2 printers: Add padding to the sidebar items from "Printer Options" 2024-02-09 07:22:31 +00:00
Allan Day
68213ade9f search: Tweak search locations labels
Make it clearer that the search locations are parts of the filesystem.

Fixes #2885
2024-02-08 17:07:58 +00:00
Automeris naranja
2d078ba147 users: Add tooltips to the buttons from the avatar widget
Also:

- Remove the a11y labels, because Orca also
reads tooltips
- Change "Edit Avatar" to "Change Avatar", since
the latter is more accurate: no image editing
happens when clicking in this button.
GNOME Contacts also use "Change Avatar"[1]

[1] https://gitlab.gnome.org/GNOME/gnome-contacts/-/blob/gnome-45/data/ui/contacts-editable-avatar.ui?ref_type=heads#L17
2024-02-08 12:19:23 +00:00
Automeris naranja
9209f5f149 power: Ship "info-symbolic" icon as a gresource
The Power panel currently installs "info-symbolic"
in /usr/share/icons, which makes this icon to appear
as a pre-installed system icon. This makes app
developers to use this icon in their apps
under that assumption.

Ship this icon as a gresource to fix this.

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2865
2024-02-08 10:20:36 +00:00
Automeris naranja
85729203ff pp-options-dialog: Add .suggested-action style class to "Test Page" button 2024-02-08 10:03:12 +00:00
Automeris naranja
a6a9bdf1f1 pp-options-dialog: Add mnemonic to "Test Page" button 2024-02-08 10:03:12 +00:00
Automeris naranja
f4eb3daa9d alert-chooser-dialog: Show radio buttons as prefix widgets
Settings shows list rows with radio buttons before the
row title. However, the alert chooser looks inconsistent
because it shows the radio buttons at the end of the list
rows.

Fix that by setting the radio buttons as prefix widgets.
2024-02-08 10:00:16 +00:00
Matthijs Velsink
a8148b408c sound: Add tooltips to all speaker test buttons
With this change, Orca now reads the word
"speaker", for example: "Front Left Speaker push button"
instead of "Front Left push button".

Also, remove the a11y labels because Orca also reads
tooltips.
2024-02-08 01:44:59 -03:00
Peter Eisenmann
1b5c556740 search-panel: open dialog with string parameter
Settings is the central place to change search locations. Nautilus wants
to link to it, but since it's a dialog and not a panel, use a parameter
to enable opening search locations directly.
2024-02-07 19:24:17 +01:00
Peter Eisenmann
9c6b5a0b36 search-panel: use clearer dialog function name 2024-02-07 18:19:39 +00:00
Matthijs Velsink
a82b5ac9ef Revert "ci: Don't run style check on main"
Reverts d92b90d1, because `$CI_COMMIT_BRANCH` is not available for MRs...
2024-02-07 18:16:51 +00:00