summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--gtk/gtkentry.c5
4 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e89f150c2..c3bd1daa1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-02-04 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious
+ selection of RTL direction if the widget does not have
+ focus. (#164125, Frederic Crozat)
+
2005-02-03 Tor Lillqvist <tml@novell.com>
* modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index e89f150c2..c3bd1daa1 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,9 @@
+2005-02-04 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious
+ selection of RTL direction if the widget does not have
+ focus. (#164125, Frederic Crozat)
+
2005-02-03 Tor Lillqvist <tml@novell.com>
* modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index e89f150c2..c3bd1daa1 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,9 @@
+2005-02-04 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious
+ selection of RTL direction if the widget does not have
+ focus. (#164125, Frederic Crozat)
+
2005-02-03 Tor Lillqvist <tml@novell.com>
* modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 7a81353c8..fbe019f6b 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -2968,7 +2968,10 @@ gtk_entry_create_layout (GtkEntry *entry,
{
GdkDisplay *display = gtk_widget_get_display (widget);
GdkKeymap *keymap = gdk_keymap_get_for_display (display);
- pango_dir = gdk_keymap_get_direction (keymap);
+ if (gdk_keymap_get_direction (keymap) == PANGO_DIRECTION_RTL)
+ pango_dir = PANGO_DIRECTION_RTL;
+ else
+ pango_dir = PANGO_DIRECTION_LTR;
}
else
{