Commit graph

17860 commits

Author SHA1 Message Date
Jordi Mas
8de968b935 Update Catalan translation 2018-08-15 15:48:43 +02:00
Yifan J
a1066a27e0 user-accounts: Remove implicit language setting
The commit targets to remove the behavior of implicit set of the language
when the user panel is clicked in g-c-c.

The behavior looks like introduced to partly resolve the bug [0] when the
gnome-initial-setup somehow did not set the language correctly. However the
gnome-initial-setup is able to handle the language nicely now.

Furthermore, the current user could not see its own language chooser in the
g-c-c User panel, instead the Region&Language panel is supposed to do the
task. And the Region&Language panel has already got a default locale set [1]
[2]. So even if the language is not set in the key file, it is less an issue
nowadays than when the issue was originally described in [0].

[0] https://bugzilla.gnome.org/show_bug.cgi?id=737216
[1] https://bugzilla.gnome.org/show_bug.cgi?id=767065
[2] https://gitlab.gnome.org/GNOME/gnome-control-center/commit/5e2ed8e

https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/161
2018-08-15 09:32:35 +00:00
Jordan Petridis
cfe6c6a214 CI: Replace placeholder value
We don't want to run the review jobs for the master branch. Since no MRs
will ever originate from it.
2018-08-15 05:41:34 +00:00
Jordan Petridis
f4cd42b02d
CI: Improve the flatpak review environments
For more:
https://gitlab.gnome.org/GNOME/Initiatives/wikis/DevOps-with-Flatpak#flatpak-bundle-for-every-mr-and-commit
2018-08-14 14:08:07 +03:00
Jordan Petridis
3d92e17047
CI: Use updated image for the flatpak job
gnome-nightly-oci repo has been deprecated for a while and replaced with
gnome-runtime-images[1]

The new repo also includes images with the stable GNOME runtime.
Which can be used by changing `gnome:master` to `gnome:3.28` for example.

[1] https://gitlab.gnome.org/GNOME/gnome-runtime-images
2018-08-14 14:08:03 +03:00
Robert Ancell
3642cb2d82 wifi: Use g_signal_connect_object
The previous code used the g_signal_connect which could leave the signals
connected even after the NetDeviceWifi object was destroyed.

Automatic crash reports in Ubuntu indicate that this might be happening:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1718727
2018-08-13 23:46:23 +00:00
Alexandre Franke
eb30a898f1 Update French translation 2018-08-13 08:20:26 +00:00
Ting-Wei Lan
9df14924d4 tests: Don't hard-code the path to python
Python isn't always installed in /usr/bin. If we hard-code the path,
these tests will fail on *BSD because they install python in different
prefixes such as /usr/local and /usr/pkg.
2018-08-13 01:18:16 +00:00
Mario Blättermann
510dc16777 Update German translation 2018-08-12 12:22:46 +00:00
Yi-Jyun Pan
44db591693 Update Chinese (Taiwan) translation 2018-08-12 10:17:23 +00:00
Piotr Drąg
dcc4d97679 Update Polish translation 2018-08-12 02:17:50 +02:00
Matej Urbančič
f2f8824eb5 Updated Slovenian translation 2018-08-10 20:51:20 +02:00
Matej Urbančič
307a5c4610 Updated Slovenian translation 2018-08-09 20:36:40 +02:00
Guillaume Bernard
472d06e108 Update French translation
(cherry picked from commit aee2834b33)
2018-08-09 16:57:45 +00:00
Fabio Tomat
6d1d737914 Update Friulian translation 2018-08-08 04:52:39 +00:00
Daniel Mustieles
5a133a03a6 Updated Spanish translation 2018-08-07 14:36:21 +02:00
Rafael Fontenelle
baa7b9831f Update Brazilian Portuguese translation 2018-08-07 00:51:31 +00:00
Claudio André
6285ebd1e5 CI: do not run 'pages' if not testing
The job "pages" should only run on regular test CI executions.
2018-08-06 21:46:46 +00:00
Emin Tufan Çetin
8fb164efb2 Update Turkish translation 2018-08-06 07:16:39 +00:00
Baurzhan Muftakhidinov
701ba9faf3 Update Kazakh translation 2018-08-05 17:46:23 +00:00
Benjamin Berg
57578e1331 display: Reset the window title after removing custom headerbar
As the main headerbar used by the shell is split, the title is not
propagated to the window. However, the "apply" header bar is not split
and the title is propagated to the toplevel GtkWindow.

Fix this issue by resetting the window title again.

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/81
2018-08-03 14:43:47 +02:00
Robert Ancell
b51af0fc58 wacom: Replace ifdefs with #pragma once 2018-08-02 21:48:03 +00:00
Robert Ancell
aeca65c729 wacom: Replace GObject boilerplate with G_DECLARE_TYPE 2018-08-02 21:48:02 +00:00
Robert Ancell
09465579b7 printers: Use const for manufacturer string 2018-08-02 10:02:15 +00:00
Claudio André
0cdc458752 CI: skip tests on translation commits 2018-08-01 20:07:01 -03:00
Georges Basile Stavracas Neto
dd968d2fbb 3.29.90 2018-07-31 13:45:22 -03:00
RyuzakiKK
d6fd9742a2 flatpak: Use version 1.12.0 of NetworkManager
We can't compile the current master of NetworkManager due to this bug
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/7

In the meantime we can safely switch to the working stable release
1.12.0
2018-07-30 15:59:47 +02:00
RyuzakiKK
9e2ec5a0bb flatpak: Disable warning as error in gnome-online-accounts
Currently gnome-online-accounts has some deprecation and cast warnings.
So we need this build option in order to avoid treating them as errors.
2018-07-30 15:46:45 +02:00
RyuzakiKK
409c99bdf4 flatpak: Add libtirpc and rpcsvc-proto dependencies
`libtirpc` has been added because if in Flatpak we compile Samba
without an RPC library it will exit with the following message:
"ERROR: No rpc/rpc.h header found".

Also `rpcsvc-proto` has been added because it provides the required
`rpcgen` binary.
2018-07-30 10:35:53 +02:00
Robert Ancell
b4e081d7f9 printers: Fix branch depending on uninitialized variable 2018-07-30 04:07:19 +00:00
Robert Ancell
ed78a6a120 printers: Fix double free / leak due to copy-paste error 2018-07-30 15:31:45 +12:00
Florian Müllner
d5de9d86c9 model: Convert panel icons to symbolic variants if possible
Panel icons should be consistent between the app and corresponding
search results in GNOME Shell, but currently the former uses the
symbolic variant while the latter uses the colored version.

Address this by converting icons to their symbolic variants when
building the model rather than later when consuming them.

https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/151
2018-07-29 21:45:38 +00:00
Aurimas Černius
40e0cea518 Updated Lithuanian translation 2018-07-29 13:15:20 +03:00
Daniel Mustieles
7becb5d189 Updated Spanish translation 2018-07-27 13:36:46 +02:00
Georges Basile Stavracas Neto
6c28263e6b night-light: Uncomment signal handler
This was mistakenly introduced ed36688c and was causing
a crash when opening the Night Light dialog multiple times.
2018-07-23 11:36:39 -03:00
Georges Basile Stavracas Neto
c2eaafebc0 power: Minor adjustment in the mobile broadband string
Now it properly follows Nick's suggestion.

[skip ci]
2018-07-23 11:24:12 -03:00
Georges Basile Stavracas Neto
37a0b8e04f power: Reword some strings
Some of the current string related to saving power by
turning something off are ambiguous, and can mean both
"yes, turn off" or "yes, keep it on" at the same time.

This commit slightly rewords those sentences in order
to disambiguate them.

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

[skip ci]
2018-07-23 11:07:43 -03:00
Georges Basile Stavracas Neto
88c30e8fbd wifi: Keep Airplane Mode always synchronized
Currently, we acquire the Rfkill D-Bus proxy and synchronize
the state right after that. However, we don't monitor for
subsequent changes by connecting to the 'g-properties-changed'
GDBusProxy signal, which causes the Airplane Mode not to stay
synchronized when modified from others places, such as GNOME
Shell's aggregate menu.

This commit adds the necessary signal monitoring code to react
to external applications changing the Rfkill properties.
2018-07-23 10:13:13 -03:00
Georges Basile Stavracas Neto
b9da351a3d wi-fi: Add empty state for Airplane Mode
According to the most recent mockups [1], when Airplane
Mode is switched on, the Wi-Fi connection will be turned
off and the Wi-Fi panel should show an empty state for
Airplane Mode. This is currently not implemented in the
codebase.

This commit adds an Airplane Mode empty state for the Wi-Fi
panel, and a small logic adjustment to show it under these
circumstances.
2018-07-23 12:56:00 +00:00
Georges Basile Stavracas Neto
4ad1c5dea1 wifi: Expose Airplane Mode row outside access point list
The current Wi-Fi panel ties the Airplane Mode row to the access
point list of a given Wi-Fi adapter. That has unintended but
bad side effects: when enabling Airplane Mode, the row disappears
and we have to switch to another panel (e.g. Bluetooth) in order
to disable it. This is functionally wrong: we should be able to
enable or disable Airplane Mode from where we initially changed
it.

This commit reorganizes the widget hierarchy in order to put the
Airplane Mode row outside of the main GtkStack page. This is
necessary in order to fully implement the proposed mockups[1]
and, in general, because it's the right thing to do.

Notice that the logic of the empty states in [1] is not fully
implemented yet; this commit only reorganizes the widgets that
already exist to get closer to the mockups. Subsequent commits
will implement more of the empty states.

[1] https://github.com/gnome-design-team/gnome-mockups/raw/master/system-settings/network/aday3/wi-fi-wires.png

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/121
2018-07-23 12:55:59 +00:00
Georges Basile Stavracas Neto
f9b9f105dd network: Rename UI files to match C files
This commit renames {network|wifi}.ui to cc-{network|wifi}-pane.ui,
in order to match the corresponding C files. This introduces no
functional changes.
2018-07-23 12:55:59 +00:00
Daniel Mustieles
bbc025d2ae Updated Spanish translation 2018-07-23 12:42:15 +02:00
Robert Ancell
828024e225 common: Make language chooser dialog match design
Update the chooser to:

* Use a search bar at the top of the dialog, not the bottom
* Have a larger window
* Remove space from around listbox

https://wiki.gnome.org/Design/SystemSettings/RegionAndLanguage

Merges !129
2018-07-22 09:54:21 -03:00
Robert Ancell
148e4c8fd0 common: Use GtkTemplate for the language chooser dialog 2018-07-18 22:39:32 +00:00
Georges Basile Stavracas Neto
a8673b06c7 shell: Rename .ui files to match .c files
To keep it clean and well organized, rename the .ui files
(window.ui and panel-list.ui) to have the 'cc-' prefix and
match their .c counterparts.
2018-07-18 21:34:09 +00:00
Daniel Șerbănescu
a8be6b8c88 Update Romanian translation 2018-07-17 18:40:28 +00:00
Claudio André
0f6a97eae1 CI: build flatpak using the "official" Docker image
[skip ci]
2018-07-17 15:06:34 -03:00
Lubomir Rintel
3c61cee1bb network: use nm_device_get_description()
It's better for human-readable display than nm_device_get_product().
Unlike nm_device_get_product(), it never returns an empty string and
sanitizes the string.

With NM 1.12 it goes to great lengths to clean up the messy udev
strings.
2018-07-17 08:44:16 +02:00
Georges Basile Stavracas Neto
65b90d5951 3.29.4 2018-07-16 21:32:05 -03:00
Georges Basile Stavracas Neto
b63b2bbb09 project: Document maintainers and workflow
It is important that potential contributors know who
they should get in touch, who is supposed to review
their work, and maintainers to know how they should
introduce changes.

Thus, this commit documents the current maintainers
together with what they maintain, and the workflow
between maintainers as well.

[skip ci]
2018-07-16 20:50:12 -03:00