Commit graph

18559 commits

Author SHA1 Message Date
Tim Sabsch
d0c76cff43 Update German translation 2019-05-12 10:29:48 +00:00
Dz Chen
055ab69378 Update Chinese (China) translation 2019-05-08 09:29:16 +00:00
Daniel Rusek
196477e60c Update Czech translation 2019-05-02 21:28:45 +00:00
Ethan Hsieh
9a67cd0884 power: correct the value of 90 minutes to 5400 2019-05-02 20:09:51 +12:00
Benjamin Berg
4d64299561 display: Fix crash if a monitor has no preferred mode
When a monitor has no current mode set and also no preferred mode we ran
into a crash. Simply select the first mode we can find as a further
fallback.

(cherry picked from commit f75c3a8471)
2019-04-30 16:56:18 +02:00
Fabio Tomat
49deb7796f Update Friulian translation 2019-04-26 14:06:39 +00:00
Balázs Meskó
3489e88acd Update Hungarian translation 2019-04-26 05:58:11 +00:00
Jiri Grönroos
1d4d5527b3 Update Finnish translation 2019-04-25 12:09:15 +00:00
Daniel Mustieles
7461501c5b Updated Spanish translation 2019-04-24 09:53:51 +02:00
Stas Solovey
077a7c4a64 Update Russian translation 2019-04-22 18:18:27 +00:00
Марко Костић
040c895208 Update Serbian translation 2019-04-18 22:10:09 +00:00
Daniel Șerbănescu
09356dbdc7 Update Romanian translation 2019-04-14 17:14:22 +00:00
Rafael Fontenelle
91130064e9 Update Brazilian Portuguese translation 2019-04-12 15:01:29 +00:00
Mario Blättermann
3c97de2121 Update German translation 2019-04-12 10:30:55 +00:00
Milo Casagrande
fb81c922c8 Update Italian translation 2019-04-12 10:06:18 +00:00
Kukuh Syafaat
2e363141eb Update Indonesian translation 2019-04-12 09:30:13 +00:00
Anders Jonsson
86c60f47b0 Update Swedish translation 2019-04-11 20:28:31 +00:00
Aurimas Černius
e6c0c0e1c1 Updated Lithuanian translation 2019-04-11 22:51:48 +03:00
Piotr Drąg
738dbfb6ea Update Polish translation 2019-04-11 18:17:58 +02:00
Sebastien Bacher
809fac82df night-light: set screen temperature strings as translatable
Fixes #437
2019-04-11 14:09:38 +00:00
Robert Ancell
5fac79b089 region: Fix input source options not being applied.
This was broken in a86cf1eca2 (3.32) when the input options dialog was converted
into a GtkPopover. Previously two GSettings objects were used, with one set to
'delay-apply' mode. The input source option didn't apply the changes.

The 'delay-apply' mode is from the original commit d3852fc831, however code was
simplified in b3199dd to only set one setting. This meant that the delay is no
longer necessary.

Fixes #440
2019-04-09 14:15:11 +12:00
Jordi Mas
725a921028 Update Catalan translation 2019-04-07 21:58:24 +02:00
Felipe Borges
8e78f8438a mouse: Reinstate keyboard navigation in the panel
Fixes #246


(cherry picked from commit 6046d562cf)
2019-04-01 12:41:48 +00:00
Carmen Bianca BAKKER
419d2f99d4 Update Esperanto translation 2019-04-01 06:02:06 +00:00
Dušan Kazik
5c1dedbebd Update Slovak translation 2019-03-30 07:06:03 +00:00
Dušan Kazik
901bb6b366 Update Slovak translation 2019-03-29 16:08:57 +00:00
Georges Basile Stavracas Neto
5606637c5e
3.32.1 2019-03-29 11:36:46 -03:00
Benjamin Berg
a368153973 mouse: Sync touchpad scrolling switch states correctly
The old code would not sync the state when the page was loaded. Also,
due to how the code was written, it would not update the switch state if
the underlying setting was changed in some other way.

Fix this by connecting the setting with the "state" of the switches.
When the switches "active" property is changed, update the underlying
setting and ensure the mutually exclusive switch is turned off when
needed.

Fixes #398
2019-03-29 13:36:40 +00:00
Benjamin Berg
8e175bb562 network: Don't shorten names of bluetooth connections
This prevents a single bluetooth connection to be shortened to the name
"Bluetooth", which means we end up with one "Bluetooth" device in the
"Bluetooth" section. Rather, always use the long name of the bluetooth
device so that the user knows what they are connecting to.
2019-03-29 14:08:45 +01:00
Benjamin Berg
77cae9ce72 network: Only show bluetooth devices in Bluetooth section
Historically, the bluetooth section has been the dumping ground for any
device we don't handle in another way. It has had the "Bluetooth" title
for a long time now though, and many of the devices that end up in there
are actually not useful in the GNOME context.

There are some people complaining that we should support these devices
properly, but the status quo does not help any one either really, so
lets remove them entirely for now.

Obsoletes: !203
Fixes: #190
Touches: #167
2019-03-29 14:08:45 +01:00
Benjamin Berg
e5b017f45e wifi: Fix connection names with markup not showing up
In some cases, the network connection UI uses pango markup to denote the
SSID name inside a connection name. However, if the SSID matched the
connection name, then we would end up setting the SSID as pango markup
without it being escaped.

Fix this by escaping the SSID before setting it as markup.

Fixes: #435
2019-03-29 11:15:52 +01:00
Jordi Mas
879dac115f Update Catalan translation 2019-03-28 06:09:52 +01:00
Robert Ancell
e85816f83b common: Fix crash in language chooser
A report in Red Hat bugzilla [1] shows for some reason the country is set to
NULL and this causes a crash when comparing against search terms. The solution
is to handle the NULL without crashing.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1685251
2019-03-26 22:02:32 +00:00
Goran Vidović
ecb809bb89 Update Croatian translation 2019-03-26 11:06:17 +00:00
Robert Ancell
a3b2725dfa online-accounts: Fix widgets added by GOA being invisible
Fixes #362
2019-03-22 16:28:44 +13:00
Robert Ancell
3565216b5b applications: Make async file operations cancellable
The previous operations could crash if the panel was changed during an operation.
2019-03-20 17:19:36 +00:00
Robert Ancell
a3db60a24b applications: Rename functions as portal permssions are not Flatpak specific 2019-03-20 17:07:45 +00:00
Robert Ancell
a856740dfa applications: Fix wrong IDs being passed to portal permission store
There were two cases of the app ID being used instead of the Flatpak ID.
2019-03-20 17:07:45 +00:00
Benjamin Berg
b26a8bdeed display: Ensure configuration has the expected type
In almost all cases, the configuration will be "valid" in the sense that
g-c-c can represent it in the UI. However, there are cases like
mirroring setups with three monitors that we do not allow.

In case that the user has such a configuration, ensure that the
configuration we represent is actually valid according to our
expectations. This should not affect normal use cases, but allows users
to recover again if the configuration is broken for some reason.

Fixes #383
2019-03-20 18:01:01 +01:00
Benjamin Berg
f45dcff81f display: Ensure at least one display is enabled
When the user has more than two monitors, then they can disable each
monitor separately. If the user creates an invalid configuration because
they disabled the last monitor, then enable a different one immediately.
2019-03-20 18:01:01 +01:00
Benjamin Berg
defbcebfab display: Simplify configuration type and UI selection logic
The new logic selects a single configuration type rather than detecting
which types can be considered valid. This simplifies the UI rebuilding
somewhat, but also changes some internal behaviour. We will now always
be in the correct mode internally, even if the UI may not represent this
change (i.e. with more than two monitors it always looks the same).
2019-03-20 18:01:01 +01:00
Benjamin Berg
b2f1d489ad display: Add unusable monitors to dropdown and disable switch for them
We should show unusable monitors in the monitor selection drop-down
list. So always add them to the combobox and add the code to make the
switch to enable them insensitive.
2019-03-20 18:01:01 +01:00
Benjamin Berg
e387b3bb86 display: Only enforce single mode when desired by UI
We should only enforce single mode, when we have exactly two monitors
and the two button UI is used to switch between them in single mode.
Move the code to ensure the single configuration into the relevant
callback handler, rather than trying to solve this globally.
2019-03-20 18:01:01 +01:00
Benjamin Berg
98d20659b7 display: Make rebuilding variable a counter
We need to also set rebuilding while updating some other UI elements.
Make it into a counter to allow for recursive setting.
Note that additional checks for rebuilding will be added in later
commits.
2019-03-20 17:58:29 +01:00
Benjamin Berg
21bb6416be display: Reset resolution when switching configuration types
It generally makes more sense to reset the resolution of a monitor after
we switch configuration types. The main case where this is relevant is
switching from a mirror configuration (CLONE) to either join or single.
In this case, higher resolutions for monitors may become available.

Note that this might be annoying to some users, because there may be
monitors reporting a lower "preferred" resolution than the highest
supported resolution. There is little we can do though, as always
selecting the highest resolution doesn't seem like a much better
approach.
2019-03-20 17:26:56 +01:00
Benjamin Berg
ae22f72cac display: Prevent error when serializing invalid configuration
If no monitors are enabled, then the variant would end up with an
invalid variant type, causing a crash later on. This case only happened
due to other bugs (i.e. in principle we should never send a
configuration without any monitors to the server).

Prevent the serialization error by specifying the correct type for the
builder, therefore potentially preventing a crash in such a corner case.
2019-03-20 17:26:56 +01:00
Benjamin Berg
0c4e84e417 display: Ensure we have a primary monitor after all were disabled
When enabling the first monitor, we need to select it as primary as we
otherwise end up without a primary monitor (rendering the configuration
invalid). "Unsetting" the NULL primary monitor effectively causes the
first and only available monitor to become the primary, while not doing
anything if we have a primary monitor.
2019-03-20 17:26:08 +01:00
Benjamin Berg
20d24992ee display: Enable all monitors when switching to join config
The new code had a bug in that it only ever enabled the first monitor
rather than all usable ones. Fix this by removing the erroronuous break.
Also clarify the comment a bit that the current solution is not really
ideal as it may result in invalid configurations (i.e. we enable more
outputs than are possible with the number of available CRTCs).

Fixes #418
2019-03-18 17:08:35 +00:00
Alan Mortensen
c8ffb34038 Updated Danish translation 2019-03-18 18:06:10 +01:00
Robert Ancell
29eebceddd applications: Fix flatpak ID memory leak 2019-03-18 14:53:43 +00:00