Prefer LTR over RTL if the keymap is neutral. (#164125, Phil Blundell)
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)
This commit is contained in:
committed by
Matthias Clasen
parent
9ad73f0152
commit
4150e5cbe1
@@ -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-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Add an OS_LINUX conditional.
|
||||
|
||||
@@ -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-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Add an OS_LINUX conditional.
|
||||
|
||||
@@ -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-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Add an OS_LINUX conditional.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user