summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index fb71a595f..31d828c9c 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -420,7 +420,7 @@ sub ask_fromW {
$set = sub { $w->set($_[0]) };
$width = length ${$e->{val}};
} elsif ($e->{type} eq 'button') {
- $w = Gtk2::Button->new('');
+ $w = Gtk2::Button->new_with_label('');
$w->signal_connect(clicked => sub {
$get_all->();
$mainw->{rwindow}->hide;