--- widgets/misc/e-calendar.c.rtl	2004-11-26 18:45:36.000000000 +0330
+++ widgets/misc/e-calendar.c	2006-04-24 20:05:23.000000000 +0330
@@ -351,8 +351,10 @@
 		- E_CALENDAR_ARROW_BUTTON_Y_PAD * 2;
 
 	gnome_canvas_item_set (cal->prev_item,
-			       "x", xthickness * 2
-			       + E_CALENDAR_ARROW_BUTTON_X_PAD,
+			       "x", (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL)
+			       ? new_x2 + 1 - xthickness * 2 - E_CALENDAR_ARROW_BUTTON_X_PAD
+			         - arrow_button_size
+			       : xthickness * 2 + E_CALENDAR_ARROW_BUTTON_X_PAD,
 			       "y", ythickness * 2
 			       + E_CALENDAR_ARROW_BUTTON_Y_PAD,
 			       "width", arrow_button_size,
@@ -360,9 +362,10 @@
 			       NULL);
 
 	gnome_canvas_item_set (cal->next_item,
-			       "x", new_x2 + 1 - xthickness * 2
-			       - E_CALENDAR_ARROW_BUTTON_X_PAD
-			       - arrow_button_size,
+			       "x", (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL)
+			       ? xthickness * 2 + E_CALENDAR_ARROW_BUTTON_X_PAD
+			       : new_x2 + 1 - xthickness * 2 - E_CALENDAR_ARROW_BUTTON_X_PAD
+			         - arrow_button_size,
 			       "y", ythickness * 2
 			       + E_CALENDAR_ARROW_BUTTON_Y_PAD,
 			       "width", arrow_button_size,
