summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add trivial test to check empty network panelBenjamin Berg2018-05-291-0/+24
| | | | | | If there are no connections or devices then we should not be showing e.g. the Bluetooth list. Add a simple check that this is handled correctly.
* tests: Do not show_all the network panelBenjamin Berg2018-05-292-1/+3
| | | | | | This has the side effect of showing UI elements that should not be visible at startup. Just add the correct gtk_widget_show calls to show all relevant widgets.
* tests: Unset wayland display environment variable correctlyBenjamin Berg2018-05-291-1/+1
| | | | | Otherwise the test might run on a develpers wayland session rather than using the created X11 server.
* network: Fix disconnecting the VPN connection_removed_cb handlerBenjamin Berg2018-05-291-10/+4
| | | | | | The disconnect was for the wrong object (connection rather than client). Fix this by simply moving to use g_signal_connect_object which obsoletes the explicit disconnect calls.
* network: Update VPN title when the connection is changedBenjamin Berg2018-05-291-0/+3
| | | | | When the connection is modified then the title might be changed. Call the UI update function to ensure that widgets are updated.
* network: Fix Bluetooth panel showing up after connection removalBenjamin Berg2018-05-291-1/+2
| | | | | | | | | | The test to check whether the Bluetooth (simple section) contains elements was testing for NetObjectSimple. However, ethernet connections are a subclass and check would count these. This causes issue when the code is run after net object removal. The fix is to check for the exact object type rather than also allowing subclasses.
* display: Fix double free of GErrorRobert Ancell2018-05-291-1/+0
|
* window: Fix going back to previous panelsGeorges Basile Stavracas Neto2018-05-281-5/+28
| | | | | | | | | | This never really worked on the new Setting layout because it was historically implemented as "Back to Overview", and we don't have an overview anymore. This is fixed by morphing the implementation to be "Back to previous panel", which forces us to actually store the previous panel.
* window: Remove remaining overview mentionsGeorges Basile Stavracas Neto2018-05-286-47/+7
| | | | | | | | There is no overview anymore -- Settings is always visualizing a panel at any given time. I just noticed that the Alt+Left shortcut was always broken too. This will be fixed in a following commit.
* Revert "shell: make the .desktop file pass "--overview""Jeremy Bicha2018-05-291-1/+1
| | | | | | This reverts commit 94aeba51e311ce03a3f6cd5e78d8cb45f887267f. We actually do want to see the last panel opened
* mouse: Use GtkTemplateRobert Ancell2018-05-294-565/+613
|
* display: Various style fixesGeorges Basile Stavracas Neto2018-05-282-221/+221
| | | | | It makes @feaneron happier, and fixes a couple of memory leaks.
* display: Implement major/minor axis snapping and infinit for edgesBenjamin Berg2018-05-281-31/+68
| | | | | | | | This improves the snapping behaviour in a number of ways. It allows increasing the snapping distance while still helping the user to align monitors by snapping a different distance for the minor axis. The patch also allows setting this distance to infinity so that we get the correct behaviour in the case of two monitors for the corners.
* display: Enable infinit snapping when arranging two monitorsBenjamin Berg2018-05-281-1/+35
| | | | | | | Two monitors are a special case where it is easy to ensure that the monitors are always adjacent to each other by special casing the snapping code. Do so by increasing the snapping distance to infinity and adding extra snapping points so that corner cases are covered.
* display: Move output utility functions into CcDisplayMonitorBenjamin Berg2018-05-284-184/+256
| | | | | | | | | | | | | | | | | | This adds the following API: * cc_display_config_get_ui_sorted_monitors Returns the monitors in UI order * cc_display_config_count_useful_monitors Counts the useful monitors (active and usable) * cc_display_monitor_is_useful Checks if a monitor is active and usable * cc_display_monitor_is_useable Check if a monitor is marked as useable * cc_display_monitor_set_usable Used to mark builtin monitors as unusable if the lid is closed * cc_display_monitor_get_ui_* Get the UI number and strings for display https://bugzilla.gnome.org/show_bug.cgi?id=786971
* display: Remove incorrect commentBenjamin Berg2018-05-281-6/+0
| | | | | | The comment was not updated when the workaround in the code was removed. https://bugzilla.gnome.org/show_bug.cgi?id=786971
* display: Remove unused old display arrangement codeBenjamin Berg2018-05-284-2479/+1
| | | | | | | | | Remove the code that has become unused with the new arrangement widget. There are more possible cleanups as there is some code duplication between cc-display-panel.c and cc-display-arrangment.c at this point. https://bugzilla.gnome.org/show_bug.cgi?id=786971
* display: Add new arrangement widget and hook it upBenjamin Berg2018-05-286-12/+987
| | | | | | | | | | This commits adds a new arrangement widget, refactoring the existing code and addressing a number of issues: * Forced snapping made laying out more than 2 monitors hard * Random gaps would be shown between monitors * The scaling was fixed and usually tiny https://bugzilla.gnome.org/show_bug.cgi?id=786971
* display: Add signal to monitor notifying about position changesBenjamin Berg2018-05-282-0/+14
| | | | | | This is in preparation to a new arrangement widget. https://bugzilla.gnome.org/show_bug.cgi?id=786971
* display: Re-indent cc-display-config.hBenjamin Berg2018-05-281-90/+117
| | | | This commit has no functional changes.
* mouse: Replace ifdefs with #pragma onceRobert Ancell2018-05-281-4/+1
|
* mouse: Replace GObject boilerplace with G_DECLARE_TYPERobert Ancell2018-05-286-284/+190
|
* region: Use GtkTemplateRobert Ancell2018-05-292-428/+419
|
* region: Replace ifdefs with #pragma onceRobert Ancell2018-05-291-5/+1
|
* region: Replace GObject boilerplace with G_DECLARE_TYPERobert Ancell2018-05-292-363/+259
|
* region: Use g_auto for variablesRobert Ancell2018-05-284-317/+195
|
* privacy: Replace ifdefs with #pragma onceRobert Ancell2018-05-291-4/+1
|
* privacy: Replace GObject boilerplace with G_DECLARE_TYPERobert Ancell2018-05-292-183/+139
|
* keyboard: Use g_auto for variablesRobert Ancell2018-05-295-58/+28
|
* CI: create a workaround to build flatpakClaudio André2018-05-281-1/+1
| | | | GNOME master image is not working, so, we are using a workaround.
* CI: save the build logClaudio André2018-05-281-0/+1
|
* CI: cache flatpak-builder filesClaudio André2018-05-281-0/+4
| | | | It is needed to make things faster.
* wacom: Use GdkMonitor API on calibrator UIwip/carlosg/wacom-api-deprecationsCarlos Garnacho2018-05-262-8/+19
| | | | | | Replaces usage of deprecated GdkScreen API. We still have to pass monitor numbers around for gdk_window_fullscreen_on_monitor(), such is life.
* wacom: Use GdkSeat grabs in g-c-c's pad button action mapper UICarlos Garnacho2018-05-261-55/+11
| | | | Replaces usage of deprecated API.
* wacom: Use GdkSeat API to list slave stylus devicesCarlos Garnacho2018-05-261-3/+3
| | | | Replaces usage of deprecated API.
* 3.29.23.29.2Georges Basile Stavracas Neto2018-05-252-1/+26
|
* flatpak: Fix NetworkManager buildGeorges Basile Stavracas Neto2018-05-251-0/+1
| | | | It now has a new, on by default, libpsl dependency.
* flatpak: Use 3.28 runtimeGeorges Basile Stavracas Neto2018-05-251-1/+1
|
* flatpak: Trivial style fixGeorges Basile Stavracas Neto2018-05-251-2/+2
|
* project: Remove obsolete filesGeorges Basile Stavracas Neto2018-05-253-4/+0
| | | | These files are not relevant anymore these days.
* background: Remove unused variablesRobert Ancell2018-05-251-1/+0
|
* Update Russian translationStas Solovey2018-05-221-278/+511
|
* Updated Spanish translationDaniel Mustieles2018-05-221-72/+68
|
* docs: advertise the flatpakClaudio André2018-05-191-0/+9
| | | | [skip ci]
* Updated Czech translationMarek Cernocky2018-05-171-43/+65
|
* docs: update the "report bugs" linkClaudio André2018-05-161-1/+1
| | | | [skip ci]
* CI: handle patches while creating a flatpakClaudio André2018-05-161-0/+1
| | | | Make the flatpak routine able to deal with patches (if needed).
* ci: Reorganize filesGeorges Basile Stavracas Neto2018-05-162-8/+8
|
* thunderbolt: Fix buildMichael Catanzaro2018-05-161-0/+2
| | | | | Providing autocleanups for types you don't own is not a good idea, since it breaks when upstream adds those autocleanups.
* CI: create a flatpakClaudio André2018-05-151-0/+51
| | | | | The goal is dogfooding. Allow interested people to try, safely, the bleeding GNOME Control Center.