Commit graph

17504 commits

Author SHA1 Message Date
Georges Basile Stavracas Neto
6cd9461807 universal-access: Turn ZoomOptions into a template class
This commit turns the ZoomOptions into a template class that
subclasses GtkDialog.

This is also a follow-up from commit c82deede1 where we started
using the non-deprecated GdkMonitor API.
2018-03-16 02:01:38 -03:00
Mario Sanchez Prada
ca9228bb59 display: Early return in monitor_labeler_show() if no outputs are available
The GVariant constructed here would be useless otherwise, since there are
no outputs to show the labels for. Besides, calling g_variant_builder_close
in this scenario would hit an assertion and the program would crash.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/12
2018-03-14 23:27:44 +00:00
Benjamin Berg
729db87249 network: Remove dead code trying to use NMConnection as NMActiveConnection
These code paths could never be hit as an NMConnection cannot be an
NMVpnConnection which is a descendant of NMActiveConnection.

https://bugzilla.gnome.org/show_bug.cgi?id=794171
2018-03-12 17:29:53 +01:00
Benjamin Berg
72ef675a36 network: Fix warning about missing cast to GtkWidget*
https://bugzilla.gnome.org/show_bug.cgi?id=794171
2018-03-12 16:15:19 +01:00
Benjamin Berg
3117e2dc4a network: Remove nagging code which removed from libnma
This has been removed long ago and there are only stubs left for g-c-c.

See also:
- https://bugzilla.gnome.org/show_bug.cgi?id=706964
- https://git.gnome.org/browse/network-manager-applet/commit/?id=e21d598896ccd2c52850f52d21fe1d5aaa4e5410

https://bugzilla.gnome.org/show_bug.cgi?id=794171
2018-03-12 16:14:47 +01:00
Bastien Nocera
4663ba2fac network: Fix crash opening "Hidden network" dialogue
Both the Network panel and libnma expect UI resources in the
same location, which will cause problems when the Network panel loads
its own version that doesn't quite match up to the code used in libnma.

This fixes a crash when nma_wifi_dialog_new_for_hidden() is called and
libnma expects a domain widget to be present, which it isn't in our
version of the UI files.

https://bugzilla.gnome.org/show_bug.cgi?id=785099
2018-03-12 14:39:10 +01:00
Bastien Nocera
7289e21ef1 network: Fix crash due to object name clashes in NM and g-c-c
1. open Wi-Fi Settings
2. Menu -> Known Wi-fi Networks
3. Click settings of some Wi-Fi network listed there.
4. Press escape twice to close all the dialogs
5. Menu -> Connect to Hidden network..,

Fix crashes when some object type names (WirelessSecurity and
EAPMethod in this case) are duplicated across the Network
panel and libnma.

Fixes a regression in commit 0470c04

https://bugzilla.gnome.org/show_bug.cgi?id=785099
2018-03-12 14:27:18 +01:00
Anders Jonsson
4c997468ad Update Swedish translation
(cherry picked from commit d6a67d6acc)
2018-03-11 20:19:28 +00:00
Daniel Șerbănescu
e8c93821a1 Update Romanian translation 2018-03-11 08:32:58 +00:00
Ask Hjorth Larsen
4587f8b22b Updated Danish translation 2018-03-08 12:52:01 +01:00
Daniel Șerbănescu
135896eb6e Update Romanian translation 2018-03-07 19:33:25 +00:00
Georges Basile Stavracas Neto
c82deede1c universal-access: Port to GdkMonitor API
This removes the last deprecation warning of the Universal
Access panel by porting the GdkScreen API usage to the
GdkMonitor API.
2018-03-07 12:10:22 -03:00
Georges Basile Stavracas Neto
cec979ae0c universal-access: Replace GtkHScale
Following the previous commit, this one replaces GtkHScale
by GtkScale. No GtkVScale was found in Universal Access
panel (or any other panel).
2018-03-07 11:56:26 -03:00
Georges Basile Stavracas Neto
86413dc6d5 universal-access: Replace GtkHBox and GtkVBox
We can simply use a GtkBox and set the orientation property.
Since this property defaults to 'horizontal', we actually
only need to set it when replacing GtkVBox.
2018-03-07 11:50:07 -03:00
Georges Basile Stavracas Neto
9e8a4729f0 color: Remove deprecated functions and silence compiler warnings
The color calibration code called on GdkScreen API, an API that is
now mostly deprecated in favour of GdkDisplay and GdkMonitor.

This commit updates that, and also removes a compiler warning about
different enum types.
2018-03-07 11:08:43 -03:00
A S Alam
3be75fe9df Update Punjabi translation 2018-03-07 12:32:18 +00:00
Milo Casagrande
4d62da5f72 Update Italian translation
(cherry picked from commit bbe8f0c5e3)
2018-03-07 09:05:24 +00:00
Georges Basile Stavracas Neto
e59fdcdf1c window: Replace deprecated function
gdk_keymap_get_default() is deprecated in favor of
gdk_keymap_get_for_display(), so let's just use that.
2018-03-06 22:55:01 -03:00
Georges Basile Stavracas Neto
63ceb2305a fixup! application: Initialize action using a GActionEntry table 2018-03-06 22:48:06 -03:00
Georges Basile Stavracas Neto
c5f97d8a56 panel-loader: Update code style
Use g_auto and remove an unecessary line break.
2018-03-06 22:38:56 -03:00
Georges Basile Stavracas Neto
b5f7875be4 application: Initialize action using a GActionEntry table
Instead of manually instanciating each action.
2018-03-06 22:35:06 -03:00
Georges Basile Stavracas Neto
de5d1a2417 application: Use modern g_autoptr practices
This saves us some lines of code, and modernizes the
codebase a little bit.
2018-03-06 22:27:14 -03:00
Georges Basile Stavracas Neto
23fadca422 user-accounts: Force symlink creation
So that we can run Settings more than once in GNOME Builder.
Without the -f flag, ln errs out after these symlinks are
created, and Builder refuses to run after that.
2018-03-06 22:02:58 -03:00
Georges Basile Stavracas Neto
e776111bc0 build: Fix post-install script indentation
Python best practices say that indentation should be a
multiple of 4.
2018-03-06 22:02:14 -03:00
Ask Hjorth Larsen
733184cc21 Updated Danish translation 2018-03-07 00:05:44 +01:00
Georges Basile Stavracas Neto
e80ccf29d4 Bump 3.29.0 release
The master branch is now open to new features, and big
changesets.
2018-03-05 23:40:35 -03:00
Georges Basile Stavracas Neto
0100f4959f 3.27.92
Signed-off-by: Georges Basile Stavracas Neto <gbsneto@gnome.org>
2018-03-05 23:25:34 -03:00
Debarshi Ray
3dc4b6b324 build: Compile the GSettings schema after installation
Fallout from 10738d68c6

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/8
2018-03-05 18:22:54 +01:00
Andrea Azzarone
3aa89a836a online-accounts: Restore the "add" command
This reverts parts of commit 5a04e40fef
that don't use goa_provider_set_preseed_data.

https://bugzilla.gnome.org/show_bug.cgi?id=794012
2018-03-05 17:48:26 +01:00
Marek Kasik
5663a8189c Printers: Fix closing of Jobs dialog
When user presses Esc key on Jobs dialog when there
is a job which needs authentication then the dialog
is not closed. This commit fixes this issue.
2018-03-05 17:02:44 +01:00
Marek Kasik
1225766e1f Printers: Don't focus non-realized widgets
This commit removes focusing of widgets in authentication dialog
which could happen when user traverses Jobs dialog via Tab key
if there are some jobs which need authentication.
Lets rely on standard focus chain.
2018-03-05 17:02:41 +01:00
Stas Solovey
52e3bfaed2 Update Russian translation 2018-03-05 15:54:23 +00:00
Benjamin Berg
1d72a0b350 power: Fix crash when panel is closed quickly
Fix a use-after-free while creating the dbus proxy for
org.gnome.SettingsDaemon.Power.Keyboard. This fix is identical to the
previous fix for the screen proxy.

https://bugzilla.gnome.org/show_bug.cgi?id=794089
2018-03-05 16:47:52 +01:00
Jordi Mas
9066ce5525 Update Catalan translation 2018-03-04 14:53:52 +01:00
Rūdolfs Mazurs
bb3fa9d932 Update Latvian translation 2018-03-04 12:24:04 +00:00
Jordi Mas
f8c6742bcb Update Catalan translation 2018-03-03 09:31:49 +01:00
Ondrej Holy
2ef0e2aa89 user-accounts: Remove unused cell renderer
With the carousel, the custom user image cell renderer is no more needed.
2018-03-02 08:21:09 +00:00
Ondrej Holy
93f8920ae5 user-accounts: Do not show legacy face images
Legacy face images should not be shown in avatar chooser, so let's filter
all symlinks to the legacy files out.

Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/5
2018-03-02 08:59:49 +01:00
Ondrej Holy
6e4d75eaaf user-accounts: Add back legacy image faces
Commit ffe5aac8 introduced new set of face images and removed the old
ones. Consequently, generic avatar is shown for people after update.
Add back legacy images, so people won't lose their current images on
update. Add them into the subfolder and create symlinks for them,
so it can be simply filtered out from the chooser widget, because just
the new images should be shown.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/5
2018-03-02 08:59:49 +01:00
Ondrej Holy
ff0ec34161 user-accounts: Rename new face images which conflicts with old ones
We want to add back legacy images, so let's rename the new ones to not
be in a conflict. This unfortunately can cause another breakage for
people which uses development versions, but we can't do much about it.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/5
2018-03-02 08:59:49 +01:00
Ondrej Holy
7bc7aa6e59 user-accounts: Use GIO API for face images handling
GFile is needed for face widgets anyway, so let's use GFileEnumerator
for dir listing instead of POSIX API.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/5
2018-03-02 08:59:49 +01:00
Georges Basile Stavracas Neto
b127cb0301 ci: Introduce CI 2018-03-01 17:14:21 -03:00
Alexandre Franke
ba4621fa91 Update French translation 2018-03-01 19:21:15 +00:00
GNOME Translation Robot
eafddbd236 Update Dutch translation 2018-03-01 18:41:10 +00:00
Georges Basile Stavracas Neto
d3c3b106cb Revert "ci: Introduce CI"
This reverts commit 0a2faf014c.
2018-03-01 15:36:32 -03:00
Georges Basile Stavracas Neto
0a2faf014c ci: Introduce CI 2018-03-01 14:01:22 -03:00
Will Cooke
817a065e50 network: Use monospace font for wi-fi hotspot password
https://bugzilla.gnome.org/show_bug.cgi?id=785413
2018-03-01 11:22:38 -05:00
Georges Basile Stavracas Neto
8dfa19a2e6 doap: Add myself as maintainer
Mwahaha.
2018-03-01 12:42:31 -03:00
Kukuh Syafaat
8a1971c76e Update Indonesian translation 2018-03-01 09:46:26 +00:00
Aurimas Černius
ac8fc65534 Updated Lithuanian translation 2018-02-28 23:31:28 +02:00