[gnome-control-center] mouse: Switch left/right radios according text direction.
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] mouse: Switch left/right radios according text direction.
- Date: Tue, 28 Aug 2012 11:06:25 +0000 (UTC)
commit 3e5cdb6fce45e1ce3cce4801ef36df3abcbc8fc8
Author: Ondrej Holy <oholy redhat com>
Date: Thu Aug 23 14:34:59 2012 +0200
mouse: Switch left/right radios according text direction.
https://bugzilla.gnome.org/show_bug.cgi?id=669961
panels/mouse/gnome-mouse-properties.c | 2 ++
panels/mouse/gnome-mouse-properties.ui | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/panels/mouse/gnome-mouse-properties.c b/panels/mouse/gnome-mouse-properties.c
index b2dcc0e..630af3c 100644
--- a/panels/mouse/gnome-mouse-properties.c
+++ b/panels/mouse/gnome-mouse-properties.c
@@ -237,6 +237,8 @@ create_dialog (GtkBuilder *dialog)
gtk_size_group_add_widget (size_group, WID ("pointer_speed_slow_label"));
gtk_size_group_add_widget (size_group, WID ("double_click_slow_label"));
gtk_size_group_add_widget (size_group, WID ("touchpad_pointer_speed_slow_label"));
+
+ gtk_widget_set_direction (WID ("primary_button_box"), GTK_TEXT_DIR_LTR);
}
/* Callback issued when a button is clicked on the dialog */
diff --git a/panels/mouse/gnome-mouse-properties.ui b/panels/mouse/gnome-mouse-properties.ui
index 3ff32a1..7ea745d 100644
--- a/panels/mouse/gnome-mouse-properties.ui
+++ b/panels/mouse/gnome-mouse-properties.ui
@@ -191,7 +191,7 @@
</packing>
</child>
<child>
- <object class="GtkBox" id="box2">
+ <object class="GtkBox" id="primary_button_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">10</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]