summaryrefslogtreecommitdiffstats
path: root/control-center3
diff options
context:
space:
mode:
Diffstat (limited to 'control-center3')
-rwxr-xr-xcontrol-center36
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 );