From 771861e22516a38b7e3ac15bc63ec2fba3a4c4ac Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 10 Aug 2003 21:21:00 +0000 Subject: use Gtk2::Button->new_with_label instead of Gtk2::Button->new for some widgets otherwise underscores become underlines (bug #4678) --- perl-install/interactive/gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/interactive/gtk.pm') 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; -- cgit v1.2.1