@@ -36,6 +36,17 @@ public class MouseTouchpad.MouseView : Switchboard.SettingsPage {
3636 group = accel_profile_default
3737 };
3838
39+ var accel_profile_box = new Granite .Box (VERTICAL , HALF ) {
40+ accessible_role = LIST
41+ };
42+ accel_profile_box. append (accel_profile_default);
43+ accel_profile_box. append (accel_profile_flat);
44+ accel_profile_box. append (accel_profile_adaptive);
45+
46+ var accel_profile_header = new Granite .HeaderLabel (_(" Pointer Acceleration" )) {
47+ mnemonic_widget = accel_profile_box
48+ };
49+
3950 var natural_scrolling_switch = new Gtk .Switch () {
4051 halign = END ,
4152 hexpand = true ,
@@ -47,19 +58,17 @@ public class MouseTouchpad.MouseView : Switchboard.SettingsPage {
4758 secondary_text = _ ("Scrolling moves the content , not the view ")
4859 };
4960
50- var natural_scrolling_box = new Gtk .Box (HORIZONTAL , 12 ) {
61+ var natural_scrolling_box = new Granite .Box (HORIZONTAL ) {
5162 margin_top = 12
5263 };
5364 natural_scrolling_box.append (natural_scrolling_header );
5465 natural_scrolling_box.append (natural_scrolling_switch );
5566
56- var content_box = new Gtk .Box (VERTICAL , 6 );
67+ var content_box = new Granite .Box (VERTICAL , HALF );
5768 content_box.append (pointer_speed_header );
5869 content_box.append (pointer_speed_scale );
59- content_box.append (new Granite .HeaderLabel (_ ("Pointer Acceleration ")));
60- content_box.append (accel_profile_default );
61- content_box.append (accel_profile_flat );
62- content_box.append (accel_profile_adaptive );
70+ content_box.append (accel_profile_header );
71+ content_box.append (accel_profile_box );
6372 content_box.append (natural_scrolling_box );
6473
6574 child = content_box;
0 commit comments