From d1edcf705a0386524862f26721e1d1e1c3883032 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 5 Dec 2002 12:05:25 +0000 Subject: don't use anymore deprecated widgets --- perl-install/standalone/drakfont | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'perl-install/standalone/drakfont') diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont index 376fb2fd3..6c9bf78bc 100755 --- a/perl-install/standalone/drakfont +++ b/perl-install/standalone/drakfont @@ -840,7 +840,7 @@ Visual Interface: sub appli_choice { my $choice_box; - my $text = new Gtk2::Text; + my $text = new Gtk2::TextView; gtkpack( $font_box, $choice_box = gtkpack_( @@ -899,11 +899,9 @@ sub appli_choice { 1, gtktext_insert( gtkset_editable($text, 0), - N("Before installing any fonts, be sure that you have the right to use and install them on your system.\n\n-You can install the fonts using the normal way. In rare cases, bogus fonts may hang up your X Server.") + [ [ N("Before installing any fonts, be sure that you have the right to use and install them on your system.\n\n-You can install the fonts using the normal way. In rare cases, bogus fonts may hang up your X Server.") ] ] ), 0, - new Gtk2::VScrollbar($text->vadj), - 0, new Gtk2::VBox(0, 10), ), 0, -- cgit v1.2.1