forked from AuroraMiddleware/gtk
Prefer LTR over RTL if the keymap is neutral.
This commit is contained in:
parent
3661b4e908
commit
65f799ab2d
@ -1,3 +1,9 @@
|
||||
2005-01-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_check_keymap_direction):
|
||||
* gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL
|
||||
if the keymap is neutral. (#164125, Phil Blundell)
|
||||
|
||||
2005-01-14 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow to
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-01-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_check_keymap_direction):
|
||||
* gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL
|
||||
if the keymap is neutral. (#164125, Phil Blundell)
|
||||
|
||||
2005-01-14 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow to
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-01-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_check_keymap_direction):
|
||||
* gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL
|
||||
if the keymap is neutral. (#164125, Phil Blundell)
|
||||
|
||||
2005-01-14 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow to
|
||||
|
@ -2972,10 +2972,10 @@ gtk_entry_create_layout (GtkEntry *entry,
|
||||
}
|
||||
else
|
||||
{
|
||||
if (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_LTR)
|
||||
pango_dir = PANGO_DIRECTION_LTR;
|
||||
else
|
||||
if (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL)
|
||||
pango_dir = PANGO_DIRECTION_RTL;
|
||||
else
|
||||
pango_dir = PANGO_DIRECTION_LTR;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5751,10 +5751,10 @@ gtk_text_view_check_keymap_direction (GtkTextView *text_view)
|
||||
"gtk-split-cursor", &split_cursor,
|
||||
NULL);
|
||||
|
||||
if (gdk_keymap_get_direction (keymap) == PANGO_DIRECTION_LTR)
|
||||
new_keyboard_dir = GTK_TEXT_DIR_LTR;
|
||||
if (gdk_keymap_get_direction (keymap) == PANGO_DIRECTION_RTL)
|
||||
new_keyboard_dir = GTK_TEXT_DIR_RTL;
|
||||
else
|
||||
new_keyboard_dir = GTK_TEXT_DIR_RTL;
|
||||
new_keyboard_dir = GTK_TEXT_DIR_LTR;
|
||||
|
||||
if (split_cursor)
|
||||
new_cursor_dir = GTK_TEXT_DIR_NONE;
|
||||
|
Loading…
Reference in New Issue
Block a user