starting to crack this...
[spider.git] / gtkconsole / Text.pm
index f3b7debc53446551c8ee24f0ea49d9489ee8658e..8957da25b23aa983027788fb3f3f69c43a4e8cf6 100644 (file)
@@ -21,6 +21,9 @@ sub new
        
        my $font = Gtk::Gdk::Font->load("-misc-fixed-medium-r-normal-*-*-130-*-*-c-*-koi8-r");
        my $text = new Gtk::Text(undef,undef);
+       my $style = $text->style;
+       $style->font($font);
+       $text->set_style($style);
        $text->show;
        my $vscroll = new Gtk::VScrollbar($text->vadj);
        $vscroll->show;