--- gtkcellrenderertext.c.orig	2006-03-04 22:53:43.000000000 +0330
+++ gtkcellrenderertext.c	2006-03-04 22:53:46.000000000 +0330
@@ -1351,11 +1351,17 @@ get_layout (GtkCellRendererText *celltex
   PangoLayout *layout;
   PangoUnderline uline;
   GtkCellRendererTextPrivate *priv;
+  gboolean rtl;
+  PangoAlignment align;
 
   priv = GTK_CELL_RENDERER_TEXT_GET_PRIVATE (celltext);
   
   layout = gtk_widget_create_pango_layout (widget, celltext->text);
 
+  rtl = gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL;
+  align = rtl ? PANGO_ALIGN_RIGHT : PANGO_ALIGN_LEFT;
+  pango_layout_set_alignment (layout, align);
+  
   if (celltext->extra_attrs)
     attr_list = pango_attr_list_copy (celltext->extra_attrs);
   else
