diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-18 02:45:58 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-12-20 10:25:03 +0100 |
commit | d3c03b5b1992e028d1239e5f04a19edd04f85830 (patch) | |
tree | d5ade3ddfdc04cf131525bb8967383acd5938f96 | |
parent | 37f3b1c36446f1ec88293cfc0be1d41b6d627bb8 (diff) | |
download | control-center-d3c03b5b1992e028d1239e5f04a19edd04f85830.tar control-center-d3c03b5b1992e028d1239e5f04a19edd04f85830.tar.gz control-center-d3c03b5b1992e028d1239e5f04a19edd04f85830.tar.bz2 control-center-d3c03b5b1992e028d1239e5f04a19edd04f85830.tar.xz control-center-d3c03b5b1992e028d1239e5f04a19edd04f85830.zip |
NO more need to load Pango
-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; } |