diff --git a/panels/wacom/cc-wacom-stylus-page.c b/panels/wacom/cc-wacom-stylus-page.c index 82ff2f8022ff7f9f80e6a257ee39220c6f691e53..aace87883ff17763296d9f0b6f1980999481cdb0 100644 --- a/panels/wacom/cc-wacom-stylus-page.c +++ b/panels/wacom/cc-wacom-stylus-page.c @@ -297,19 +297,10 @@ cc_wacom_stylus_page_class_init (CcWacomStylusPageClass *klass) gtk_widget_class_bind_template_callback (widget_class, on_eraser_pressure_value_changed); } -static void -add_marks (GtkScale *scale) -{ - gtk_scale_add_mark (scale, 100, GTK_POS_BOTTOM, NULL); -} - static void cc_wacom_stylus_page_init (CcWacomStylusPage *page) { gtk_widget_init_template (GTK_WIDGET (page)); - - add_marks (GTK_SCALE (page->stylus_tip_pressure_scale)); - add_marks (GTK_SCALE (page->stylus_eraser_pressure_scale)); } static void diff --git a/panels/wacom/cc-wacom-stylus-page.ui b/panels/wacom/cc-wacom-stylus-page.ui index b78933c23c33e31682cbe67760e13e7608dc2379..67b00fcfa7351bb01f39e85742cf3b27adc821b6 100644 --- a/panels/wacom/cc-wacom-stylus-page.ui +++ b/panels/wacom/cc-wacom-stylus-page.ui @@ -18,36 +18,22 @@ Tip _Pressure Feel true + stylus_tip_pressure_scale - - - - Soft - + + + + Soft + + Firm + + + + 200 + 20 + 60 - - - - stylus_tip_pressure_adjustment - False - True - True - - - Stylus tip pressure - - - - - - Firm - - - + @@ -113,36 +99,22 @@ _Eraser Pressure Feel true + stylus_eraser_pressure_scale - - - - Soft - - - - - - stylus_eraser_pressure_adjustment - False - True - True - - - Eraser pressure - + + + + Soft + + Firm + + + + 200 + 20 + 60 - - - - Firm - - - + @@ -150,20 +122,10 @@ - - 200 - 20 - 60 - - - 200 - 20 - 60 - - - + +