window: Support forward and back mouse buttons
The button value for forward is 9. See <GNOME/gtk#515>. Closes #172
This commit is contained in:
parent
0ddecefe01
commit
8804938859
2 changed files with 27 additions and 1 deletions
|
|
@ -194,7 +194,18 @@
|
|||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="LpImageView" id="image_view"/>
|
||||
<object class="LpImageView" id="image_view">
|
||||
<child>
|
||||
<object class="GtkGestureClick" id="forward_click_gesture">
|
||||
<property name="button">9</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkGestureClick" id="backward_click_gesture">
|
||||
<property name="button">8</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkDropTarget" id="drop_target">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue