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
This commit is contained in:
parent
b37165de9c
commit
d6970f1c58
1 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue