[gnome-control-center] wacom: Fix discrepancy when switching monitors from g-c-c
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: Fix discrepancy when switching monitors from g-c-c
- Date: Mon, 10 Jun 2013 09:07:47 +0000 (UTC)
commit edc0a9b11ffb5776cc5877151da7d984c1091cb4
Author: Joaquim Rocha <jrocha redhat com>
Date: Thu May 23 13:37:43 2013 +0200
wacom: Fix discrepancy when switching monitors from g-c-c
The rotation was being set directly from g-c-c when switching
monitors but g-s-d already does this when the display is set to
the tablet. This resulted in a discrepancy between setting the
monitor from g-c-c or from g-s-d when the left-handed mode was on.
https://bugzilla.gnome.org/show_bug.cgi?id=700439
panels/wacom/cc-wacom-mapping-panel.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-mapping-panel.c b/panels/wacom/cc-wacom-mapping-panel.c
index e8654a8..bb947bd 100644
--- a/panels/wacom/cc-wacom-mapping-panel.c
+++ b/panels/wacom/cc-wacom-mapping-panel.c
@@ -199,17 +199,6 @@ update_mapping (CcWacomMappingPanel *self)
}
gsd_wacom_device_set_display (self->priv->device, monitor);
-
- if (monitor >= 0) {
- GsdWacomRotation rotation;
- GSettings *settings;
-
- rotation = gsd_wacom_device_get_display_rotation (self->priv->device);
- settings = gsd_wacom_device_get_settings (self->priv->device);
- g_settings_set_string (settings,
- "rotation",
- gsd_wacom_device_rotation_type_to_name (rotation));
- }
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]