summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdrakpxelinux.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl
index 96005ed..12a4167 100755
--- a/drakpxelinux.pl
+++ b/drakpxelinux.pl
@@ -472,8 +472,7 @@ sub edit_box_item {
my $label = Gtk3::Label->new($entry->{label});
# my $oldlabel = $label;
- my $info = Gtk3::Entry->new;
- $info->set_text($entry->{info});
+ my $info = gtknew('Entry', text => $entry->{info} || '');
# $info->set_sensitive(0);
set_help_tip($info, 'info');