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
If running under wayland, we can't use an X property notify
to look at workarea changes.
Currently, workarea is not part of the wayland protocol, so don't
bother and just don't crash.
https://bugzilla.gnome.org/show_bug.cgi?id=705573
The way we apply the new configuration changed, in that we are
expected to call the apply() method of GnomeRRConfig ourselves,
and that takes care to call to mutter, show the confirmation
dialog, etc.
https://bugzilla.gnome.org/show_bug.cgi?id=705573
The coordinates of the cairo_t in GtkWidget::draw() is always
based on the origin of the widget, i.e. the allocation, even
for drawing on subwindows or whatnot. So, we can delete
all the user_to_device() code.
This also fixed input when the new Gtk+ drawing model changes,
as that will change the device coordinates reported (but not the
user coordinates).
Very few of the panel comments provide information that is very
useful. Update them to supplement the panel descriptions - this
will make the search results more helpful.
https://bugzilla.gnome.org/show_bug.cgi?id=694110
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.
https://bugzilla.gnome.org/show_bug.cgi?id=691229
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.
By the same token, it will stop external panels from being
created, and loaded.
https://bugzilla.gnome.org/show_bug.cgi?id=690036
We need to save event areas with the correct transformation.
The following things need to be take into account:
* Current cairo matrix (translations)
* Widget allocation because it is painting on the parents widgets window
* Cairo device offset, which GTK+ sets (but not for a full window redraw)
https://bugzilla.gnome.org/show_bug.cgi?id=681475
We had 'Mirror displays' as a command in the control center, but 'Mirror screens' as a description in
GnomeRRLabeler. Now we have 'Mirrored Displays' as a description of the current state.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
The rotation combo box items on the Displays panel do not appear
translated. This is because the items got translation context support
in 5a5a037d09, but to get the localized
strings, one needs to use g_dpgettext2()[1], not gettext().
https://bugzilla.gnome.org/show_bug.cgi?id=673766