[gnome-control-center] mouse: Fix right-/left-handed buttons getting out of sync
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] mouse: Fix right-/left-handed buttons getting out of sync
- Date: Wed, 28 Oct 2015 14:39:18 +0000 (UTC)
commit d6970f1c5826dda362e04f07f9e13d6319ad053f
Author: Bastien Nocera <hadess hadess net>
Date: Wed Oct 28 12:05:55 2015 +0100
mouse: Fix right-/left-handed buttons getting out of sync
Make the two independent buttons into a group of radio buttons without
an indicator to make sure they stay in sync (one enabled, one disabled).
https://bugzilla.gnome.org/show_bug.cgi?id=756863
panels/mouse/gnome-mouse-properties.ui | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/panels/mouse/gnome-mouse-properties.ui b/panels/mouse/gnome-mouse-properties.ui
index 38c0e38..3493655 100644
--- a/panels/mouse/gnome-mouse-properties.ui
+++ b/panels/mouse/gnome-mouse-properties.ui
@@ -121,19 +121,22 @@
<class name="linked"/>
</style>
<child>
- <object class="GtkToggleButton" id="primary-button-left">
+ <object class="GtkRadioButton" id="primary-button-left">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="label">Left</property>
+ <property name="draw-indicator">False</property>
</object>
</child>
<child>
- <object class="GtkToggleButton" id="primary-button-right">
+ <object class="GtkRadioButton" id="primary-button-right">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="label">Right</property>
+ <property name="draw-indicator">False</property>
+ <property name="group">primary-button-left</property>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]