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 /control-center3 | |
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 'control-center3')
-rwxr-xr-x | control-center3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/control-center3 b/control-center3 index 053064f7..19d9b70f 100755 --- a/control-center3 +++ b/control-center3 @@ -123,7 +123,7 @@ my $fixed1= new Gtk::Fixed(); $pix_about->set_alignment(10,0); $fixed1->put($pix_about, 0, 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 (_("The Mandrake Control Center")); $label_about2->set_alignment(0,0); $label_about2->set_style($style); @@ -144,7 +144,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 $label_user = new Gtk::Label(_("User: ")); $label_user->set_style($style1); @@ -248,7 +248,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 ); |