From 5399f7b6e6a483caa4567537cf7d7c24fd92b2b2 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Wed, 15 Dec 2010 21:36:47 +0100 Subject: [PATCH] Make testtreeview handle RTL environment variable for testing --- tests/testtreeview.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testtreeview.c b/tests/testtreeview.c index c252ebfc8c..80efc90fb8 100644 --- a/tests/testtreeview.c +++ b/tests/testtreeview.c @@ -709,6 +709,9 @@ main (int argc, gtk_init (&argc, &argv); + if (g_getenv ("RTL")) + gtk_widget_set_default_direction (GTK_TEXT_DIR_RTL); + our_pixbuf = gdk_pixbuf_new_from_xpm_data ((const char **) book_closed_xpm); #if 0