From 96305827a8d804eacfa8b24db72e9e1858cde4f1 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 24 Nov 2020 17:27:55 +0100 Subject: mate-mouse-properties: size groups on ui file --- capplets/mouse/mate-mouse-properties.c | 19 ----------------- capplets/mouse/mate-mouse-properties.ui | 36 ++++++++++++++++++++++++--------- 2 files changed, 26 insertions(+), 29 deletions(-) (limited to 'capplets/mouse') diff --git a/capplets/mouse/mate-mouse-properties.c b/capplets/mouse/mate-mouse-properties.c index cc7816b5..7eecf65a 100644 --- a/capplets/mouse/mate-mouse-properties.c +++ b/capplets/mouse/mate-mouse-properties.c @@ -378,7 +378,6 @@ static GtkBuilder * create_dialog (void) { GtkBuilder *dialog; - GtkSizeGroup *size_group; GError *error = NULL; dialog = gtk_builder_new (); @@ -389,24 +388,6 @@ create_dialog (void) return NULL; } - size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); - gtk_size_group_add_widget (size_group, WID ("acceleration_label")); - gtk_size_group_add_widget (size_group, WID ("sensitivity_label")); - gtk_size_group_add_widget (size_group, WID ("threshold_label")); - gtk_size_group_add_widget (size_group, WID ("timeout_label")); - - size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); - gtk_size_group_add_widget (size_group, WID ("acceleration_fast_label")); - gtk_size_group_add_widget (size_group, WID ("sensitivity_high_label")); - gtk_size_group_add_widget (size_group, WID ("threshold_large_label")); - gtk_size_group_add_widget (size_group, WID ("timeout_long_label")); - - size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); - gtk_size_group_add_widget (size_group, WID ("acceleration_slow_label")); - gtk_size_group_add_widget (size_group, WID ("sensitivity_low_label")); - gtk_size_group_add_widget (size_group, WID ("threshold_small_label")); - gtk_size_group_add_widget (size_group, WID ("timeout_short_label")); - return dialog; } diff --git a/capplets/mouse/mate-mouse-properties.ui b/capplets/mouse/mate-mouse-properties.ui index 2bfeeb5b..875ee501 100644 --- a/capplets/mouse/mate-mouse-properties.ui +++ b/capplets/mouse/mate-mouse-properties.ui @@ -401,7 +401,7 @@ Author: Wolfgang Ulbrich 6 12 - + True False @@ -594,15 +594,6 @@ Author: Wolfgang Ulbrich 2 - - - - - - - - - @@ -1612,4 +1603,29 @@ Author: Wolfgang Ulbrich closebutton1 + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.1