summaryrefslogtreecommitdiffstats
path: root/perl-install/install_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_gtk.pm')
-rw-r--r--perl-install/install_gtk.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index 9dac51447..f33495571 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -96,16 +96,14 @@ sub create_help_window {
if ($w = $o->{help_window}) {
$_->destroy foreach $w->{window}->children;
} else {
- $w = bless {}, 'my_gtk';
+ $w = $o->{help_window} = bless {}, 'my_gtk';
$w->{rwindow} = $w->{window} = new Gtk::Window;
$w->{rwindow}->set_uposition($::rootwidth - $::helpwidth, $::rootheight - $::helpheight);
$w->{rwindow}->set_usize($::helpwidth, $::helpheight);
$w->{rwindow}->set_title('skip');
- $w->sync;
};
gtkadd($w->{window}, createScrolledWindow($o->{help_window_text} = new Gtk::Text));
$w->show;
- $o->{help_window} = $w;
}
#------------------------------------------------------------------------------