summaryrefslogtreecommitdiff
path: root/libwnck/test-tasklist.c
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2007-02-12 21:36:27 +0000
committerVincent Untz <vuntz@src.gnome.org>2007-02-12 21:36:27 +0000
commit1b7873ef30b885f12235f5b00a2764d133f752fb (patch)
treea894e08c8a0eb692fec7c1082c0188bf72b37d28 /libwnck/test-tasklist.c
parentb2b58a3f27704703b4aacca92316438946298c1b (diff)
downloadlibwnck-1b7873ef30b885f12235f5b00a2764d133f752fb.tar.gz
fix for RTL environments Fix bug #154320 ditto Fix bug #387897 set
2007-02-12 Vincent Untz <vuntz@gnome.org> * libwnck/tasklist.c: (wnck_tasklist_size_allocate): fix for RTL environments Fix bug #154320 * libwnck/pager.c: (get_workspace_rect): ditto Fix bug #387897 * libwnck/test-tasklist.c: (main): set direction to RTL if the RTL environment variable is set * libwnck/test-pager.c: (main): ditto svn path=/trunk/; revision=1176
Diffstat (limited to 'libwnck/test-tasklist.c')
-rw-r--r--libwnck/test-tasklist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libwnck/test-tasklist.c b/libwnck/test-tasklist.c
index f21a843..6e1b80f 100644
--- a/libwnck/test-tasklist.c
+++ b/libwnck/test-tasklist.c
@@ -27,6 +27,10 @@ main (int argc, char **argv)
g_option_context_free (ctxt);
ctxt = NULL;
+ /* to test rtl layout, set RTL=1 in the environment */
+ if (g_getenv ("RTL"))
+ gtk_widget_set_default_direction (GTK_TEXT_DIR_RTL);
+
screen = wnck_screen_get_default ();
/* because the pager doesn't respond to signals at the moment */