diff options
Diffstat (limited to 'Rpmdrake/gurpm.pm')
-rw-r--r-- | Rpmdrake/gurpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gurpm.pm b/Rpmdrake/gurpm.pm index c7444c52..06cfd6b5 100644 --- a/Rpmdrake/gurpm.pm +++ b/Rpmdrake/gurpm.pm @@ -40,7 +40,7 @@ sub new { # size label's heigh to 2 lines in order to prevent dummy vertical resizing: my $context = $mainw->{label}->get_layout->get_context; my $metrics = $context->get_metrics($mainw->{label}->style->font_desc, $context->get_language); - $mainw->{label}->set_size_request(-1, 2 * Gtk2::Pango->PANGO_PIXELS($metrics->get_ascent + $metrics->get_descent)); + $mainw->{label}->set_size_request(-1, 2 * Pango->PANGO_PIXELS($metrics->get_ascent + $metrics->get_descent)); $mainw->{progressbar} = gtknew('ProgressBar'); gtkadd($mainw->{window}, $mainw->{vbox} = gtknew('VBox', spacing => 5, border_width => 6, children_tight => [ |