Commit graph

18954 commits

Author SHA1 Message Date
Christian Kirbach
366b5916ec Update German translation
(cherry picked from commit b3229ce657)
2019-09-20 22:07:17 +00:00
Марко Костић
d9fb6167c3 Update Serbian translation
(cherry picked from commit d1be1cca47)
2019-09-20 14:21:27 +00:00
Mart Raudsepp
389e7f59ae sound: Remove leftover canberra-gtk header inclusion
This may fail to build too, as we don't depend on canberra-gtk anymore,
and gsound only depends on canberra, not canberra-gtk.
2019-09-20 08:50:26 +03:00
Anders Jonsson
7878d2c067 Update Swedish translation
(cherry picked from commit fe8a494f6c)
2019-09-19 22:08:59 +00:00
Mohammed Sadiq
2fb0ff250b search: Fix crash on clicking 'Search Locations'
When creating a Page, the dialog variable wasn't set and thus
dereferencing a NULL in a later code resulting a crash.

This was introduced in 14b9f65ba4
2019-09-19 22:45:23 +05:30
Daniel Șerbănescu
964170f110 Update Romanian translation
(cherry picked from commit e369c8c197)
2019-09-18 16:46:57 +00:00
Kjartan Maraas
c618b7effb Update Norwegian Bokmål translation
(cherry picked from commit d7c0a04ed3)
2019-09-18 13:37:59 +00:00
Rafael Fontenelle
437324a890 Update Brazilian Portuguese translation
(cherry picked from commit 07ebd73893)
2019-09-18 09:29:51 +00:00
Milo Casagrande
c85427c93e Update Italian translation
(cherry picked from commit a7de4e1c34)
2019-09-18 06:13:38 +00:00
Philip Withnall
dadf2a4258 network: Add mnemonic for ‘Restrict background data usage’ checkbox
The other checkboxes on this page all have mnemonics. It seems unfair
for the background data usage one to be left out of the party.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-09-17 22:14:51 +00:00
Georges Basile Stavracas Neto
6e6e9952b4 network: fix Add Connection dialog
The Add Connection widgets from the connection
editor dialog weren't properly using the available
space, since they don't expand.

Fix that by making them expand and fill the available
space properly. It also avoids blank space by vertically
centering the list.
2019-09-17 22:14:51 +00:00
Damián Nohales
70fb75eb27 background: Allow load background file relative to XML file 2019-09-17 13:35:09 -07:00
Mohammed Sadiq
3cd50eb42e update POTFILES.in
These files were introduced in 642be83798
2019-09-17 16:35:42 +04:00
Mohammed Sadiq
642be83798 network: Add new hotspot creation dialog 2019-09-17 12:15:11 +00:00
Felipe Borges
be9d71ed6a sound: Use "avatar-default-symbolic" in sound test dialog
The colour icon blends with bright themes (such as Adwaita) making
it hard to distinguish.

The symbolic variant of the same asset contrasts fine with light
and dark background and matches the "symbolic" pattern of the other
two buttons shown in the dialog (the audio-volume-* icons).

Fixes #502
2019-09-17 10:33:38 +02:00
Philip Chimento
8c08abd0a3 printers: Give printer name fewer characters in width
At the default window size, the printer name label is too wide and
collapses the UI into phone mode. (This is the only panel that shows up
in phone mode by default.) Giving the printer name fewer characters
avoids this.
2019-09-17 07:15:28 +00:00
Philip Chimento
389ee0dfe5 printers: Use CUPS httpConnect2() if available
In CUPS 1.7 httpConnect() and httpConnectEncrypt() were deprecated and
replaced with httpConnect2(). This checks if httpConnect2() is available
and if so, replaces the uses of the deprecated functions.

In the CUPS source code, httpConnect() and httpConnectEncrypt() are now
wrappers around httpConnect2(), so we make sure to use the same
arguments as in the CUPS source code so the two code paths are sure to
be identical:
2c030c7a06/cups/http.c (L412)
2c030c7a06/cups/http.c (L477)
2019-09-16 14:09:40 -07:00
Philip Chimento
96137369a5 build: Fix CUPS PPD deprecation warning
In https://bugzilla.gnome.org/show_bug.cgi?id=696766 it was decided to
build with _PPD_DEPRECATED defined, to suppress the warnings about the
deprecation of the CUPS PPD API, since there was no full replacement
yet. Unfortunately this didn't make it intact through the port to Meson,
so fix it here.
2019-09-16 14:09:40 -07:00
Philip Chimento
c1210c5c65 power: Use up_client_get_devices2()
The previous code would have leaked all the UpDevice objects because no
free function was set on the returned GPtrArray.

Since we already depend on upower-glib 0.99.8 which is the release in
which get_devices() was deprecated and get_devices2() was introduced, we
can simply switch to get_devices2() which does set a free function on
the returned GPtrArray, stopping the leak.
2019-09-16 14:09:40 -07:00
Philip Chimento
9f6af56999 tests: Hide disabled test from compiler
The part where this (currently disabled) test is added, is currently
hidden behind #if 0, so hide the test function as well. Otherwise the
compiler complains that the function isn't used.
2019-09-16 14:09:40 -07:00
Balázs Úr
3fd10e7b8e Update Hungarian translation 2019-09-15 12:45:54 +00:00
Марко Костић
09ffe35507 Update Serbian translation
(cherry picked from commit 33b49951c0)
2019-09-13 19:58:27 +00:00
Josselin Mouette
68d5b340c0 gnome-control-center.desktop: Use the "Settings" category
Use the "Settings" category instead of "System"
as per mentioned in spec-file [1].

Cherry-picked from debian packaging for g-c-c [2].

[1] https://standards.freedesktop.org/menu-spec/latest/apa.html
[2] https://salsa.debian.org/gnome-team/gnome-control-center/blob/debian/1%253.34.0.1-1/debian/patches/01_menu_category.patch
2019-09-13 13:57:30 +00:00
Robert Ancell
e70610fe74 network: Use g_autoptr for unref code 2019-09-13 14:20:50 +12:00
Robert Ancell
1083368008 network: Fix NetworkManager includes 2019-09-13 14:20:50 +12:00
Robert Ancell
a0c758c46b network: Fix D-Bus GVariant leak 2019-09-13 14:20:50 +12:00
Robert Ancell
de84f7e344 network: Use g_autofree for strings 2019-09-13 14:20:50 +12:00
Robert Ancell
b085a8af51 network: Fix string leak 2019-09-13 14:20:50 +12:00
Robert Ancell
01190db349 network: Use g_autoptr for GError handling 2019-09-13 14:20:50 +12:00
Robert Ancell
072d5daf5c network: Add missing warning message about error 2019-09-13 14:20:49 +12:00
Robert Ancell
c27d26e0eb network: Fix GError leaks 2019-09-13 14:15:19 +12:00
Philip Chimento
412472c16d region: Fix crash in keyboard layout population
The previous code would crash if 'variants' was null and 'layouts' had
more than one element in it.
2019-09-12 18:10:20 +00:00
Felipe Borges
1b81221092 sharing: Set new shared folder visible as soon as it gets added
When adding a Shared Folder row to the listbox, we were not settings
it to visible. Causing it to be hidden until the next time the panel
gets populated.

Fixes #580
2019-09-12 11:04:57 +02:00
Benjamin Berg
8d9affbd6a datetime: Allow changing the timezone when auto-update is prohibited
When the user disables the use of location services in the privacy
panel, then the timezone will never be updated automatically. Automatic
timezone may still be enabled though, so we need to allow the user to
change the timezone when location services are disabled or when
automatic timezone updating is disabled.
2019-09-11 18:39:54 +02:00
Marek Černocký
93ea14b892 Updated Czech translation 2019-09-11 17:56:40 +02:00
Rafael Fontenelle
76ea239077 Update Brazilian Portuguese translation
(cherry picked from commit 6c261d552e)
2019-09-11 13:06:41 +00:00
Marek Černocký
177772ac51 Updated Czech translation 2019-09-11 12:08:16 +02:00
Marek Černocký
3141a93b06 Updated Czech translation 2019-09-11 11:47:20 +02:00
Marek Černocký
f19ed00484 Updated Czech translation 2019-09-11 09:53:56 +02:00
Veerasamy Sevagen
9316a77af4 network: Add tooltip text to encrypted connection.
The issue was that sometimes the icon would show an error but we would not know what it is.

Fixes #468
2019-09-11 03:20:55 +00:00
Ting-Wei Lan
d28d317332 user-accounts: Escape the name of the user for markup
On FreeBSD, the default full name of a user is 'User &'. The '&'
character included in the name is expected to be replaced with the login
name when it is displayed on the user interface. However, it seems that
AccountsService doesn't know it. It just returns 'User &' to the caller,
and it causes the markup to be broken in the user panel.
2019-09-10 23:32:49 +00:00
Ting-Wei Lan
564aa72b5e user-accounts: Use 'pw usershow' to check username validity on FreeBSD
FreeBSD has no standalone 'usermod' command. Most user and group
management functions are provided as subcommands of 'pw' tool.
2019-09-10 23:32:49 +00:00
Ting-Wei Lan
54caab7b07 user-accounts: Initialize GError* to NULL before use
Otherwise, it causes warnings to be shown on the terminal when it is
used and quickly leads to a crash.
2019-09-10 23:32:49 +00:00
Ting-Wei Lan
a72a71ab11 user-accounts: Include sys/wait.h for W* macros
Otherwise, the compiler may treat WIFEXITED and WEXITSTATUS as implicit
declarations of functions and cause linking to fail.
2019-09-10 23:32:49 +00:00
Piotr Drąg
7a805a0848 Update POTFILES.in 2019-09-10 17:59:39 +02:00
Florian Müllner
eb3580ee9d media-keys: Handle 'Above_Tab' fake key
Mutter supports the 'Above_Tab' fake keysym that refers to the key
that is physically located above the tab key. It is used in the default
shortcut of the "Switch windows of an application" action.

As gtk_accelerator_parse() doesn't recognize the keysym, we display
the shortcut incorrectly as "disabled", and it is not taken into account
for conflict resolution.

Address this by translating binding that contains the 'Above_Tab' string
to bindings where the string is replaced with each possible keysym that
corresponds to the fixed keycode of KEY_GRAVE + 8.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/581
2019-09-10 13:32:08 +00:00
Georges Basile Stavracas Neto
f43238473a display: Replace CC_DISPLAY_*_GET_PRIVATE
Replace the custom and deprecated CC_DISPLAY_*_GET_PRIVATE by
the automatically generated cc_display_*_get_instance_private
functions.
2019-09-10 11:40:39 +00:00
Kukuh Syafaat
a366c23081 Update Indonesian translation 2019-09-10 07:11:43 +00:00
Robert Ancell
b842a33316 printers: Move callbacks into .ui file 2019-09-10 12:36:39 +12:00
Robert Ancell
015c79411a printers: Use gtk_stack_set_visible_child instead of names 2019-09-10 12:36:39 +12:00