From c150ee4670ed574e2de4ecc45eca1c08eccdb544 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 21 Oct 2008 13:49:08 +0000 Subject: split out width out of upgrade_distro_congratulations() (fix latest commit, needed for next one) --- mdkapplet-upgrade-helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdkapplet-upgrade-helper') diff --git a/mdkapplet-upgrade-helper b/mdkapplet-upgrade-helper index e859a20b..eda7c4ae 100755 --- a/mdkapplet-upgrade-helper +++ b/mdkapplet-upgrade-helper @@ -107,6 +107,7 @@ sub run_gurpmi() { } } +my $width = 500; my @common = ( # explicitely wrap (for 2008.1): line_wrap => 1, @@ -123,7 +124,6 @@ sub upgrade_failed() { sub upgrade_distro_congratulations() { local $mygtk2::left_padding = 0; - my $width = 500; my $w = ugtk2->new(N("Congratulations")); gtkadd($w->{window}, gtknew('VBox', children_tight => [ -- cgit v1.2.1