We were just assuming that there is an X server around. This may
not be the case anymore, so check, and deal with running under
Wayland. For now, we just say 'Wayland'. We should do better here,
eventually.
https://bugzilla.gnome.org/show_bug.cgi?id=728672
The code to listen for window manager changes only makes sense under
X, so don't use it under Wayland. In that case, we can just assume
that we are under GNOME shell when we find a wayland display.
https://bugzilla.gnome.org/show_bug.cgi?id=728679
d78bc977 wrongly made the Wacom panel optional on supported platforms.
Restore the original behaviour which is to require the Wacom panel to be
built on all Linux versions (except s390 which doesn't have USB
support).
See https://bugzilla.gnome.org/show_bug.cgi?id=728318
When using a small screen, make sure that the whole of the dialogue
is visible, including the confirmation buttons. This means that the
dialogue will be maximised when on smaller screens (just like its
parent), and that we won't set a number of columns for the icon
view.
We will also stop making the dialogue much bigger than the
Settings window itself.
https://bugzilla.gnome.org/show_bug.cgi?id=692495
A completely black background will make it impossible to see
whether there is one more workspace in gnome-shell, and as we
do not want to design gnome-shell around the possibility of
a solid black coloured background, remove black from the options.
https://bugzilla.gnome.org/show_bug.cgi?id=649426
We create rotate_box only when show_rotation is TRUE, and the
conditions for checking the different kinds of rotation do not make
sense when show_rotation is FALSE.
https://bugzilla.gnome.org/show_bug.cgi?id=727023
Since gtk+ commit cf4a41a856b56bcab6edaaf0e0a4f17ed5853525, the hour and
minute spin buttons in the datetime dialog grew too wide. gtk+ now
computes separate natural and minumum width; unfortunately the natural
width is too wide for us.
Force the spin buttons to have max width of 2 characters to fix this.