summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--capplets/keyboard/mate-keyboard-properties-dialog.ui21
-rw-r--r--capplets/keyboard/mate-keyboard-properties.c19
2 files changed, 21 insertions, 19 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-dialog.ui b/capplets/keyboard/mate-keyboard-properties-dialog.ui
index 2092d6f0..bed5a44f 100644
--- a/capplets/keyboard/mate-keyboard-properties-dialog.ui
+++ b/capplets/keyboard/mate-keyboard-properties-dialog.ui
@@ -2188,4 +2188,25 @@ default settings</property>
<action-widget response="-1">close_button</action-widget>
</action-widgets>
</object>
+ <object class="GtkSizeGroup">
+ <widgets>
+ <widget name="delay_short_label"/>
+ <widget name="repeat_slow_label"/>
+ <widget name="blink_slow_label"/>
+ </widgets>
+ </object>
+ <object class="GtkSizeGroup">
+ <widgets>
+ <widget name="delay_long_label"/>
+ <widget name="repeat_fast_label"/>
+ <widget name="blink_fast_label"/>
+ </widgets>
+ </object>
+ <object class="GtkSizeGroup">
+ <widgets>
+ <widget name="repeat_delay_scale"/>
+ <widget name="repeat_speed_scale"/>
+ <widget name="cursor_blink_time_scale"/>
+ </widgets>
+ </object>
</interface>
diff --git a/capplets/keyboard/mate-keyboard-properties.c b/capplets/keyboard/mate-keyboard-properties.c
index b17421cf..22f6fa80 100644
--- a/capplets/keyboard/mate-keyboard-properties.c
+++ b/capplets/keyboard/mate-keyboard-properties.c
@@ -54,7 +54,6 @@ static GtkBuilder *
create_dialog (void)
{
GtkBuilder *dialog;
- GtkSizeGroup *size_group;
GError *error = NULL;
dialog = gtk_builder_new ();
@@ -65,24 +64,6 @@ create_dialog (void)
return NULL;
}
- size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
- gtk_size_group_add_widget (size_group, WID ("repeat_slow_label"));
- gtk_size_group_add_widget (size_group, WID ("delay_short_label"));
- gtk_size_group_add_widget (size_group, WID ("blink_slow_label"));
- g_object_unref (G_OBJECT (size_group));
-
- size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
- gtk_size_group_add_widget (size_group, WID ("repeat_fast_label"));
- gtk_size_group_add_widget (size_group, WID ("delay_long_label"));
- gtk_size_group_add_widget (size_group, WID ("blink_fast_label"));
- g_object_unref (G_OBJECT (size_group));
-
- size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
- gtk_size_group_add_widget (size_group, WID ("repeat_delay_scale"));
- gtk_size_group_add_widget (size_group, WID ("repeat_speed_scale"));
- gtk_size_group_add_widget (size_group, WID ("cursor_blink_time_scale"));
- g_object_unref (G_OBJECT (size_group));
-
return dialog;
}