summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--capplets/mouse/mate-mouse-properties.c19
-rw-r--r--capplets/mouse/mate-mouse-properties.ui36
2 files changed, 26 insertions, 29 deletions
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
<property name="top-padding">6</property>
<property name="left-padding">12</property>
<child>
- <!-- n-columns=3 n-rows=3 -->
+ <!-- n-columns=2 n-rows=3 -->
<object class="GtkGrid" id="table2">
<property name="visible">True</property>
<property name="can-focus">False</property>
@@ -594,15 +594,6 @@ Author: Wolfgang Ulbrich
<property name="top-attach">2</property>
</packing>
</child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
</object>
</child>
</object>
@@ -1612,4 +1603,29 @@ Author: Wolfgang Ulbrich
<action-widget response="2">closebutton1</action-widget>
</action-widgets>
</object>
+ <object class="GtkSizeGroup">
+ <widgets>
+ <widget name="acceleration_label"/>
+ <widget name="sensitivity_label"/>
+ <widget name="mouse_accel_profile_label"/>
+ <widget name="threshold_label"/>
+ <widget name="timeout_label"/>
+ </widgets>
+ </object>
+ <object class="GtkSizeGroup">
+ <widgets>
+ <widget name="acceleration_fast_label"/>
+ <widget name="sensitivity_high_label"/>
+ <widget name="threshold_large_label"/>
+ <widget name="timeout_long_label"/>
+ </widgets>
+ </object>
+ <object class="GtkSizeGroup">
+ <widgets>
+ <widget name="acceleration_slow_label"/>
+ <widget name="sensitivity_low_label"/>
+ <widget name="threshold_small_label"/>
+ <widget name="timeout_short_label"/>
+ </widgets>
+ </object>
</interface>