Commit graph

23036 commits

Author SHA1 Message Date
Lukáš Tyrychtr
e55a4feefe network: Add mnemonic widgets to the Wireguard peer list row, fixing label reading 2023-10-24 09:17:00 +00:00
Lukáš Tyrychtr
caa7650081 network: Add mnemonic widgets to the wireguard editor page, fixing reading of the labels of the fields 2023-10-24 09:17:00 +00:00
Sabri Ünal
28d6b61b4c info-overview: Mark two strings translatable
- Hardware Information
- Software Information

These strings are visible on the copied text of the About dialog.
2023-10-23 14:25:45 +00:00
Maximiliano Sandoval R
4ee4fa3428 network: Port connection editor to AdwWindow
GtkDialog is deprecated. We also took the opportunity to use AdwToolbarView.

See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2624.
2023-10-23 14:25:12 +00:00
Maximiliano Sandoval R
92d0a5d50c network: Port add VPN connection to action rows
By using action rows we can actually use the boxed-list class.
2023-10-23 14:25:12 +00:00
Maximiliano Sandoval R
77090f4ccd network: Define margins in the UI file 2023-10-23 14:25:12 +00:00
Maximiliano Sandoval R
5cd582bef6 network: Remove orientation=vertical from box
These boxes cannot have more than a single child.
2023-10-23 14:25:12 +00:00
Allan Day
a75cdb2c46 power: Adjust section titles
Use the section titles from the latest mockups. Also remove the unused
title from the .ui file.
2023-10-23 14:04:22 +00:00
Automeris naranja
0d48055f9f firmware-security-page: Add tooltip to fw_help_button
"Controls in the header bars of primary windows should all have tooltips".

https://developer.gnome.org/hig/patterns/feedback/tooltips.html
2023-10-23 13:46:34 +00:00
Automeris naranja
f813d0d1d4 screen: Rename "Forbid new USB devices" to "Forbid New USB Devices"
Header capitalization needs to be used.

https://developer.gnome.org/hig/guidelines/writing-style.html
2023-10-23 13:45:21 +00:00
Eric Daigle
b0b0d177be apps: Make Other Media row consistent
As described in #2688, the Other Media row in the Removeable Media section
of the new apps panel currently uses a Configure Action button to open a
modal dialog. This is inconsistent with other rows in Settings than open a
subpage or modal dialog, which all use CcListRows with right arrows.

This MR changes the Other Media row to a CcListRow with a right arrow, making
it consistent with other such rows in Settings. It also moves the "Select how
other media should be handled" text from the modal dialog to the CcListRow tooltip.

Closes #2688
2023-10-23 13:43:26 +00:00
Maximiliano Sandoval R
527942fd9b password-dialog: Remove unneded visible=True 2023-10-23 13:41:53 +00:00
Maximiliano Sandoval R
2267c3662f password-dialog: Set minimum size. 2023-10-23 13:41:53 +00:00
Maximiliano Sandoval R
25797ff1c1 password-dialog: Remove text-button classes
These are automatically added by GtkLabel, if needed.
2023-10-23 13:41:53 +00:00
Maximiliano Sandoval R
c72c4eb5a6 password-dialog: Use AdwToolbarView
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2624
2023-10-23 13:41:53 +00:00
Maximiliano Sandoval R
4209811f2f sharing-panel: Make adaptive
We allow the media sharing dialog to be resizable.

We wrap the content in a scrolled window containing a clamp.
2023-10-23 13:37:52 +00:00
Maximiliano Sandoval R
883a3d44ab sharing-networks: Make network row activatable 2023-10-23 13:37:52 +00:00
Maximiliano Sandoval R
77acfe3ebd sharing-networks: Set seleciton-mode=none
Using other selection modes is not supported with boxed-list and we
don't make use of it.
2023-10-23 13:37:52 +00:00
Maximiliano Sandoval R
a660cfa9ff sharing-network: Remove Glade lines 2023-10-23 13:37:52 +00:00
Maximiliano Sandoval R
8e0e3487cb sharing-network: Don't use GtkFrame 2023-10-23 13:37:52 +00:00
Maximiliano Sandoval R
949e850de6 sharing-panel: Use proper heading class 2023-10-23 13:37:52 +00:00
Maximiliano Sandoval R
d3f824e422 sharing-networks: Use proper heading class 2023-10-23 13:37:52 +00:00
Hari Rana
1c62c25907 wifi-connection-row: Add tooltip texts
Co-authored-by: Automeris naranja <104251-automerisnaranja@users.noreply.gitlab.gnome.org>
2023-10-23 13:31:32 +00:00
Maximiliano Sandoval R
abab4956ad
xkb-modifier-dialog: Port to AdwWindow
We add a toolbar view containing a scrolled window.

- We set the margins to 12 instead of 18
- Use AdwHeaderBar
- Set minimum size and default size
- Make resizable so it fits on small screens

See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2624
2023-10-22 10:19:39 +02:00
Felipe Borges
270e943ed2 universal-access: Add a few comments to translatable strings
This should help translators contextualize some of the strings we
display in the Zoom page of the Accessibility settings.

Fixes #2702
2023-10-20 16:19:21 +02:00
Felipe Borges
7ffdb1c5b9 appdata: Update contact url to point users to Discourse
The mailing list is now dead.

See #1158
2023-10-20 12:58:49 +02:00
Sabri Ünal
30eed4a66e appdata: add vcs-browser support and more
vcs-browser URL is visible on Flathub and GNOME Control Center.

Also:
- Update donation URL
- Add a homepage

More information: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-url
2023-10-20 12:57:31 +02:00
Maximiliano Sandoval R
526217badb keyboard-shortcut-dialog: Allow escape to close
At the moment the search entry is consuming the Escape key press, so we
have to manually tell it what to do with it.

We clear the search on the first press, if there is input, and close the
window otherwise.
2023-10-20 10:55:01 +00:00
Automeris naranja
759eccf61b printers: Add tooltip to the search button
"Controls in the header bars of primary windows should all have tooltips".

https://developer.gnome.org/hig/patterns/feedback/tooltips.html
2023-10-20 10:49:48 +00:00
Marco Melorio
dccaf98135 mouse-panel: Increase AdwBreakpoint width to avoid videos being blurry
When reducing the window width, CCSplitRow won't have enough width
to display videos without blurriness. This change increases the
AdwBreakpoint width so CCSplitRow shows vertically before that problem
described earlier happens.

See also: https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1960#note_1869031

Part-of: <https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1960>

Partially fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2631
2023-10-20 10:24:27 +00:00
Marco Melorio
b136406210 cc-split-row: Reduce GtkPicture horizontal margins to avoid blurriness
There is a difference between the aspect ratio of the CCSplitRow widget
and the videos from the Mouse & Touchpad panel, which causes the videos
to appear blurry.

This change reduces the video margins so they can better align with the pixel grid.
See also: https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1960#note_1869031

Part-of: <https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1960>

Partially fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2631
2023-10-20 10:24:27 +00:00
Maximiliano Sandoval R
2e12bf3bbe input-list-box: Add a label to the add button
This way it looks a bit more full and helps with a11y. Values taken from
the app Secrets.
2023-10-20 08:58:35 +00:00
Maximiliano Sandoval R
a98748f535 input-list-box: Use ActionRow instead of label
This way it has the correct height.
2023-10-20 08:58:35 +00:00
Felipe Borges
519b7d9cfd a11y: Make Cursor size dialog close on Escape key
Addresses comment
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1951#note_1865060
2023-10-17 12:51:23 +00:00
Maximiliano Sandoval R
56f2ac9cb3
applications-panel: Set pill style on button
See https://developer.gnome.org/hig/patterns/controls/buttons.html
2023-10-16 21:06:48 +02:00
Artur S0
051104fea7 Update Russian translation 2023-10-16 12:04:58 +00:00
Marcos Miller
4b9527b41e datetime: use AdwSpinRow in dialog
See https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2660
2023-10-13 10:42:59 +00:00
Felipe Borges
52b8af088c ci: Allow failure for the style-check-diff CI job
This shouldn't block us from landing work, is more of a warning.
2023-10-12 10:09:44 +02:00
Felipe Borges
baf00809b7 meson: Introduce -Ddeprecated-declarations=enabled build option
Per discussion in https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1940
we agreed that the number of deprecated warnings is cluttering
significantly our build logs and making it hard for new contributors to
spot new warnings that their code changes introduce.

For now we decided that the default value for deprecated-declarations is
DISABLED.
2023-10-12 10:09:44 +02:00
Marco Melorio
7363ca800e network: Fix "Missing initializer for field" warning 2023-10-12 10:09:44 +02:00
Marco Melorio
acd3e4a9c6 keyboard: Fix "argument discards const qualifier" warning 2023-10-12 10:09:44 +02:00
Marco Melorio
13c939659a misc: Fix incompatible type warnings 2023-10-12 10:09:44 +02:00
Marco Melorio
e6ac0b8eed panel: Remove unused and undefined declarations 2023-10-12 10:09:44 +02:00
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