diff options
Diffstat (limited to 'perl-install/install/gtk.pm')
-rw-r--r-- | perl-install/install/gtk.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/gtk.pm b/perl-install/install/gtk.pm index f58c02317..529a6871c 100644 --- a/perl-install/install/gtk.pm +++ b/perl-install/install/gtk.pm @@ -1,3 +1,4 @@ +#!/usr/bin/perl -d package install::gtk; # $Id$ use diagnostics; @@ -67,7 +68,7 @@ sub load_rc { sub load_font { my ($o) = @_; - if (lang::text_direction_rtl()) { + if (defined($::WizardWindow) && lang::text_direction_rtl()) { Gtk2::Widget->set_default_direction('rtl'); my ($x, $y) = $::WizardWindow->get_position; my ($width) = $::WizardWindow->get_size; |