Commit graph

17509 commits

Author SHA1 Message Date
Benjamin Berg
73c40aa3a7 shell: Only try to select an existing panel on startup
When selecting the panel on startup based on the "last-panel" settings,
we need to make sure that the panel exists.

Note that this is a special case which does not use the internal
set_active_panel_from_id API. Using it is currently not possible because
the API does not report back the error and we would end up not selecting
any panel.


(cherry picked from commit f547d9129d)
2018-05-02 22:05:01 +00:00
Rasmus Thomsen
4bd2c2462b user-accounts: fix building without cheese
Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/69
2018-04-24 09:11:45 +02:00
Iñigo Martínez
6f09e736b1 build: Fix USER_DIR_MODE value in config.h
meson defines `USER_DIR_MODE` with a raw octal value to be used as
the default permissions when creating the user's configuration
directory.

However, meson does not support raw octal values[0], so the define
misses the initial `0` value. Due to this, the directory is created
with wrong permissions.

This has been changed to use the octal value as a string in meson,
so the definition has the proper value.

Fixes #49

[0] https://github.com/mesonbuild/meson/issues/2047


(cherry picked from commit 37a6b940cb)
2018-04-17 00:41:26 +00:00
Stas Solovey
665912175b Update Russian translation 2018-04-12 11:48:12 +00:00
Georges Basile Stavracas Neto
615d481608 3.28.1 2018-04-10 10:16:13 -03:00
Felipe Borges
880bc9f39a printers: Fix crash when panel is closed quickly
Fix a user-after-free while testing the connectivity to a cups
server. This is similar to the fix in commit 1d72a0b.

This is an addition to the changes introduced in commit 2ff5cfd
which allowed the connection testing to be cancellable.

Fixes #51
Fixes https://bugzilla.gnome.org/794632
2018-04-09 13:46:19 +02:00
Changwoo Ryu
c186123991 Update Korean translation 2018-04-07 04:38:36 +00:00
Andrea Azzarone
448177222a keyboard: Make "Set Shortcut" button accessible
Set 'can-focus' property to True for change_custom_shortcut_button, fixing
keyboard navigation in the shortcut editor dialog.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/45


(cherry picked from commit 0d16cd3feb)
2018-03-30 15:46:17 +00:00
Andrea Azzarone
745a98c960 online-accounts: Complete account removal in cc_goa_panel_finalize()
When removing an online account, gnome-control-center gives the user
the possibility to undo the action showing an "undo notification".
Right now if you close the gnome-control-center window, without dismissing
the notification, the online account will not be properly removed.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/25


(cherry picked from commit d918b02c1f)
2018-03-28 01:04:00 +00:00
Matej Urbančič
a8fa09bda4 Updated Slovenian translation 2018-03-27 20:27:49 +02:00
Ondrej Holy
61bf17467d user-accounts: Prevent freeze caused by external cameras
cheese_camera_device_monitor_new freezes the whole panel when opening
for a couple of seconds if external camera is connected. This is not
acceptable. Probably it is bug in kernel. Let's use GAsyncInitable if
available.

Bump the cheese dependency accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=783789
2018-03-26 10:21:34 +02:00
Khaled Hosny
48d2a49d0a Update Arabic translation 2018-03-25 18:00:17 +02:00
Jeremy Bicha
30269da037 appdata: Add UserDocs & HighContrast kudos
https://github.com/GNOME/gnome-software/blob/master/doc/kudos.md

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/14


(cherry picked from commit 5ac87d3f18)
2018-03-25 00:28:41 +00:00
Justin van Steijn
4e9cdc2234 Update Dutch translation 2018-03-21 20:34:16 +00:00
Daniel Șerbănescu
769c85500a Update Romanian translation 2018-03-17 17:32:58 +00:00
Benjamin Berg
5c315ced17 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


(cherry picked from commit 729db87249)
2018-03-16 22:14:26 +00:00
Georges Basile Stavracas Neto
9c594cb245 build: Drop libgd
Settings does not use libgd.


(cherry picked from commit a1bace4683)
2018-03-16 22:13:51 +00:00
Benjamin Berg
167d11e210 network: Fix warning about missing cast to GtkWidget*
https://bugzilla.gnome.org/show_bug.cgi?id=794171


(cherry picked from commit 72ef675a36)
2018-03-16 22:08:45 +00:00
Benjamin Berg
ad72018fa6 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


(cherry picked from commit 3117e2dc4a)
2018-03-16 22:06:38 +00:00
Georges Basile Stavracas Neto
91f8c02b3c build: Drop remaining libnm-glib usage
This library is deprecated for a long time now, and Fedora Rawhide
removed the package. Since our CI is based on Rawhide, it began
to fail.

In the end, the usage was just legacy code that doesn't exist anymore,
so it's pretty safe to just plain drop it.


(cherry picked from commit 5659271ec3)
2018-03-16 22:03:42 +00:00
Georges Basile Stavracas Neto
4360a97ad3 ci: Remove NetworkManager-glib from dependencies
Fedora Rawhide doesn't have it anymore.


(cherry picked from commit 86f67d7f5e)
2018-03-16 22:02:15 +00:00
Dušan Kazik
4d87ce1cd3 Update Slovak translation 2018-03-16 21:56:49 +00:00
Mario Sanchez Prada
5d7062c000 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 20:54:32 -03:00
Georges Basile Stavracas Neto
6b14f59eed 3.28.0 2018-03-12 13:40:18 -03:00
Bastien Nocera
58d0b4e8d6 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 13:33:00 -03:00
Bastien Nocera
a1b8fa741f 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 13:32:53 -03:00
Anders Jonsson
d6a67d6acc Update Swedish translation 2018-03-11 20:18:57 +00:00
Aman Alam
77d81dc155 Update Punjabi translation 2018-03-08 12:36:11 +00:00
Ask Hjorth Larsen
9f3d44e0a3 Updated Danish translation 2018-03-08 12:49:09 +01:00
Milo Casagrande
bbe8f0c5e3 Update Italian translation 2018-03-07 09:04:54 +00:00
Ask Hjorth Larsen
0b7664d04d Updated Danish translation 2018-03-07 00:11:50 +01: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