summaryrefslogtreecommitdiffstats
path: root/control-center
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-25 12:25:42 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-12-20 10:25:03 +0100
commit98bfa232a4a9808027fc36b9f2e8a9ef90259a56 (patch)
treed04c78215dad085204335e463a2d57c97a1b1562 /control-center
parent984936df056f6b903d5ae607f8acf7ac2d20f909 (diff)
downloadcontrol-center-98bfa232a4a9808027fc36b9f2e8a9ef90259a56.tar
control-center-98bfa232a4a9808027fc36b9f2e8a9ef90259a56.tar.gz
control-center-98bfa232a4a9808027fc36b9f2e8a9ef90259a56.tar.bz2
control-center-98bfa232a4a9808027fc36b9f2e8a9ef90259a56.tar.xz
control-center-98bfa232a4a9808027fc36b9f2e8a9ef90259a56.zip
fix weight attribute
Can't locate object method "PANGO_WEIGHT_BOLD" via package "Pango" at ./control-center line 1413.
Diffstat (limited to 'control-center')
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index a53a2db8..116dd734 100755
--- a/control-center
+++ b/control-center
@@ -1421,7 +1421,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' => Pango->PANGO_WEIGHT_BOLD, scale => Gtk3::Pango->scale_large } ] ]);
+ { 'weight' => 'bold', scale => Gtk3::Pango->scale_large } ] ]);
$previous_type = $type;
$not_first_title = 1;
}