[gnome-control-center] keyboard: Fix shortcut label in RTL languages



commit 510d9804319436278cd3ce3c24908b5f83538589
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Sep 9 16:34:25 2016 +0200

    keyboard: Fix shortcut label in RTL languages
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771110

 panels/keyboard/cc-keyboard-shortcut-editor.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/panels/keyboard/cc-keyboard-shortcut-editor.c b/panels/keyboard/cc-keyboard-shortcut-editor.c
index c7b39b8..e442343 100644
--- a/panels/keyboard/cc-keyboard-shortcut-editor.c
+++ b/panels/keyboard/cc-keyboard-shortcut-editor.c
@@ -847,6 +847,9 @@ cc_keyboard_shortcut_editor_init (CcKeyboardShortcutEditor *self)
 
   self->mode = CC_SHORTCUT_EDITOR_EDIT;
   self->custom_is_modifier = TRUE;
+
+  gtk_widget_set_direction (self->custom_shortcut_accel_label, GTK_TEXT_DIR_LTR);
+  gtk_widget_set_direction (self->shortcut_accel_label, GTK_TEXT_DIR_LTR);
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]