Commit graph

18706 commits

Author SHA1 Message Date
Georges Basile Stavracas Neto
8643876965 docs: Fix markdown formatting 2019-07-22 20:23:19 +00:00
Fabio Tomat
28632022fe Update Friulian translation 2019-07-20 16:35:43 +00:00
Asier Sarasua Garmendia
556b1a40aa Update Basque translation 2019-07-20 07:31:49 +00:00
Benjamin Berg
345a819f84 display: Add guards for NULL display configuration
This may happen under some conditions. Possibly due to a race condition
(i.e. we did not receive any configuration from mutter yet) or also if
we are not running on GNOME.

Add guards for NULL configuration. This configuration is never
applicable and mostly clears the UI.

Fixes: #604
2019-07-20 02:23:53 +00:00
Benjamin Berg
561ac849d7 display: Add failure returns into CcDisplayConfig
This guards against accidental use of NULL pointers so that the panel
will hopefully not crash if new bugs like this are introduced.
2019-07-20 02:23:53 +00:00
Mohammed Sadiq
e1cd43cb48 background: Get Preview aspect ratio from primary monitor
Get the aspect ratio from Primary monitor, and allow the preview
to have smaller size, so that it works well on smaller screens
2019-07-20 02:22:03 +00:00
Christian Kirbach
197d261df3 Update German translation
(cherry picked from commit 3067ef1c67)
2019-07-19 23:13:52 +00:00
Goran Vidović
557560a709 Update Croatian translation 2019-07-19 21:32:05 +00:00
Jordi Mas
3a695edea8 Update Catalan translation 2019-07-19 18:15:53 +02:00
Allan Day
eb8263454f region: Use correct icon for the drag handle
There's a dedicated icon for drag handles - we should make use of
it. Also, change the color of the handle so it looks like it is
part of the row.

Fixes #590
2019-07-16 22:34:26 +00:00
Felipe Borges
4f099e33c5 shell: Add global CSS stylesheet 2019-07-16 22:34:26 +00:00
Benjamin Berg
3721f9ed4a display: Update ShowMonitorLabels DBus call
The function has been changed in gnome-shell to be called ShowMonitorLabels
again (rather than ShowMonitorLabels2). Update g-c-c accordingly.

See https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/491
2019-07-15 09:21:23 +00:00
Mohammed Sadiq
38897a751b universal-access: Free zoom options dialog right
Use gtk_widget_destroy() instead of g_clear_object().
Otherwise, it results in segfault on dispose()
2019-07-15 04:40:42 +00:00
Jonathan Kang
90af5b87f9 network: Fix mtu label not requesting enough space
Remove the size group where mtu label belongs, so that it can request
enough space when it becomes visible. Since the size group is removed,
filler widget is no longer useful. Remove it as well.
2019-07-15 03:35:59 +00:00
Benjamin Berg
6ed523959d display: Show scale row unconditionally
The only functional change in this commit is the reval of the if that is
checking for cloning mode.
2019-07-15 03:14:24 +00:00
Benjamin Berg
5aac1e93f2 display: Check scale is valid for all monitors when mirroring 2019-07-15 03:14:24 +00:00
Benjamin Berg
9e4c6e89a0 display: Use the new API to determine whether a scale is valid 2019-07-15 03:14:23 +00:00
Marco Trevisan (Treviño)
9ef001b3b1 display-config: Add size constraints and (global) scaled mode checks
Make possible to set scaled size constraints per configuration, and add a method
to verify if the current mode at scale is allowed for such config.

This allows to perform such check also in case we have global scaling enabled,
as in such case we must verify that all the selected current modes are supported
by the given scale.

Fixes GNOME/mutter#407
2019-07-15 03:14:23 +00:00
Markus Theil
04f3264c6a network/eap-method-ttls: add domain match
As it is often not sufficient to only check against
a set of known CA certificates, add a domain suffix
check for Wi-Fi connections.

Signed-off-by: Markus Theil <theil.markus@gmail.com>
2019-07-15 15:02:32 +12:00
Robert Ancell
a57a85a1db sharing: Fix warning when disabling sharing
The warning is:
(gnome-control-center:29760): Gtk-CRITICAL **: 11:45:48.076: gtk_widget_is_visible: assertion 'GTK_IS_WIDGET (widget)' failed

This is due to the code trying to disable switches that only exist if support
for that feature is available.
2019-07-15 14:38:52 +12:00
Stefano Facchini
b47ada9b76 sharing: Fix master switch
Since the switches for media, personal file, and screen sharing are in the header bar of the
respective dialogs, they are not visible when we click on the master switch. This caused the
check in OFF_IF_VISIBLE to always fail.

Fix it by checking if the corresponding button in the main list box is visible, instead.

Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/240
2019-07-15 00:05:23 +00:00
Jor Teron
5a5a501912 Add Karbi translation 2019-07-14 18:51:10 +00:00
Milo Casagrande
75c4ca900c Update Italian translation
(cherry picked from commit e7a8837160)
2019-07-11 07:06:02 +00:00
Efstathios Iosifidis
ce0817845d Update Greek translation 2019-07-08 19:22:23 +00:00
Kukuh Syafaat
3184b469c1 Update Indonesian translation 2019-07-08 08:38:39 +00:00
Piotr Drąg
ec179bb463 Update Polish translation 2019-07-06 18:28:40 +02:00
Rafael Fontenelle
67a762d00d Update Brazilian Portuguese translation 2019-07-04 12:27:51 +00:00
Michael Catanzaro
a22da99aaf Replace unsafe setlocale() use with uselocale()
setlocale() is not threadsafe except when used only to query the locale
without changing it. Let's use uselocale() instead, which changes the
locale only on the calling thread. Much better.
2019-07-03 17:15:33 -05:00
Daniel Mustieles
cb75ca664b Updated Spanish translation 2019-07-02 11:57:06 +02:00
Jordi Mas
47ac33e738 Update Catalan translation 2019-07-01 08:48:06 +02:00
Fabio Tomat
a14fec2536 Update Friulian translation 2019-06-30 15:32:53 +00:00
Bastien Nocera
2ae206c7e2 build: Require NetworkManager 1.12
Seeing as that's the version that added the
nm_device_wifi_get_last_scan() we use.
2019-06-30 13:20:35 +00:00
Iain Lane
566db3a35f network: Handle cloned-mac setting
This can be set to 'preserve', 'permanent', 'random' or 'stable'. We
need to handle these values otherwise we can end up with the editor
being un-saveable.

Turn the entry in to a GtkComboBoxText with those items in it, allowing
a mac address to be typed too.

Partial copy of 85b6b659a140a59c3df787062e089a0b4e2a547d from
network-manager-applet.
2019-06-27 03:37:37 +00:00
Jordi Mas
538cbfb4da Update Catalan translation 2019-06-22 09:22:29 +02:00
Goran Vidović
2375264977 Update Croatian translation 2019-06-21 23:47:01 +00:00
Kukuh Syafaat
69b33b122f Update Indonesian translation 2019-06-21 10:50:03 +00:00
Efstathios Iosifidis
7f71f68c53 Update Greek translation 2019-06-20 19:54:52 +00:00
Georges Basile Stavracas Neto
fb76a31c69
3.33.3 2019-06-19 12:56:32 -03:00
Georges Basile Stavracas Neto
6fb41e8080
project: Require meson 0.50.0 2019-06-19 12:40:23 -03:00
Daniel Mustieles
ec951d9d17 Updated Spanish translation 2019-06-19 10:05:44 +02:00
Nathan Follens
74d55a7b7d Update Dutch translation 2019-06-18 08:41:33 +00:00
Allan Day
3d9649577a display: improve time widget spacing
It's good to have some space between the to and from widgets, so
they aren't squashed, and so they blend better with the colour
temperature slider below.

Ideally we'd just increase the space between the to and from
sections, and not also between the widgets and their labels, but
the approach in this commit isn't too bad.
2019-06-17 11:44:06 +01:00
Allan Day
c8c6d51fd0 display: Improve Night Light settings labels
Make sure that the labels in the night settings are clear.

Fixes #583
2019-06-17 11:41:26 +01:00
Piotr Drąg
eebc935134 Update POTFILES.in 2019-06-16 13:16:13 +02:00
Georges Basile Stavracas Neto
05b531ec28 sound: Remove unused variable 2019-06-16 01:01:36 +00:00
Jordan Petridis
b542e98359 sounds: Use correct mute icon in the input section
The current code does not differenciate between input and
output, and thus it shows the same icon for muting outputs
and inputs. As per design suggesion [1], the input row
should use the "microphone-sensitivity-muted-symbolic" icon.

In order to achieve that, move the CcLevelBarStreamType enum
to a separate header, and rename it to CcStreamType. And also
pass the stream type to the volume slider.

In CcVolumeSlider, update the code to switch to the correct
mute icon depending on the stream type.

[1] https://gitlab.gnome.org/GNOME/gnome-control-center/issues/539

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/539
2019-06-16 01:01:36 +00:00
Georges Basile Stavracas Neto
041284427a project: Update subprojects
Updates libhandy and GVC. The interesting change we are
looking for is in GVC, switching the icon of the "System
Sounds" stream to "emblem-system-symbolic".
2019-06-16 01:01:36 +00:00
Georges Basile Stavracas Neto
a9f0248376 sound: Use fallback icon when stream's icon doesn't exist
Some streams may give us an icon name that doesn't exist in the
icon theme (e.g. Spotify giving "audio"). While it's fundamentally
an application problem, we can deal with this case a bit better
than showing the ugly "image-missing" icon.

Detect when an icon doesn't exist by performing an icon theme
lookup and, if the icon really doesn't exist, use a proper fallback
icon.

It also avoids a small GIcon leak.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/548
2019-06-16 01:01:36 +00:00
Georges Basile Stavracas Neto
e8bd7c24ee sound: Remove icon from sound theme buttons
Remove the icon and adjust the label to be vertically
centralized.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/549
2019-06-16 01:01:36 +00:00
Georges Basile Stavracas Neto
c4e8464818 wifi: Show a spinner when scanning for new access points
The spinner was already present in the UI file! It just needs
minor cleanups (such as moving the bottom margin from the label
to the parent box) and binding the widget to the structure.

We need to monitor which device is visible since the Wi-Fi panel
deals with multiple Wi-Fi devices as well.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/551
2019-06-16 01:01:36 +00:00