diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-08-04 05:23:46 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-08-04 05:23:46 +0000 |
commit | 8649f571217683ebc5db31757f4f58173a7b6bbe (patch) | |
tree | 91039d52a315cb0dcb4b1192299da2f7436de0fc | |
parent | a61ded9584f35a328aa0a0bfce96713102df910b (diff) | |
download | drakx-8649f571217683ebc5db31757f4f58173a7b6bbe.tar drakx-8649f571217683ebc5db31757f4f58173a7b6bbe.tar.gz drakx-8649f571217683ebc5db31757f4f58173a7b6bbe.tar.bz2 drakx-8649f571217683ebc5db31757f4f58173a7b6bbe.tar.xz drakx-8649f571217683ebc5db31757f4f58173a7b6bbe.zip |
fix progress bar color
-rwxr-xr-x | perl-install/standalone/draksplash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/draksplash b/perl-install/standalone/draksplash index 6699bf5e2..f432e1bcf 100755 --- a/perl-install/standalone/draksplash +++ b/perl-install/standalone/draksplash @@ -182,7 +182,7 @@ sub choose_color() { $color->cancel_button->signal_connect(clicked => sub { $color->destroy }); $color->ok_button->signal_connect(clicked => sub { my $colour = $color->colorsel->get_current_color; - $theme{conf}{pc} = "0x" . join('', map { print "$_\n"; sprintf("%x", $_*255) } $colour->red, $colour->green, $colour->blue); + $theme{conf}{pc} = "0x" . join('', map { sprintf("%x", $_/255) } $colour->red, $colour->green, $colour->blue); $color->destroy; }); } |