[gnome-control-center] keyboard: Fix shortcut label in RTL languages
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] keyboard: Fix shortcut label in RTL languages
- Date: Fri, 9 Sep 2016 14:52:03 +0000 (UTC)
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]