diff options
Diffstat (limited to 'control-center2')
-rwxr-xr-x | control-center2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center2 b/control-center2 index be4d5b83..47599211 100755 --- a/control-center2 +++ b/control-center2 @@ -108,7 +108,7 @@ my $pix_about = new Gtk::Pixmap ($pix_about_map, $pix_about_mask); $pix_about->set_alignment(10,0); $hbox1->pack_start($pix_about, 0, 1, 0); my $style = new Gtk::Style; -$style->font(Gtk::Gdk::Font->load(_("-adobe-times-bold-r-normal--*-180-100-100-p-*-iso8859-*,*-r-*"))); +$style->font(Gtk::Gdk::Font->fontset_load(_("-adobe-times-bold-r-normal--*-180-100-100-p-*-iso8859-*,*-r-*"))); my $label_about2 = new Gtk::Label (_("Mandrake Control Center")); $label_about2->set_alignment(0,0); $label_about2->set_style($style); @@ -134,7 +134,7 @@ my ($sysname, $nodename, $release, $version, $machine ) = POSIX::uname(); my $username= POSIX::cuserid(); my $style1 = new Gtk::Style; -$style1->font(Gtk::Gdk::Font->load(_("-adobe-times-bold-r-normal--*-100-100-100-p-*-iso8859-*,*-r-*"))); +$style1->font(Gtk::Gdk::Font->fontset_load(_("-adobe-times-bold-r-normal--*-100-100-100-p-*-iso8859-*,*-r-*"))); my $ld = new Gtk::Label("$username"); $table_info1->attach($ld, 1, 2, 0, 1, 0, 0, 0, 0); |