diff options
author | Pablo Saratxaga <pablo@mandriva.com> | 2001-02-16 16:50:20 +0000 |
---|---|---|
committer | Pablo Saratxaga <pablo@mandriva.com> | 2001-02-16 16:50:20 +0000 |
commit | f1980bd26a668be00ec2a156eefd045e8ae5e832 (patch) | |
tree | ceaa5f4bdd170f14813e4839226f05b315538cae /relcontrolcenter | |
parent | 717b2a5f64ec92aff26060d5beddfcababa9bd99 (diff) | |
download | control-center-f1980bd26a668be00ec2a156eefd045e8ae5e832.tar control-center-f1980bd26a668be00ec2a156eefd045e8ae5e832.tar.gz control-center-f1980bd26a668be00ec2a156eefd045e8ae5e832.tar.bz2 control-center-f1980bd26a668be00ec2a156eefd045e8ae5e832.tar.xz control-center-f1980bd26a668be00ec2a156eefd045e8ae5e832.zip |
fixed fontset calls
Diffstat (limited to 'relcontrolcenter')
-rwxr-xr-x | relcontrolcenter | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/relcontrolcenter b/relcontrolcenter index 777fdd68..d088b429 100755 --- a/relcontrolcenter +++ b/relcontrolcenter @@ -110,7 +110,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); @@ -136,7 +136,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--14-*-100-100-p-*-iso8859-*,*-r-*"))); +$style1->font(Gtk::Gdk::Font->fontset_load(_("-adobe-times-bold-r-normal--14-*-100-100-p-*-iso8859-*,*-r-*"))); my $ld = new Gtk::Label("$username"); $table_info1->attach($ld, 1, 2, 0, 1, 0, 0, 0, 0); @@ -223,7 +223,7 @@ sub about_mdk_cc() my $label = new Gtk::Label( _("Mandrake Control Center 1.0 \n Copyright (C) 2001 Mandrakesoft SA\n") ); my $style1 = new Gtk::Style; - $style1->font(Gtk::Gdk::Font->load(_("-adobe-times-bold-r-normal--14-*-100-100-p-*-iso8859-*,*-r-*"))); + $style1->font(Gtk::Gdk::Font->fontset_load(_("-adobe-times-bold-r-normal--14-*-100-100-p-*-iso8859-*,*-r-*"))); $label->set_style($style1); $window_about->vbox->pack_start( $label, $true, $true, 0 ); $label->show(); |