Commit graph

22456 commits

Author SHA1 Message Date
Christopher Davis
bb88cddb5c ci: Add appstream and rebuild CI image
libadwaita 1.4 depends on appstream, and builds have
been failing because the subproject fails to build.

This commit adds appstream as a dependency so that
the libadwaita subproject can build without issues.
We also bump FDO_DISTRIBUTION_TAG to rebuild the image.
2023-06-07 17:43:24 -04:00
Robert Ancell
c092bec8bc search-provider: Connect signal handlers in swapped form 2023-06-07 09:14:28 +12:00
Robert Ancell
d90d3ffdfa wacom: Connect signal handlers in swapped form 2023-06-07 09:14:28 +12:00
Robert Ancell
a01e179830 network: Connect signal handlers in swapped form 2023-06-07 09:12:54 +12:00
Robert Ancell
82ef9d6f05 display: Connect signal handlers in swapped form 2023-06-07 09:12:54 +12:00
Robert Ancell
88d0cba1e6 common: Connect signal handlers in swapped form 2023-06-07 09:12:54 +12:00
Robert Ancell
69406c3590 user-accounts: Connect signal handlers in swapped form 2023-06-07 09:12:54 +12:00
Robert Ancell
3f057fed7b online-accounts: Connect signal handlers in swapped form 2023-06-07 09:12:54 +12:00
Robert Ancell
91fbc1b8df sharing: Connect signal handlers in swapped form 2023-06-07 09:12:54 +12:00
Robert Ancell
bea170c0cd search: Connect signal handlers in swapped form 2023-06-07 09:12:54 +12:00
Robert Ancell
ceec631a45 printers: Connect signal handlers in swapped form 2023-06-07 09:12:54 +12:00
Robert Ancell
dd37cafb62 keyboard: Connect signal handlers in swapped form 2023-06-07 09:12:54 +12:00
Robert Ancell
b87a46079d background: Connect signal handlers in swapped form 2023-06-07 09:12:54 +12:00
Felipe Borges
fc4703423d meson, tests: Disable interactive-tests when libadwaita is subproject
This is a workaround the issue where our interactive tests don't work
when libadwaita is a subproject.

For context, see
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1754
2023-06-06 13:40:33 +00:00
Felipe Borges
b441f40bcc meson: Bump gtk4 dependency 2023-06-06 13:40:33 +00:00
Maksym Hazevych
639c0d512f applications: Always use bold for app name in dialogs 2023-06-06 13:40:33 +00:00
Maksym Hazevych
b5cee63632 Use page for description instead of single group
When there is only one AdwPreferencesGroup in a whole
AdwPreferencesPage, use "description" property of the latter.
2023-06-06 13:40:33 +00:00
Maksym Hazevych
05e556077d Use page for description instead of empty group
Use the "description" property of AdwPreferencesPage instead of an empty
AdwPreferencesGroup.
2023-06-06 13:40:33 +00:00
Maksym Hazevych
f13d0edab9 meson & ci: Update libadwaita dependency version 2023-06-06 13:40:33 +00:00
Christopher Davis
d7307b4c7e search: Use GtkFileDialog
The GtkFileChooser interface is deprecaed in favor of GtkFileDialog.
2023-06-06 13:33:29 +00:00
Christopher Davis
8635a5abea color: Use GtkFileDialog
The GtkFileChooser interface is deprecated in favor of
GtkFileDialog.
2023-06-06 13:33:29 +00:00
Christopher Davis
590506add3 vpn-helpers: Use GtkFileDialog and AdwMessageDialog
GtkFileChooser and GtkMessageDialog are both deprecated.
This commit replaces them with the most appropriate API
for each use case.
2023-06-06 13:33:29 +00:00
Christopher Davis
b73ce78230 background: Use GtkFileDialog
The GtkFileChooser interface is deprecated. Instead of using it,
we should use the new GtkFileDialog APIs.
2023-06-06 13:33:29 +00:00
sunflowerskater
266c55715a general: Add tooltips to headerbar controls
Acc. HIG, "controls in the header bars of primary windows should all have tooltips".

https://developer.gnome.org/hig/patterns/feedback/tooltips.html
2023-06-06 13:27:00 +00:00
Lukáš Tyrychtr
75b4d0b2bc default-apps: Don't crash when there are no apps for a mimetype
When a mimetype has no apps, we get a selection notification anyway, but the selected item is NULL.
So, account for that and don't crash.
2023-06-06 13:07:46 +00:00
Nelson Benítez León
68227b0dab shell: improve key nav between search entry and results list
Improve keyboard navigation with Up/Down arrow keys between
Search entry and the search results list.

Pressing Arrow Down in search entry will now move focus
to search list, and when pressing Arrow Up on the first
list result will move back focus to Search entry.
2023-06-06 13:01:23 +00:00
Robert Ancell
09e45e03d9 info-overview: Fix name of parent class variable 2023-06-06 07:54:38 +00:00
Robert Ancell
c7ce4e8962 display: Fix name of parent class variable 2023-06-06 07:54:38 +00:00
Robert Ancell
1485414714 datetime: Fix name of parent class variable 2023-06-06 07:54:38 +00:00
Robert Ancell
0b850560a8 background: Fix name of parent class variable 2023-06-06 07:54:38 +00:00
Robert Ancell
606957c048 color: Fix name of parent class variable 2023-06-06 07:54:38 +00:00
Robert Ancell
256e52b0f7 network: Fix name of parent class variable 2023-06-06 07:54:38 +00:00
Robert Ancell
9020cfb1a3 wacom: Use self for object variable name 2023-06-06 07:54:38 +00:00
Robert Ancell
9e13088515 thunderbolt: Use self for object variable name 2023-06-06 07:54:38 +00:00
Robert Ancell
90d83f072e sound: Use self for object variable name 2023-06-06 07:54:38 +00:00
Robert Ancell
868dd6cf7e power: Use self for object variable name 2023-06-06 07:54:38 +00:00
Robert Ancell
d951856294 online-accounts: Use self for object variable name 2023-06-06 07:54:38 +00:00
Robert Ancell
73e63225e2 notifications: Use self for object variable name 2023-06-06 07:54:38 +00:00
Christopher Davis
bd069bee92 default-apps: Use new adwaita widgetry, drop deprecated API
GTK has deprecated the AppChooser interface and related widgets.
These APIs will be gone in GTK5, so we should move away from
them as soon as possible.

This MR takes the opportunity to change the design to match newer
mockups while dropping deprecated APIs.
2023-06-06 03:32:59 +00:00
Yosef Or Boczko
e5111a2569 Update Hebrew translation 2023-06-04 10:58:02 +00:00
Timotej Šulík
8bf042cf56 display: Fix invalid panel state after canceling changes
When switching from Mirror mode to Join mode
and opening a monitor leaflet child by clicking
its row, clicking Cancel on the title bar would
get the UI into an invalid state.

Closes #2513.
2023-06-01 08:30:20 +00:00
Felipe Borges
f6d5080ffd user-accounts: Fix pointer cast in sort_users function
Part-of: <https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1812>
2023-06-01 01:38:20 +00:00
Felipe Borges
c8fe38c4f1 user-accounts: Move "Add User" button out of the user listbox
Per mockups at
78b6a0506b/users/users.png

Part-of: <https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1812>
2023-06-01 01:38:20 +00:00
Felipe Borges
f444852449 common: Fix name of internal InfoButton get/set functions
This was a copy-pasta mistake when creating the CcListRowInfoButton
class from the CcListRow class.

The mistake was harmless but fixing it is good for the sake of
consistency and to avoid confusion in backtraces.
2023-05-31 21:34:03 +00:00
Michael Catanzaro
718af17905 info-overview: show only the GNOME major version
What we have is the GNOME Shell version, which is NOT the same as the
GNOME version. I thought it'd be nicest to rename this to "GNOME Shell
Version" but it seems we want to keep that as an internal codename not
exposed to users. So instead, let's just show only the major version,
which should hopefully match. This is very generic and much less useful
but I don't see a better solution.

See previous discussion in:

https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1481
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1805

Part-of: <https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1814>
2023-05-31 21:03:23 +00:00
Gunnar Hjalmarsson
d5becccc7c keyboard: Drop "Left Alt" as compose key option
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2509
2023-05-31 20:43:24 +00:00
Daniel Rusek
7d51874e45 Update Czech translation 2023-05-31 14:35:28 +00:00
Marcos Miller
478b3b4346 keyboard: change message dialog in 'reset all shortcuts'
The class Gtk.MessageDialog is deprecated in gtk 4.10.

This change remove class deprecated and uses the new class
AdwMessageDialog for view the message of 'reset all shortcut'.

keyboard: fix white space in function

keyboard: align arguments

keyboard: fix alignment of arguments in function
2023-05-31 13:51:26 +00:00
Robert Ancell
dc988e476b notifications: Fix panel object reference never being dereferenced 2023-05-31 08:17:01 +00:00
Marcos Miller
b0063d015f keyboard: fix "Add Custom Shortcut" in others sections
Clicking on the 'Custom Shortcuts' row when there are no custom
shortcuts causes the 'Add Custom Shortcuts' dialog to be shown for
all subsequent sessions. This is because the first stack defined was
'Add Custom Shortcuts', it would always be visible, as it was no
longer defined which stack was going to be shown.

Fixes (https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2479)
2023-05-31 08:15:59 +00:00