[gtk+/treeview-refactor] Make testtreeview handle RTL environment variable for testing
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/treeview-refactor] Make testtreeview handle RTL environment variable for testing
- Date: Thu, 16 Dec 2010 00:48:04 +0000 (UTC)
commit 5399f7b6e6a483caa4567537cf7d7c24fd92b2b2
Author: Kristian Rietveld <kris gtk org>
Date: Wed Dec 15 21:36:47 2010 +0100
Make testtreeview handle RTL environment variable for testing
tests/testtreeview.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/testtreeview.c b/tests/testtreeview.c
index c252ebf..80efc90 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]