summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakroam
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-11 05:12:37 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-11 05:12:37 +0000
commit5e9ff63780a1ff7ef558f2cd22711a05cb777c49 (patch)
tree14dbdd53c3e06cb42efee2baa836d8b7b69df11a /perl-install/standalone/drakroam
parentd11528acf2c12cab3088d8dfea75d7e1b4ea5820 (diff)
downloaddrakx-backup-do-not-use-5e9ff63780a1ff7ef558f2cd22711a05cb777c49.tar
drakx-backup-do-not-use-5e9ff63780a1ff7ef558f2cd22711a05cb777c49.tar.gz
drakx-backup-do-not-use-5e9ff63780a1ff7ef558f2cd22711a05cb777c49.tar.bz2
drakx-backup-do-not-use-5e9ff63780a1ff7ef558f2cd22711a05cb777c49.tar.xz
drakx-backup-do-not-use-5e9ff63780a1ff7ef558f2cd22711a05cb777c49.zip
(Dialog) simplify: reuse create_scrolled_window()
Diffstat (limited to 'perl-install/standalone/drakroam')
-rwxr-xr-xperl-install/standalone/drakroam6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/standalone/drakroam b/perl-install/standalone/drakroam
index 0f06aa00c..1f1ccc3d4 100755
--- a/perl-install/standalone/drakroam
+++ b/perl-install/standalone/drakroam
@@ -331,11 +331,7 @@ my $content = join('', cat_($FilePointer));
my $AboutWindow = Gtk2::Dialog->new("Drakroam Info", $w->{window},
'destroy-with-parent',
'gtk-ok' => 'none');
-my $AboutLabel = Gtk2::Label->new($content);
-my $DialogScroll = Gtk2::ScrolledWindow->new;
-#$DialogScroll->set_policy('automatic', 'automatic');
-$DialogScroll->add_with_viewport($AboutLabel);
-$AboutWindow->vbox->add($DialogScroll);
+$AboutWindow->vbox->add(create_scrolled_window(Gtk2::Label->new($content)));
$AboutWindow->signal_connect(response => sub { $_[0]->destroy });
$AboutWindow->show_all;
}