Commit 65f799ab authored by Matthias Clasen's avatar Matthias Clasen

Prefer LTR over RTL if the keymap is neutral.

parent 3661b4e9
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
......
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
......
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment