Commit graph

18915 commits

Author SHA1 Message Date
Mohammed Sadiq
a049ccc663 wifi: Always reset hotspot network label before updating
As the hotspot dialog is reused, we have to reset the connection label
everytime it’s shown. Otherwise obsolete informations shall be shown
if there isn't any active connection
2019-09-23 18:08:23 +05:30
Mohammed Sadiq
82f13e848a wifi: Set hotspot dialog title in C source
Setting markup within UI file might be bad as some translators
might break those markups.

Setting it in C source allows to exclude the markups from being
translated, and thus to not confuse translators.

642be83798 (note_608677)
2019-09-23 13:35:54 +05:30
Marek Černocký
48a45d51fa Updated Czech translation 2019-09-23 09:53:24 +02:00
Charles Monzat
f3f587c721 Update French translation
(cherry picked from commit c305cc5640)
2019-09-22 16:57:07 +00:00
Piotr Drąg
bc63b0bf7c Update Polish translation 2019-09-22 14:15:12 +02:00
Ryuta Fujii
d0eadf50f7 Update Japanese translation
(cherry picked from commit c69a402cc4)
2019-09-22 10:56:47 +00:00
Ryuta Fujii
c0022b71c1 Update Japanese translation
(cherry picked from commit 2ba5458b2b)
2019-09-22 10:54:20 +00:00
Danial Behzadi
effbe3ec73 Update Persian translation 2019-09-22 08:42:47 +00:00
Danial Behzadi
5cd60c913c Update Persian translation
(cherry picked from commit 699ef1ab6b)
2019-09-22 08:36:17 +00:00
Aurimas Černius
fa70ea800a Updated Lithuanian translation 2019-09-21 12:43:17 +03:00
Mohammed Sadiq
62c7176304 window: Set sidebar as the default visible child
This doesn't make any difference when the UI isn't folded.
Otherwise (Eg., on small screens) the sidebar will be shown
first instead of some panel.
2019-09-21 03:43:34 +00:00
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