Index: libwnck/pager.c
===================================================================
RCS file: /cvs/gnome/libwnck/libwnck/pager.c,v
retrieving revision 1.59
diff -u -r1.59 pager.c
--- libwnck/pager.c	2 Dec 2006 11:47:25 -0000	1.59
+++ libwnck/pager.c	19 Dec 2006 17:09:22 -0000
@@ -555,6 +555,10 @@
   
   n_spaces = wnck_screen_get_workspace_count (pager->priv->screen);
 
+  /* In RTL direction, the first workspace is the right most one */
+  if (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL)
+      space = n_spaces - (space + 1);
+
   g_assert (pager->priv->n_rows > 0);
   spaces_per_row = (n_spaces + pager->priv->n_rows - 1) / pager->priv->n_rows;
   
