summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center4
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center
index 652cb311..6ef59255 100755
--- a/control-center
+++ b/control-center
@@ -1068,8 +1068,8 @@ $wait_darea->signal_connect(draw => sub {
$w->{text_xx} = $w->{pix_xx} + $w->{pix_height} + 5;
}
$pixbuf->render_to_drawable($w->get_window, $w->get_style->fg_gc('normal'), 0, 0, $w->{pix_yy}, $w->{pix_xx}, $w->{pix_width}, $w->{pix_height}, 'normal', 0, 0);
- my $style = $wait_darea->{style} ||= $wait_darea->get_style;
- $wait_darea->get_window->draw_layout($style->text_gc('normal'), $w->{text_yy}, $w->{text_xx}, $w->{layout});
+ $cr->move_to($w->{text_yy}, $w->{text_xx});
+ Pango::Cairo::show_layout($cr, $w->{layout});
$run_counter += $run_counter_add;
$run_counter_add = -$run_counter_add if $run_counter < 100 || 255-$run_counter_add < $run_counter;
});