Commit graph

22893 commits

Author SHA1 Message Date
Marco Melorio
d91f9381f9 misc: Remove unused variables 2023-10-12 10:09:44 +02:00
Marco Melorio
633425f5db meson: Disable deprecation warnings
We have so many deprecation warnings that it becomes impossible to
notice any other useful warning, thus making the compiler output
completely useless.

Ideally, we should fix all of those but, until then, it's better to add
this flag so that we avoid adding even more warnings by accident.
2023-10-12 10:09:44 +02:00
Asier Sarasua Garmendia
04b1468495 Update Basque translation
(cherry picked from commit 454955aada)
2023-10-12 06:49:37 +00:00
Marco Melorio
2fc0e26d79 illustrated-row: Use correct property to scale down image
This widget was using halign instead of content-fit to scale down the
image to the correct resolution, and it was making the image blurry in
some cases.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2382.
2023-10-10 12:39:39 +00:00
Marco Melorio
9006e6d421 a11y: Add description to cursor size dialog 2023-10-10 11:33:46 +00:00
Marco Melorio
7962dbddea a11y: Use GtkPicture in the cursor size dialog
This way we aren't forced to have squared buttons, which made the dialog
wider with a lot of empty space.
2023-10-10 11:33:46 +00:00
Marco Melorio
9bc4d616f3 a11y: Update cursors pngs in cursor size dialog
Also, use the actual correct sizes. This fixes
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2456.
2023-10-10 11:33:46 +00:00
Marco Melorio
19efcc8aca a11y: Use a box instead of a grid in cursor size dialog
Also, use GtkBox::homogeneous instead of a size group.
2023-10-10 11:33:46 +00:00
Marco Melorio
d4d4b953a2 a11y: Port cursor size dialog to AdwWindow & AdwToolbarView 2023-10-10 11:33:46 +00:00
Felipe Borges
5ff13e2def keyboard: Show title buttons at the initial state of "Set Shortcuts" dialog
Fixes #1078
2023-10-10 09:55:31 +00:00
Maximiliano Sandoval R
6ecbeb2a53 user-panel: Set pill style on button bellow list 2023-10-10 09:46:28 +00:00
Maximiliano Sandoval R
5da11f739d user-panel: Add missing xml header 2023-10-10 09:46:28 +00:00
Daniel Rusek
7f96cab6d2 Update Czech translation 2023-10-09 21:12:26 +00:00
Florentina Mușat
3d3feb16f0 Update Romanian translation 2023-10-09 16:10:32 +00:00
Maximiliano Sandoval R
16dab5c471 flatpak: g-c-c: Disable snap and tests 2023-10-09 10:17:44 +00:00
Maximiliano Sandoval R
13977fcbf9 flatpak: shell: Remove camera monitor 2023-10-09 10:17:44 +00:00
Maximiliano Sandoval R
ddd1a0900a flatpak: mutter: Remove tests 2023-10-09 10:17:44 +00:00
Maximiliano Sandoval R
6bf13a21a6 flatpak: Add libei
Needed for mutter.
2023-10-09 10:17:44 +00:00
Maximiliano Sandoval R
89d3e2fb1b flatpak: MM: Remove unneeded targets and fix dbus
Note that the examples fail to build with 23.08.
2023-10-09 10:17:44 +00:00
Maximiliano Sandoval R
43573a3ebd flatpak: NM: Set correct systemd unit dir 2023-10-09 10:17:44 +00:00
Maximiliano Sandoval R
9eb2514e59 flatpak: Set upower to 1.90.2
Git upower fails to compile g-s-d. See
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/issues/756
2023-10-09 10:17:44 +00:00
Maximiliano Sandoval R
ed2b2148e9 flatpak: Set udev dir correctly 2023-10-09 10:17:44 +00:00
Maximiliano Sandoval R
3d3b8d632a flatpak: Use fdo's gitlab instead of anongit 2023-10-09 10:17:44 +00:00
Cyber Phantom
8844b88dc0 info-overview: Don't set key binding twice 2023-10-09 08:25:26 +00:00
Piotr Drąg
e84c914011 Update POTFILES.in 2023-10-07 16:42:26 +02:00
Daniel Rusek
a6547381c1 Update Czech translation 2023-10-06 22:58:43 +00:00
Dark Dragon
16e0c687bd Add style check to CI 2023-10-05 11:26:47 +00:00
Automeris naranja
5dc07c9191 apps: Remove ellipsis from the "Clear Cache" button label
Button labels with ellipsis indicate that extra user input is
required to complete the action. However, the "Clear Cache" button
from the Storage dialog doesn't require any extra user input.

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2627
2023-10-04 08:23:31 +00:00
Automeris naranja
4cf2673534 apps: Tweak the "Other Media" row design from the Removable Media subpage
The "Other Media" row from the Removable Media subpage has some problems:

- The row label has ellipsis, but the "Configure action" button label should
have ellipsis instead, because the later triggers further input from the user
to complete the action[1]
- "Configure action" label doesn't use header capitalization

This change addresses the two issues above.

[1] https://developer.gnome.org/hig/guidelines/writing-style.html?highlight=ellipsis
2023-10-04 08:12:31 +00:00
Robert Ancell
058c9b3d6f applications: Replace snapd-glib with a native implementation
This has some advantages:
- Removes the conditional compilation requirement, which makes testing easier.
- Allows all distributed versions of Settings to have snap support without them supporting snapd-glib.
- Makes it faster to update Settings for Snap features without waiting on snapd-glib releases.

Note that the snap support is only invoked if you have snaps installed.

Downsides:
- Some additional code in Settings. This is manageable as Settings doesn't need much snap information.
  libsoup2 didn't support HTTP over Unix domain sockets and would have been too much to support in Settings.
  libsoup3 does support this which makes this possible.
- We no longer share code with snapd-glib, so any future changes will have to be made in multiple places.
  snapd has a stable API and multiple active clients so this is not likely to be a major concern.
2023-10-04 01:35:56 +00:00
Automeris naranja
4b1147add9 search-locations-dialog: Add ellipsis to the "Add Location" button
"Use an ellipsis (…) at the end of a label if further input or confirmation
is required from the user before the action can be carried out"

https://developer.gnome.org/hig/guidelines/writing-style.html
2023-10-03 14:26:26 +00:00
Automeris naranja
bc8eed3eca help-overlay: Remove "CTRL+S" and include "CTRL+F"
CTRL+S is no longer a shortcut to trigger search ever since
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1609,
because is a shortcut reserved for saving a file/content:
https://developer.gnome.org/hig/reference/keyboard.html

Also, CTRL+F, which is the shortcut recommended by HIG to trigger search,
already triggered the search bar in Settings prior to change that removed CTRL+S.
However, this shortcut was absent from the shortcuts window.
2023-10-03 11:57:22 +00:00
Michael Catanzaro
6219cbdca5 network: fix editing connections without a device
For example, fix adding new VPN connections.

In 60b4956c05 I correctly observed that we
need to not run code that requires a device when there is no device.
NetConnectionEditor is a multipurpose dialog and self->device is
optional when creating the dialog. E.g. when modifying VPN
configuration, we update just the configuration, not an NMDevice.

However, I added this check too soon, before updating the connection
configuration. We need to update the configuration first, then only bail
before proceeding to update the device, not sooner.

Fix #2668
2023-10-03 11:03:06 +00:00
Felipe Borges
2397db38c3 network: Replace use of deprecated gtk_widget_hide
In favor of gtk_widget_set_visible
2023-10-03 11:41:07 +02:00
Ondřej Pohořelský
9d1af3de28 wifi: disable hotspot row when Wi-Fi is not active
There is no point in showing hotspot creation dialog when it can't
enable the hotspot without Wi-Fi adapter enabled.
2023-10-03 09:33:08 +00:00
kramo
6a95124c88 keyboard: Add outline to shortcut graphic arrows 2023-10-03 09:08:05 +00:00
Felipe Borges
358a952f70 mouse: Fix linked style of primary mouse button in RTL
Commit d980e0ffee fixed an issue when the "Left" button would appear
at the right side for RTL languages given that GtkBox would reorder
its horizontal children to RTL direction.

The solution at the time was to force the primary-button box to stay
in LTR direction when the rest of the interface is shown in RTL.
This introduced a regression where the CSS "linked" style of the
buttons used was the LTR one, breaking the "linked" styling.

This fix will manually reorder the Left/Right buttons rather than
calling gtk_widget_set_direction on the primary-button-box.

Fixes #2649
2023-10-03 09:00:47 +00:00
Marcos Miller
dbc68c7123 general: better variable names
Changes variable name magnify_factor_spin and number_of_workspaces_spin
by adding 'row' to match the AdwSpinRow object.
2023-10-03 08:59:11 +00:00
Marcos Miller
5c1cfcace2 multitasking: uses g_settings_bind_no_sensitivity 2023-10-03 08:59:11 +00:00
Marcos Miller
6a0f157140 universal-access: use AdwSpinRow in Zoom > Magnification Factor 2023-10-03 08:59:11 +00:00
Marcos Miller
43f1a2ad4a multitasking: use AdwSpinRow in number of workspace
When starting the panel, it was necessary to add the sensitive
property to 'number_of_workspaces_spin', because when doing the
'g_settings_bind' it was leaving it visible even with the dynamic
workspaces option active.
2023-10-03 08:59:11 +00:00
Sabri Ünal
720d0d6603 Update Turkish translation 2023-10-01 19:03:43 +00:00
Fabio Tomat
48618423c8 Update Friulian translation 2023-09-28 18:04:18 +00:00
Aurimas Černius
530ba53531 Update Lithuanian translation
(cherry picked from commit 38b0bc5667)
2023-09-25 20:09:48 +00:00
Rafael Fontenelle
09b1ad3a53 Update Brazilian Portuguese translation
(cherry picked from commit cef09dfa7d)
2023-09-25 13:27:03 +00:00
Martin
8544303ecd Update Slovenian translation
(cherry picked from commit a9d37c85d1)
2023-09-24 15:35:34 +00:00
Danial Behzadi
456fa5ffb1 Update Persian translation
(cherry picked from commit 8922e6220c)
2023-09-24 12:35:28 +00:00
Piotr Drąg
a291274143 Update Polish translation 2023-09-24 14:28:08 +02:00
Kristjan SCHMIDT
657cc8fb8a Update Esperanto translation
(cherry picked from commit aacba75357)
2023-09-23 23:34:42 +00:00
Danial Behzadi
51366640a2 Update Persian translation
(cherry picked from commit 538201116f)
2023-09-23 15:24:44 +00:00