summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/mygtk2.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 9702c0ec1..12eacbd61 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -1341,4 +1341,9 @@ sub pixmap_from_pixbuf {
$pixmap;
}
+sub text_direction_rtl() {
+ Gtk2::Widget->get_default_direction() eq 'rtl';
+}
+
+
1;