Commit graph

20887 commits

Author SHA1 Message Date
Aleksandr Melman
06b432b125 Update Russian translation 2022-01-17 12:24:26 +00:00
Felipe Borges
c15fb46c42 applications: Fix typo in key name in the desktop file
Regression introduced by commit 9a3cb6ab4.

Reported at 9a3cb6ab44 (note_1356724)
2022-01-17 10:52:38 +01:00
Yuri Chornoivan
6b3075ceab Update Ukrainian translation 2022-01-16 14:24:20 +00:00
Danial Behzadi
07e99e4f46 Update Persian translation 2022-01-16 14:16:03 +00:00
Christopher Davis
aa41cdbfe2 camera: Use AdwActionRow for application rows 2022-01-16 12:17:45 +00:00
Christopher Davis
cd8c1db3aa camera: Use AdwPreferences{Page,Group} 2022-01-16 12:17:45 +00:00
Christopher Davis
72e9ace169 camera: Use AdwStatusPage 2022-01-16 12:17:45 +00:00
Christopher Davis
2f9ed9e2a6 location: Use AdwActionRow for application rows 2022-01-14 22:58:19 -08:00
Christopher Davis
cd440893d2 location: Use AdwPreferences{Page, Group} 2022-01-14 22:58:19 -08:00
Christopher Davis
9e81c4e741 location: Use AdwStatusPage 2022-01-14 20:09:11 -08:00
Bastien Nocera
bd4c27e7ab power: Remove support for power-profiles-daemon < 0.9.0 2022-01-14 13:46:50 +00:00
Felipe Borges
9a3cb6ab44 applications: Set the Icon key in desktop file to a icon that exists
While we dynamically append --symbolic to the icons while creating
the sidebar model in
https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/master/shell/cc-shell-model.c#L270
There are automation tools (such as rpmdiff) that parse desktop files
and verify whether their Icon= matches to an existing file in the
icon theme package.

preferences-desktop-apps doesn't exist in adwaita-icon-theme but
preferences-desktop-apps-symbolic does.
2022-01-14 13:28:24 +01:00
Yaron Shahrabani
3622e967e3 Update Hebrew translation 2022-01-12 12:22:10 +00:00
Kukuh Syafaat
c667f3dcba Update Indonesian translation 2022-01-12 04:40:13 +00:00
Fran Dieguez
936c3c0218 Update Galician translation 2022-01-11 14:28:09 +00:00
Bastien Nocera
84e0db96fa build: Bump g-s-d req for new GSettings key
Commit 1144db552e added new UI which
required a GSettings key that's only available in more recent versions
of gnome-settings-daemon. Require the first stable version which
included this key.

Closes: #1450
2022-01-10 19:44:24 +01:00
Bastien Nocera
e5bf16d65e ci: Build gnome-settings-daemon in CI
As we usually need g-c-c and g-s-d to be upgraded in lockstep.
2022-01-10 19:44:24 +01:00
Aleksandr Melman
5bb00e9aa9 Update Russian translation 2022-01-10 17:45:29 +00:00
Mohammed Sadiq
14181fbbbd wwan: Port to use AdwPreferencesPage
And adapt to changes.

This helps avoid using widgets like AdwClamp as it will be
handled by AdwPreferencesPage and AdwPreferencesGroup.
2022-01-10 12:41:56 +00:00
Danial Behzadi
6fe20f3962 Update Persian translation 2022-01-10 11:46:02 +00:00
Quentin PAGÈS
03af6951d7 Update Occitan translation 2022-01-09 15:28:59 +00:00
Dz Chen
582ef12ec1 Update Chinese (China) translation 2022-01-09 14:47:30 +00:00
Jan Beich
37b29c32cb meson: drop unused argument for i18n.merge_file()
Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.

panels/applications/meson.build:10:5: ERROR: Function does not take positional arguments.
panels/background/meson.build:10:5: ERROR: Function does not take positional arguments.
panels/camera/meson.build:10:5: ERROR: Function does not take positional arguments.
[...]
2022-01-07 17:22:43 +00:00
Christopher Davis
12fefbc0d7 cc-multitasking-panel: Fix initial state for "all workspaces" setting 2022-01-07 13:50:39 +00:00
Christopher Davis
257557d660 cc-multitasking-panel: Remove can-focus
The default should be used, and the way we were
using it was redundant.
2022-01-07 13:50:39 +00:00
Christopher Davis
736150b035 multitasking: Use AdwPreferences{Page,Group} 2022-01-07 13:50:39 +00:00
Christopher Davis
617341591b cc-window: Use AdwLeaflet's navigation API
This should be preferred over `set_visible_child ()`
2022-01-07 13:43:50 +00:00
Christopher Davis
494f8a0f14 cc-window: Enable leaflet navigation
This enables touchpad/touchscreen gestures, alt+arrows,
and mouse buttons.
2022-01-07 13:43:50 +00:00
Aleksandr Melman
6691ba9b76 Update Russian translation 2022-01-07 11:47:08 +00:00
Hugo Carvalho
5f1ed40692 Update Portuguese translation 2022-01-06 22:51:31 +00:00
Christopher Davis
88027fc310 info-overview: Vertically clamp OS Logo
Otherwise it would grow as large as the page would let
it.
2022-01-06 22:15:30 +00:00
Christopher Davis
96ecd3acdf info-overview: Use AdwPreferences{Page,Group} 2022-01-06 22:15:30 +00:00
Christopher Davis
079bf51086 network: Fix wifi icon loading
GTK4 changes how icons are loaded - only icons that are
set up to follow icon theme paths are recolored. The way
the network panel loaded icons wasn't compatible with this,
causing icons to stay dark in dark mode.

This commit adjusts the gresource so that icons are
in `$RESOURCE_BASE_PATH/icons/scalable/actions`. Since
GTK knows how to handle that automatically, we can
simply use `icon-name` instead of loading a full
icon path.
2022-01-06 12:42:34 -08:00
Christopher Davis
24fbb5e49a cc-datetime-panel: Use AdwComboRow
The API is nicer, and it's the recommended widget to use
for dropdown rows.
2022-01-06 11:47:10 -08:00
Christopher Davis
0a5515463d cc-datetime-panel: Use AdwPreferencesGroup
Lets us get rid of our manual listboxes.
2022-01-06 11:42:08 -08:00
Christopher Davis
d3756aaf26 cc-datetime-panel: Move activation handling to rows 2022-01-06 11:42:08 -08:00
Christopher Davis
3b90e5b43f cc-datetime-panel: Set activatable-widget on rows with switches 2022-01-06 11:42:08 -08:00
Christopher Davis
52a32574fb cc-datetime-panel: Remove keynav-failed handling 2022-01-06 11:42:08 -08:00
Christopher Davis
e637f47e78 cc-list-row: Subclass AdwActionRow
AdwActionRow handles many of the properties we use
CcListRow for. We can re-use it instead of re-creating it.

CcListRow is now an AdwActionRow with three suffixes.
The `activatable-widget` is set when the switch is visible.

Since our `icon-name` property was only used for the arrow
icon, it has been replaced with a `show-arrow` property.

The `bold` property has been removed - it was only used in
one place, and it's not a pattern used in other apps.

I decided to go this route because replacing all the
instances of CcListRow with AdwActionRow directly would
end up being more code.
2022-01-06 08:56:12 -08:00
Mohammed Sadiq
81a5390c30 wwan: Use button icon-name property to set button image
This simplifies setting button image and improves the way they
are presented as the css will then be handled better this way.
2022-01-06 15:04:28 +00:00
Mohammed Sadiq
fbb2f98c44 wwan: Port to GTK4 2022-01-06 15:04:28 +00:00
Yuri Chornoivan
3357491a31 Update Ukrainian translation 2022-01-06 08:50:09 +00:00
Jordi Mas
62612eb93d Update Catalan translation 2022-01-06 08:40:50 +01:00
Christopher Davis
161e096667 cc-notifications-panel: Use AdwActionRow
AdwActionRow handles most of what we were building
a custom row for, and what it doesn't handle we
can simply use its API for.
2022-01-06 00:51:36 +00:00
Christopher Davis
d61b5bb0b0 cc-notifications-panel: Use AdwPreferences{Page,Group}
libadwaita provides nice pre-built widgets for preferences
pages and groups. We should use them where possible.
2022-01-06 00:51:36 +00:00
Christopher Davis
e216f7f2db cc-sound-panel: Use AdwPreferencesPage and PreferencesGroup
libadwaita provides nice pre-built widgets for preferences
pages and groups. We should use them where possible.
2022-01-06 00:38:31 +00:00
Benjamin Berg
6f825cd486 network: Fix saving passwords for non-wifi connections
When validating security settings for non-wifi connections, we
temporarily create a wireless connection. Unfortunately, when this
connection is destroyed, it'll clear the stored password from the 802.1x
settings object.

Avoid this by removing the setting before the temporary connection is
destroyed.

Closes: #337
2022-01-05 23:09:45 +00:00
Christopher Davis
4e2706fc6f cc-window: Re-enable type-to-search
This was lost in the GTK4 port. This commit uses
GtkSearchBar's API to capture events.

See https://gnome.pages.gitlab.gnome.org/gtk/gtk4/method.SearchBar.set_key_capture_widget.html
2022-01-05 22:31:17 +00:00
Christopher Davis
f1d5a0e71e cc-window: Enable scroll-to-focus on panel list
GTK4 doesn't do this by default, so we need to make sure
to specify it on our GtkViewport.
2022-01-05 22:31:17 +00:00
Jakub Steiner
8ba134fbce multitasking: make graphics work in dark mode
- more of a workaround than a solution. Getting rid of the white fills
  at the expense of clarity and style.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1565
2022-01-05 22:22:57 +00:00