X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=gtkconsole%2FText.pm;fp=gtkconsole%2FText.pm;h=8957da25b23aa983027788fb3f3f69c43a4e8cf6;hb=4c1a13aa8b495c7c2ec8d29d1ca48508f5f9a8ad;hp=f3b7debc53446551c8ee24f0ea49d9489ee8658e;hpb=2592f24e43c0417d0d314671c1986f7bdb9ee056;p=spider.git diff --git a/gtkconsole/Text.pm b/gtkconsole/Text.pm index f3b7debc..8957da25 100644 --- a/gtkconsole/Text.pm +++ b/gtkconsole/Text.pm @@ -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;