diff options
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 1eb12adc6..11b0beabe 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -1426,6 +1426,11 @@ sub set_pixmap { my ($darea) = @_; return if !$darea->realized; ugtk2::set_back_pixbuf($darea, $darea->{back_pixbuf} || gtknew('Pixbuf', file => 'banner-background')); + update_text($darea); +} + +sub update_text { + my ($darea) = @_; $darea->{layout} = $darea->create_pango_layout($darea->{text}); $darea->{txt_width} = ($darea->{layout}->get_pixel_size)[0]; $darea->queue_draw; |