shortcuts: the accelerator should always be LTR
Even on RTL languages, we want the shortcut to be LTR so that we always have <control> to the left of the accel keyval. https://bugzilla.gnome.org/show_bug.cgi?id=772695
This commit is contained in:
parent
bfc6287910
commit
90ac584437
@ -499,6 +499,9 @@ static void
|
|||||||
gtk_shortcut_label_init (GtkShortcutLabel *self)
|
gtk_shortcut_label_init (GtkShortcutLabel *self)
|
||||||
{
|
{
|
||||||
gtk_box_set_spacing (GTK_BOX (self), 6);
|
gtk_box_set_spacing (GTK_BOX (self), 6);
|
||||||
|
|
||||||
|
/* Always use LTR so that modifiers are always left to the keyval */
|
||||||
|
gtk_widget_set_direction (GTK_WIDGET (self), GTK_TEXT_DIR_LTR);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user