summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Always allow touchpad if no other pointer device.arnaudb/429-master-Disable-touchpad-only-if-mouseArnaud Bonatti2019-03-272-32/+2
| | | | | | | | | | | It was possible to completely disable touchpad even when there was no other pointer device. And worse, this panel being no keyboard-browsable, the only practical solution was then to find a mouse and connect it to the computer. Closes #429.
* common: Fix crash in language chooserRobert Ancell2019-03-261-0/+3
| | | | | | | | 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
* Update Croatian translationGoran Vidović2019-03-261-2056/+2499
|
* online-accounts: Fix widgets added by GOA being invisibleRobert Ancell2019-03-221-0/+5
| | | | Fixes #362
* applications: Make async file operations cancellableRobert Ancell2019-03-203-13/+78
| | | | The previous operations could crash if the panel was changed during an operation.
* applications: Rename functions as portal permssions are not Flatpak specificRobert Ancell2019-03-201-18/+18
|
* applications: Fix wrong IDs being passed to portal permission storeRobert Ancell2019-03-201-3/+3
| | | | There were two cases of the app ID being used instead of the Flatpak ID.
* display: Ensure configuration has the expected typeBenjamin Berg2019-03-201-19/+21
| | | | | | | | | | | | | 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
* display: Ensure at least one display is enabledBenjamin Berg2019-03-201-1/+25
| | | | | | 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.
* display: Simplify configuration type and UI selection logicBenjamin Berg2019-03-201-64/+54
| | | | | | | | 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).
* display: Add unusable monitors to dropdown and disable switch for themBenjamin Berg2019-03-201-7/+9
| | | | | | 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.
* display: Only enforce single mode when desired by UIBenjamin Berg2019-03-201-10/+23
| | | | | | | 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.
* display: Make rebuilding variable a counterBenjamin Berg2019-03-201-5/+9
| | | | | | | 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.
* display: Reset resolution when switching configuration typesBenjamin Berg2019-03-201-0/+3
| | | | | | | | | | | | | 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.
* display: Prevent error when serializing invalid configurationBenjamin Berg2019-03-201-1/+1
| | | | | | | | | | 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.
* display: Ensure we have a primary monitor after all were disabledBenjamin Berg2019-03-201-3/+10
| | | | | | | | 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.
* display: Enable all monitors when switching to join configBenjamin Berg2019-03-181-2/+3
| | | | | | | | | | 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
* Updated Danish translationAlan Mortensen2019-03-181-7/+7
|
* applications: Fix flatpak ID memory leakRobert Ancell2019-03-181-0/+1
|
* display: Don't always set the primary monitor to the first in listMarco Trevisan (Treviño)2019-03-181-1/+1
| | | | | | | | | | | | | As per the binding that we have between the list store and the combo-box, when the first element is added to the list-store, the combo box set this value as the selected-index, and this leads to a call to cc_display_monitor_set_primary which set the first-listed monitor as primary and unset the real primary monitor. To avoid this, just ignore the binding when rebuilding the UI, since in this phase control-center should just reflect the actual state without changing anything. Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/419
* Update Arabic translationKhaled Hosny2019-03-171-2177/+2881
|
* Update British English translationBruce Cowan2019-03-161-2120/+2654
|
* Update Brazilian Portuguese translationGeorges Neto2019-03-151-56/+57
|
* sound: Fix crash when sound device set to NULLRobert Ancell2019-03-141-2/+4
| | | | | | This can occur during transitions. Introduced in f081264.
* sound: Apply device changesRobert Ancell2019-03-141-0/+4
| | | | Was missing the code to actually apply the changes.
* info: Remove unused gsd-disk-space-helper.[h|c]Ondrej Holy2019-03-136-228/+1
| | | | | | GNOME/gnome-control-center!387 ported info panel to use UDisks2 instead of GUnixMounts and thus the helpers from gsd-disk-space-helper.[h|c] are no more needed.
* Update Japanese translationRyuta Fujii2019-03-131-11/+13
|
* online-accounts: Add shadow to providers iconFelipe Borges2019-03-131-0/+1
| | | | | | | The new icons are flat and are more legible with a shadow, just like the new GNOME application icons. See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
* sound: Add shadow to application iconsFelipe Borges2019-03-131-0/+3
| | | | | | | The new GNOME application icons need a shadow when placed on top of a light background. See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
* notifications: Add shadow to application iconsFelipe Borges2019-03-131-0/+1
| | | | | | | The new GNOME application icons need a shadow when placed on top of a light background. See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
* search: Add shadow to application iconsFelipe Borges2019-03-131-0/+1
| | | | | | | The new GNOME application icons need a shadow when placed on top of a light background. See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
* applications: Add shadow to application iconsFelipe Borges2019-03-131-0/+1
| | | | | | | The new GNOME application icons need a shadow when placed on top of a light background. See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
* ci: Fix tests with tagsGeorges Basile Stavracas Neto2019-03-111-5/+1
| | | | | We need to run the tests, and when on tags, run 'ninja dist'. Just that.
* ci: Run tests with mesonGeorges Basile Stavracas Neto2019-03-111-1/+1
| | | | | So that we can run a more complete version of the tests.
* 3.32.0.13.32.0.1Georges Basile Stavracas Neto2019-03-112-1/+9
|
* display: Fix Apply button showing for changes to disabled monitorBenjamin Berg2019-03-111-3/+7
| | | | | | | | | | | Disabled monitors may or may not have a mode selected. This means, we need to skip the mode comparison if the two compared monitors are disabled (i.e. have no logical monitor). Move the mode check to the end and skip it if both monitors are disabled. This fixes cases where identical configurations are misdetected, because we applied a mode to a monitor and disabled the monitor again. This happens for example when switching the active monitor in "single" mode.
* display: Keep current monitor enabled when forcing an updateBenjamin Berg2019-03-111-1/+1
| | | | | | | | In the case where the user plugged/unplugged a screen, we could run into the case where we would first enable and then disable the same output. This could potentially result in an invalid configuration. Prevent this by not disabling the output if no switch happened.
* display: Update apply button when switching output in "single" modeBenjamin Berg2019-03-111-0/+2
| | | | | | | While the configuration was updated, the apply button was not synced. This meant users could not switch the active monitor properly. Fixes #405
* display: Correctly select "single" mode when opening display panelBenjamin Berg2019-03-111-6/+1
| | | | | | | | | | | The dialog tried to retain the current configuration mode. However, doing so means that we end up in the wrong mode in some situation (e.g. opening the dialog with two displays but only one enabled). Fix this by always selecting a configuration mode. This potentially switches the user from "join" to "single" if only one monitor is left. However, the user has no way to do this manually, so no unexpected UI change will happen.
* applications: Add missing creation of cancellableRobert Ancell2019-03-111-0/+2
|
* meson: Bump libhandy to 0.0.9Adrien Plazas2019-03-112-1/+1
|
* ci: Don't install libudisks2Georges Basile Stavracas Neto2019-03-111-5/+0
| | | | [skip ci]
* ci: Use fedora:latest for Ppc64leGeorges Basile Stavracas Neto2019-03-112-2/+2
| | | | [skip ci]
* ci: Use the new Fedora 30 DockerfilesGeorges Basile Stavracas Neto2019-03-111-3/+3
| | | | [skip ci]
* ci: Use Fedora 30Georges Basile Stavracas Neto2019-03-113-3/+3
| | | | [skip ci]
* 3.32.03.32.0Georges Basile Stavracas Neto2019-03-112-1/+8
|
* Update Greek translationEfstathios Iosifidis2019-03-091-194/+194
|
* Update Kazakh translationBaurzhan Muftakhidinov2019-03-091-231/+193
|
* Update Basque translationAsier Sarasua Garmendia2019-03-091-26/+49
|
* Update Japanese translationRyuta Fujii2019-03-071-13/+13
|