--- gal-2.4.3/gal/e-table/e-cell-text.c.rtl-cells	2006-04-23 17:26:06.000000000 +0330
+++ gal-2.4.3/gal/e-table/e-cell-text.c	2006-04-23 17:27:10.000000000 +0330
@@ -567,6 +567,7 @@
 	ECellText *ect = E_CELL_TEXT (ecell_view->ecell);
 	PangoAttrList *attrs ;
 	PangoLayout *layout;
+	gboolean rtl;
 
 	layout = gtk_widget_create_pango_layout (GTK_WIDGET (((GnomeCanvasItem *)ecell_view->e_table_item_view)->canvas), text);
 
@@ -597,14 +598,17 @@
 		g_free (line_text);
 	}
 
+	rtl = gtk_widget_get_direction (GTK_WIDGET (((GnomeCanvasItem *)ecell_view->e_table_item_view)->canvas)) == GTK_TEXT_DIR_RTL;
+	
 	switch (ect->justify) {
 	case GTK_JUSTIFY_RIGHT:
-		pango_layout_set_alignment (layout, PANGO_ALIGN_RIGHT);
+		pango_layout_set_alignment (layout, rtl ? PANGO_ALIGN_LEFT : PANGO_ALIGN_RIGHT);
 		break;
 	case GTK_JUSTIFY_CENTER:
 		pango_layout_set_alignment (layout, PANGO_ALIGN_CENTER);
 		break;
 	case GTK_JUSTIFY_LEFT:
+		pango_layout_set_alignment (layout, rtl ? PANGO_ALIGN_RIGHT : PANGO_ALIGN_LEFT);
 	default:
 		break;
 	}
