Commit graph

20291 commits

Author SHA1 Message Date
Quentin PAGÈS
3140459a26 Update Occitan translation 2021-06-24 20:12:20 +00:00
Felipe Borges
1b6c8ca55d mouse: Overlay mouse test button on top of the artwork 2021-06-24 16:16:14 +02:00
Jakub Steiner
3a0fb47373 mouse: test panel graphic
- update graphic to follow illustration style -- https://gitlab.gnome.org/Teams/Design/app-illustrations

Fixes Teams/Design/initiatives#82
2021-06-24 16:11:48 +02:00
Muhammet Kara
860d953e99 Update Turkish translation 2021-06-20 05:33:01 +00:00
Pawan Chitrakar
920bcbdcd6 Update Nepali translation 2021-06-16 13:42:49 +00:00
Eric
4383f020e7 Switch to g_get_os_info to read os_release
As described in #1346, GLib 2.64 includes a g_get_os_info() function,
providing access to keys from /etc/os-release. This commit replaces calls to
gnome-control-center's custom parser (in panels/common/cc-os-release.c)
with calls to this new function, and deletes the custom parser code.

Closes #1346
2021-06-15 21:54:35 +00:00
Marco Trevisan (Treviño)
632cb3c907 display-settings: Show scaling values using a combo-box when more than buttons limit
In case fractional scaling is enabled, depending on the resolution,
mutter may advertise many fractional scaling values which are way more
than MAX_SCALE_BUTTONS, making impossible to use higher fractional
scaling values in high dpi setups.

So, in case scaling is possible, show them as buttons if they fit the
buttons limit, otherwise fallback to a combo box that is consistent with
the rest of the UI and will allow to use any valid scaling value.
2021-06-15 17:30:36 +00:00
Marco Trevisan (Treviño)
266622e99e display-config: Filter invalid modes and scales when setting minimum size
In the front-end we define a minimum size and then we check every time
we iterate through resolutions or scales if such mode is valid.

Since the configuration won't change, we can just filter the invalid
values once when the minimum allowed size is set, so that we can be sure
that the returned scales list is always matching the ones appliable for
the current mode.

The only edge case is when using a cloned configuration, as in this case
the values need to be applied to all the monitors.
However, since we already return a reffed GArray we can just create a
temporary one in this case where unappliable scales are skipped.

As per this we can just use around the scales array length as the number
of visible buttons.
2021-06-15 17:30:36 +00:00
Marco Trevisan (Treviño)
a3392176a9 display-config: Expose the supported scales as a reffed GArray
It's just a nicer api and allows us to avoid having to count all the
elements around or to expose the size via an out value.

Given this is a private API anyway there's no risk for modifying the
array, so it's something safe to use anyways.
2021-06-15 17:30:36 +00:00
Marco Trevisan (Treviño)
89cb1d99cb display-config: Use G_APPROX_VALUE to compare scale doubles
It's not safe to compare double values directly, use G_APPROX_VALUE with
DBL_EPSILON instead.
2021-06-15 17:30:36 +00:00
Marco Trevisan (Treviño)
ca884dc666 display-panel: Clear the variant builder if not showing an OSD
When we've only one monitor active we are not showing the OSD but we're
leaking the variant used to request the shell to show the OSDs.
2021-06-15 17:30:36 +00:00
Felipe Borges
bdc0368bd0 flatpak: Bundle clutter (and friends) for cheese dependency
Cheese depends on clutter, which has been recently removed from our
Flatpak runtime. See https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1092

Fixes #1380
2021-06-15 12:46:09 +00:00
Daniel Mustieles
ff8839682d Updated Spanish translation 2021-06-15 13:05:35 +02:00
Danial Behzadi
4923a48547 Update Persian translation 2021-06-15 00:54:22 +00:00
Dušan Kazik
66c455d120 Update Slovak translation 2021-06-11 06:37:51 +00:00
Dušan Kazik
4bb44051c9 Update Slovak translation
(cherry picked from commit d8caedd80e)
2021-06-11 06:28:58 +00:00
Yuri Chornoivan
609babfeb9 Update Ukrainian translation 2021-06-09 16:12:03 +00:00
Eric
1fc8b772a4 printers: Make "Add…" button consistent with user accounts panel
The "Add..." toolbar button on the printers panel is currently hidden until the panel is unlocked.
This commit makes the button visible but insensitive when the panel is locked (becoming sensitive when unlocked),
as suggested in #1213. It also changes the text from "Add..." to "Add Printer..."
and updates the subtitle in the infobar to "Unlock to Add Printers and Change Settings."
These changes make the button's UI consistent with the Accounts panel's "Add User..." toolbar button.

Closes #1213
2021-06-09 13:34:01 +00:00
Hugo Carvalho
b61522b612 Update Portuguese translation 2021-06-08 20:51:45 +00:00
Emin Tufan Çetin
b3e14cf5c5 Update Turkish translation 2021-06-08 13:22:09 +00:00
Danial Behzadi
cb3f93c294 Update Persian translation 2021-06-07 22:59:15 +00:00
Marco Trevisan (Treviño)
ed46af7f24 build: Depend on gsettings-desktop-schemas 40
g-c-c requires now org.gnome.desktop.peripherals schemas that have been
added on schemas 40.alpha, so let's depend on that.
2021-06-07 22:40:20 +02:00
Jordi Mas
d9e892ce4b Update Catalan translation 2021-06-03 21:23:55 +02:00
Cheng-Chia Tseng
9e00fe8cb6 Update Chinese (Taiwan) translation
(cherry picked from commit c30358bea1)
2021-06-03 01:51:25 +00:00
Petr Kovář
2caeccc523 Update Czech translation 2021-05-30 10:45:38 +00:00
Felipe Borges
6c816e79e8 flatpak: Stop bundling libhandy
It is now included in the Nightly SDK by default.
2021-05-27 15:50:14 +02:00
Jiri Grönroos
1caadd3639 Update Finnish translation
(cherry picked from commit f2e1dfd161)
2021-05-26 06:51:33 +00:00
Philipp Kiemle
03225766bd Update German translation
(cherry picked from commit 3bfc5f71d0)
2021-05-22 20:59:13 +00:00
1pav
0f6394d609 flatpak: Fix NetworkManager branch name
Upstream branch of NetworkManager module has been renamed
from 'master' to 'main'. This caused NetworkManager build
to fail.
2021-05-21 17:48:15 +00:00
Bastien Nocera
fdd629293d info-overview: Make logo non-square
Make the logo non-square by setting its pixel size to -1. If (or when)
scaling the logo down is needed, we should instead use GtkIconTheme to
load the backing pixbuf, and use it to populate the GtkImage.
2021-05-21 15:00:20 +00:00
Bastien Nocera
df4857d960 info-overview: Simplify GNOME logo setting
Use the same code path for setting the GNOME logo as for setting the
distribution logo.
2021-05-21 15:00:20 +00:00
Bastien Nocera
a3b8964a19 info-overview: Look for -text and -dark logo variants
When loading the LOGO icon name from /etc/os-release, append -text to
prefer a textual variant of the logo if it exists, and -dark if the
theme variant is dark.

This allows distributors to ship textual and dark variants of their
logos without adding more fields to /etc/os-release, or more code
specific to logo handling for specific distributions.

$LOGO: default icon
$LOGO-dark: default icon when dark theme is used
$LOGO-text: icon with text
$LOGO-text-dark: icon with text when dark theme is used
2021-05-21 15:00:20 +00:00
Yuri Chornoivan
f3312c6577 Update Ukrainian translation 2021-05-20 07:35:09 +00:00
Mohammed Sadiq
453eb3adaf search: Use content style for listboxes 2021-05-19 03:25:47 +00:00
Mohammed Sadiq
7f4703d7ad notifications: Use content style for listboxes 2021-05-19 03:25:47 +00:00
Mohammed Sadiq
1fa95b5fc5 keyboard: Use content style for listboxes 2021-05-19 03:25:47 +00:00
Mohammed Sadiq
bb6b3fbbcb wifi: Use content style for listboxes 2021-05-19 03:25:47 +00:00
Mohammed Sadiq
7c575b8ccf sound: Use content style for listboxes 2021-05-19 03:25:47 +00:00
Mohammed Sadiq
e09ecc41aa mouse: Use content style for listboxes 2021-05-19 03:25:47 +00:00
Mohammed Sadiq
179d6aeb2d user: Use content style for listboxes 2021-05-19 03:25:47 +00:00
Mohammed Sadiq
ea821e5c3a datetime: Use content style for listbox 2021-05-19 03:25:47 +00:00
Ian Douglas Scott
edffd1b295 keyboard: Create CcXkbModifierDialog only when used
This should avoid issues where this setting is changed just by opening
Gnome Control Center, as reported in
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/918

This should also mean someone can tweak the settings as desired outside
Gnome Control Center, and not have them clobbered unless they open the
dialog in g-c-c.
2021-05-19 03:20:41 +00:00
Ian Douglas Scott
e224e5177a keyboard: Rename XkbOption and XkbModifier with Cc prefix 2021-05-19 03:20:41 +00:00
treysis
5a9fa905bc network: display IPv6 gateway 2021-05-19 02:43:39 +00:00
Ian Douglas Scott
1e917d0033 mouse: Use HdyActionRow
More consistent styling with other panels, and removes a lot of xml.
2021-05-12 04:05:30 +00:00
Mohammed Sadiq
092c77b0c1 user: Allow activating rows
HdyActionRow are not activatable by default. Explicitly enable them.
2021-05-12 03:18:35 +00:00
treysis
5a18b369c6 Network: Show all IPv6 addresses for an interface
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1300
2021-05-12 14:17:52 +12:00
Aurimas Černius
25a5a8e6f2 Updated Lithuanian translation 2021-05-10 22:11:38 +03:00
Daniel Șerbănescu
ba110fc43f Update Romanian translation
(cherry picked from commit 3e9d08287c)
2021-05-08 21:25:38 +00:00
Carlos Garnacho
6524c9a529 network: Make IPv4/v6 pages drive the scrolledwindow adjustments
Those 2 pages in the connection editor dialog are scrollable, but don't
hook focus changes so they drive the adjustments. Make them do so.
2021-05-07 04:06:35 +00:00