Commit graph

17944 commits

Author SHA1 Message Date
Georges Basile Stavracas Neto
7f5b5d6060 object-cache: Declare singleton instance as static
Otherwise, it is visible for other compile units. This
is a theoretical problem though, there's nothing wrong
happening right now.
2018-09-25 20:45:12 -03:00
Andrea Azzarone
d7857c113a object-storage: Check for cancellation before resulting in assert failure
As per doumentation: "It is a programming error to create an identical proxy
while asynchronously creating one. Not cancelling this operation will result in
an assertion failure when calling cc_object_storage_create_dbus_proxy_finish()."
In order to fullfill the second part we need to check for errors (including
cancellation ones) before we generate an assertion failure.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/158
2018-09-25 17:12:18 +02:00
Benjamin Berg
75556d7c5a power: Handle cancelled kbd brightness proxy creation
The code must not access the passed panel if the operation to create the
keyboard proxy has been cancelled. This fixes a possible crash when
switching away from the power panel.
2018-09-25 02:46:54 +00:00
Adrien Plazas
30e58787b2 bluetooth: Allow the Bluetooth panel to reach narrower sizes 2018-09-24 10:05:36 +02:00
Benjamin Berg
2bd03bbb6d sharing: Bind hostname_entry from UI
The entry was not bound. Due to this we could run into a segfault trying
to query the hostname_entry. This would only happen if avahi is not
running.

Fixes #178
2018-09-21 16:59:25 +00:00
Emin Tufan Çetin
a41ce635f7 Update Turkish translation 2018-09-21 16:23:16 +00:00
Robert Ancell
623a62a7f9 region: Add description label and use icon for options button
As per design:
https://wiki.gnome.org/Design/SystemSettings/RegionAndLanguage
2018-09-19 15:18:18 +00:00
Robert Ancell
a2daee0c7f region: Use GtkTemplate for input chooser dialog 2018-09-19 16:31:47 +02:00
RyuzakiKK
ec57ffcdd5 flatpak: disable mobile-broadband-provider-info
Without this flag at false network-manager-applet requires the
mobile-broadband-provider-info dependency that is not listed in this
flatpak
2018-09-19 14:11:11 +00:00
RyuzakiKK
c84246f42c flatpak: bump NetworkManager to version 1.14.0
The build option `-ltinfo` is required, otherwise a few errors related
to libreadline.so will be thrown like:

libreadline.so: undefined reference to `tputs'
libreadline.so: undefined reference to `tgoto'
libreadline.so: undefined reference to `tgetflag'
2018-09-19 14:11:11 +00:00
RyuzakiKK
5912de10e4 flatpak: add meson build system to gnome-desktop 2018-09-19 14:11:11 +00:00
Robert Ancell
cf2f90ce65 region: Replace old style packing properties with GtkWidget properties
Note that the toolbar properties can't yet be changed:
https://gitlab.gnome.org/GNOME/gtk/merge_requests/334
2018-09-19 14:00:20 +00:00
Christian Stadelmann
35e869b821 Update German translation 2018-09-18 09:42:15 +00:00
Takao Fujiwara
544899f094 region: Do not release locale keys in IM hash table
simple_locale is g_autofree and it should be duplicate for IM hash table.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/185
2018-09-18 08:07:25 +02:00
Matej Urbančič
8798f8281c Updated Slovenian translation 2018-09-17 21:14:21 +02:00
Robert Ancell
b2cd50019f common: Change language chooser layout to match design
Have the language name on the left and the country on the right dimmed as per:
https://wiki.gnome.org/Design/SystemSettings/RegionAndLanguage
2018-09-17 16:32:52 +00:00
Matej Urbančič
c874eac8b3 Updated Slovenian translation 2018-09-17 18:30:20 +02:00
Robert Ancell
3ed16310a1 printers: Fix printer delete signal passing an extra argument.
The extra argument doesn't seem to be used, but is confusing.
2018-09-17 16:07:48 +00:00
Robert Ancell
877445cbaf printers: Use g_autoptr for GError handling 2018-09-17 15:19:21 +00:00
Robert Ancell
5d167f024f region: Simplify placeholder input row
Instead of adding/removing a row, create one in the .ui file and show/hide it.
2018-09-17 09:37:45 +02:00
Kalev Lember
edc52c170d color: Fix fallout from the GtkTemplate port
Correct a typoed variable name so that calibration works again, instead
of crashing.

GLib-GObject-WARNING **: 15:52:50.561: invalid cast from 'GtkBox' to 'GtkEntry'
2018-09-15 17:30:44 +02:00
Marek Cernocky
71b4d679b3 Updated Czech translation 2018-09-15 09:38:29 +02:00
Robert Ancell
a86cf1eca2 region: Use a GtkPopover instead of GtkDialog for input options
As per design:
https://wiki.gnome.org/Design/SystemSettings/RegionAndLanguage
2018-09-14 15:47:36 +00:00
Adrien Plazas
6ae351ff46 flatpak: Add mozjs52
It is required by polkit.
2018-09-14 15:38:47 +00:00
Robert Ancell
a2401d8f9a common: Update language chooser dialog title and buttons to match design
Update to use "Select Language" and "Select" as per:
https://wiki.gnome.org/Design/SystemSettings/RegionAndLanguage
2018-09-14 15:18:42 +00:00
Sam Hewitt
e6efc207e6 project: update desktop.in to reference new icon name 2018-09-12 21:30:52 +00:00
Sam Hewitt
9673a0d035 icon: update icon assets for Initiative: https://gitlab.gnome.org/GNOME/Initiatives/issues/2 2018-09-12 21:30:52 +00:00
Jordi Mas
401a3847e7 Update Catalan translation 2018-09-11 10:58:16 +02:00
Petr Kubánek
89fabad809 datetime: grayout automatic timezone
Automatic timezone does not work if location sharing is disabled in privacy.

Grays out automatic timezone setting if location sharing is disabled in privacy
settings. Enable automatic timezone seting if location sharing is enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=788714
2018-09-11 02:11:44 +00:00
Robert Ancell
66981da275 region: Make full widget for input rows
The row widgets are not full GtkWidgets. This means they are harder
to understand, use g_object_set_data which looses type safety and
cause the one .c file to be overly large.

Update this code to use a CcInputRow widget that uses GTK+ best
practice.
2018-09-11 10:40:27 +12:00
Ondrej Holy
f27b99e338 user-accounts: Fix libpwquality error handling
Always use pwquality_strerror()	in case	of error in order to prevent
memory leaks and to improve error messages.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/171
2018-09-10 22:04:23 +00:00
Ondrej Holy
64007ce52d user-accounts: Do not crash because of libpwquality failures
Users panel crashes with g_error() if some of libpwquality calls fails,
e.g. when pwquality.conf is broken. The default values should be used
instead of crash. Let's use g_warning() instead of g_error() in that
case.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/171
2018-09-10 22:04:23 +00:00
Ondrej Holy
44c5c9e50b user-accounts: Do not set user for password dialog redundantly
um_password_dialog_set_user() is called from on_permission_changed()
respective show_user(), which more or less means on every change in
the panel. It it pretty enough to call this before opening the password
dialog, which is already done over change_password() callback. Let's
remove the redundant call which may lead to unwanted failures among
others.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/171
2018-09-10 22:04:23 +00:00
Robert Ancell
37d02369b7 region: Cancel async permission requests when panel is closed 2018-09-10 15:45:31 +00:00
Robert Roth
f7798f5dfa power: set proper level offsets for battery levelbars
The battery power level level bars are using the default offsets for low, high and full battery level, 0.25, 0.75 and 1.0.

Based on the suggestion from #68, this commit changes the high and full offset to 0.1 and 0.8, and the low battery level offset to 0.03 for primary batteries and UPSs, and 0.05 for other batteries and devices.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/68
2018-09-10 15:15:09 +00:00
Robert Ancell
d4340c4efc region: Fix language section not being marked insensitive
This is due to the widget not being extracted from region.ui and was introduced
in 5c418b8983.
2018-09-10 14:55:57 +00:00
Robert Ancell
0bdeb39319 region: Replace tab characters with spaces 2018-09-10 14:49:32 +00:00
Robert Ancell
b718a20713 region: Don't leak GFile objects
Creating the restart file leaked GFile objects. It also stored the path in the
object, which is unnecessary as it can just be generated on demand.

This leak has was introduced when the feature was in
db551f1c5d
2018-09-10 14:43:04 +00:00
Georges Basile Stavracas Neto
500b69c552 ci: Make armv8 and ppc64le manual jobs
They consume too much CI resources and take a long time
to run, which slows down the review and merge process.

Make them manual from now on.
2018-09-10 11:35:59 -03:00
Robert Ancell
f036b3a706 region: Remove duplicate cancellable code
There was a GCancellable used for IBus operations that was generated each time
an operation was done. The cancellable was only used to cancel such operations
when the panel is closed. We can just use the shared cancellable for this.
2018-09-10 15:51:53 +12:00
Piotr Drąg
10310a198d Fix icons in translations
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/181
2018-09-10 02:19:56 +02:00
Georges Basile Stavracas Neto
78495e03dc Bump version to 3.31.0
Let's branch now and allow some UI changes land.
2018-09-07 22:52:55 -03:00
Stas Solovey
4a4e90cc3b Update Russian translation 2018-09-06 20:03:15 +00:00
Yuras Shumovich
294edf9303 Update Belarusian translation 2018-09-05 16:08:39 +00:00
Adrien Plazas
361f8809df Update org.gnome.Settings.json 2018-09-05 12:57:43 +00:00
Jordan Petridis
983bf872fb Flatpak: Switch urls to point to gitlab.gnome.org 2018-09-05 12:57:43 +00:00
Marek Cernocky
0c661c5a67 Updated Czech translation 2018-09-04 10:34:20 +02:00
Marek Cernocky
31fe78ec7a Updated Czech translation 2018-09-04 10:16:41 +02:00
Georges Basile Stavracas Neto
d05b901a1d 3.30.0 2018-09-03 12:20:08 -03:00
Ask Hjorth Larsen
3b458b0857 Updated Danish translation 2018-09-02 23:19:34 +02:00