Commit graph

17921 commits

Author SHA1 Message Date
Jeremy Bicha
f109289538 Revert "shell: make the .desktop file pass "--overview""
This reverts commit 94aeba51e3.

We actually do want to see the last panel opened
2018-05-29 00:46:01 +00:00
Robert Ancell
a7e84dcf2e mouse: Use GtkTemplate 2018-05-29 00:36:30 +00:00
Georges Basile Stavracas Neto
02f0353fc4 display: Various style fixes
It makes @feaneron happier, and fixes a couple of
memory leaks.
2018-05-28 21:24:41 -03:00
Benjamin Berg
9a4449dfa9 display: Implement major/minor axis snapping and infinit for edges
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.
2018-05-28 20:57:20 -03:00
Benjamin Berg
d54c356aa5 display: Enable infinit snapping when arranging two monitors
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.
2018-05-28 20:57:20 -03:00
Benjamin Berg
08a7f7cb53 display: Move output utility functions into CcDisplayMonitor
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
2018-05-28 20:57:20 -03:00
Benjamin Berg
6fa9368f38 display: Remove incorrect comment
The comment was not updated when the workaround in the code was removed.

https://bugzilla.gnome.org/show_bug.cgi?id=786971
2018-05-28 20:57:20 -03:00
Benjamin Berg
e17e9daa19 display: Remove unused old display arrangement code
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
2018-05-28 20:57:20 -03:00
Benjamin Berg
199a7117f2 display: Add new arrangement widget and hook it up
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
2018-05-28 20:57:20 -03:00
Benjamin Berg
32be5bd1d9 display: Add signal to monitor notifying about position changes
This is in preparation to a new arrangement widget.

https://bugzilla.gnome.org/show_bug.cgi?id=786971
2018-05-28 20:57:20 -03:00
Benjamin Berg
faaf402c82 display: Re-indent cc-display-config.h
This commit has no functional changes.
2018-05-28 20:57:20 -03:00
Robert Ancell
5bb152acb0 mouse: Replace ifdefs with #pragma once 2018-05-28 23:47:59 +00:00
Robert Ancell
38bbaeb8fa mouse: Replace GObject boilerplace with G_DECLARE_TYPE 2018-05-28 23:47:59 +00:00
Robert Ancell
5c418b8983 region: Use GtkTemplate 2018-05-29 11:38:39 +12:00
Robert Ancell
8436a4fe29 region: Replace ifdefs with #pragma once 2018-05-29 11:27:04 +12:00
Robert Ancell
5be47a16a5 region: Replace GObject boilerplace with G_DECLARE_TYPE 2018-05-29 11:27:04 +12:00
Robert Ancell
79e00c37b0 region: Use g_auto for variables 2018-05-28 23:09:27 +00:00
Robert Ancell
389bb1b87c privacy: Replace ifdefs with #pragma once 2018-05-29 10:47:48 +12:00
Robert Ancell
b81b93193a privacy: Replace GObject boilerplace with G_DECLARE_TYPE 2018-05-29 10:47:48 +12:00
Robert Ancell
a90e13f12c keyboard: Use g_auto for variables 2018-05-29 10:35:14 +12:00
Claudio André
690f15b69d CI: create a workaround to build flatpak
GNOME master image is not working, so, we are using a workaround.
2018-05-28 21:50:50 +00:00
Claudio André
14adc647b5 CI: save the build log 2018-05-28 21:50:50 +00:00
Claudio André
ad0f3f6ffb CI: cache flatpak-builder files
It is needed to make things faster.
2018-05-28 21:50:49 +00:00
Carlos Garnacho
35adc02d42 wacom: Use GdkMonitor API on calibrator UI
Replaces usage of deprecated GdkScreen API. We still have to pass
monitor numbers around for gdk_window_fullscreen_on_monitor(), such
is life.
2018-05-26 10:09:28 +02:00
Carlos Garnacho
c3b34e6798 wacom: Use GdkSeat grabs in g-c-c's pad button action mapper UI
Replaces usage of deprecated API.
2018-05-26 10:09:28 +02:00
Carlos Garnacho
2503832046 wacom: Use GdkSeat API to list slave stylus devices
Replaces usage of deprecated API.
2018-05-26 10:09:28 +02:00
Georges Basile Stavracas Neto
cf61ee5812 3.29.2 2018-05-25 17:37:18 -03:00
Georges Basile Stavracas Neto
da1b2f9d5d flatpak: Fix NetworkManager build
It now has a new, on by default, libpsl dependency.
2018-05-25 16:42:14 -03:00
Georges Basile Stavracas Neto
17a0ec01b3 flatpak: Use 3.28 runtime 2018-05-25 16:41:59 -03:00
Georges Basile Stavracas Neto
0f81ea3924 flatpak: Trivial style fix 2018-05-25 16:41:43 -03:00
Georges Basile Stavracas Neto
844b847a38 project: Remove obsolete files
These files are not relevant anymore these days.
2018-05-25 16:41:22 -03:00
Robert Ancell
ba3797aafe background: Remove unused variables 2018-05-25 12:36:34 +12:00
Stas Solovey
b2746fe0db Update Russian translation 2018-05-22 15:42:29 +00:00
Daniel Mustieles
053d3e0ed5 Updated Spanish translation 2018-05-22 13:42:32 +02:00
Claudio André
a8a6dc0f88 docs: advertise the flatpak
[skip ci]
2018-05-19 01:05:30 +00:00
Marek Cernocky
01edbf3f9e Updated Czech translation 2018-05-17 13:11:44 +02:00
Claudio André
ef71156732 docs: update the "report bugs" link
[skip ci]
2018-05-16 16:54:13 -03:00
Claudio André
5ab9e645ee CI: handle patches while creating a flatpak
Make the flatpak routine able to deal with patches (if needed).
2018-05-16 18:49:35 +00:00
Georges Basile Stavracas Neto
017643dbf9 ci: Reorganize files 2018-05-16 15:18:57 -03:00
Michael Catanzaro
9b32898cee thunderbolt: Fix build
Providing autocleanups for types you don't own is not a good idea, since
it breaks when upstream adds those autocleanups.
2018-05-16 13:01:12 -05:00
Claudio André
72732dd1db CI: create a flatpak
The goal is dogfooding. Allow interested people to try, safely, the
bleeding GNOME Control Center.
2018-05-15 19:16:01 -03:00
Claudio André
fcc33b74ca project: add the renames required by flatpak
The names of files that are exported by a Flatpak must prefixed using
the application ID.
2018-05-15 19:16:01 -03:00
Fran Dieguez
baaf9e45aa Update Galician translation 2018-05-15 22:03:32 +00:00
Marcos Lans
136e0d5687 Update Galician translation 2018-05-15 21:58:01 +00:00
Matej Urbančič
0ade0fa08c Updated Slovenian translation 2018-05-15 21:14:27 +02:00
Matej Urbančič
2acb520fc9 Merge branch 'master' of gitlab.gnome.org:GNOME/gnome-control-center 2018-05-15 21:03:11 +02:00
Claudio André
f4433b3766 CI: print some info about the build env
It is not possible to debug if the developer knows nothing about
the CI running environment.
2018-05-14 19:39:45 -03:00
Claudio André
4a5a2c7280 CI: add status information to the build 2018-05-14 19:20:37 -03:00
Georges Basile Stavracas Neto
50094b45a6 window: Warn about development builds
With this commit, a message dialog pops up whenever a
development build runs. This is meant to actually annoy,
so that we're always reminded that things may not work
as expected.

Since the dialog can be dismissed with a single button
press, it is not the end of the world. But people still
should be aware that Settings is ~not~ meant to run with
Flatpak, and that this is a development tool only.
2018-05-14 18:24:03 -03:00
Georges Basile Stavracas Neto
7322cdc45b project: Add a development flatpak manifest
The development flatpak is meant to be used exactly
that: development. It isn't and won't ever be released
as a regular Flatpak application.

GNOME Setting is still supposed to run as a host system
tool.
2018-05-14 17:25:49 -03:00