diff options
-rwxr-xr-x | control-center | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/control-center b/control-center index 4baaebd4..e8314014 100755 --- a/control-center +++ b/control-center @@ -1453,7 +1453,6 @@ sub about_mga_cc() { my ($previous_type, $not_first_title, $not_first_block); my $locale = lang::read; - require Gtk2::Pango; foreach my $line (grep { $_ ne "\n" && !/^#/ } cat_(top(glob("/usr/share/doc/mageia-release-*/CREDITS"), glob("/usr/share/doc/mageia-release-*/CREDITS.$locale->{lang}")))) { if (my ($type, $comment, $contributor) = split(/\|/, $line, 3)) { last if !$type; @@ -1461,7 +1460,7 @@ sub about_mga_cc() { chomp($contributor); if ($previous_type ne $type) { gtktext_append($credits, [ [ join('', if_($not_first_title, "\n"), translate(common::to_utf8($type)), "\n"), - { 'weight' => Gtk2::Pango->PANGO_WEIGHT_BOLD, scale => Gtk2::Pango->scale_large } ] ]); + { 'weight' => Pango->PANGO_WEIGHT_BOLD, scale => Gtk2::Pango->scale_large } ] ]); $previous_type = $type; $not_first_title = 1; } |