summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-08 09:50:16 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-08 09:50:16 +0000
commit398d2b57fd63e7406699cd82061dded2b4ea60f2 (patch)
treeb86719aad6bf4a590d6fa44670c295801c1b4c6b /perl-install
parent8d99617171109765ed280714c0874347e4b17b1c (diff)
downloaddrakx-398d2b57fd63e7406699cd82061dded2b4ea60f2.tar
drakx-398d2b57fd63e7406699cd82061dded2b4ea60f2.tar.gz
drakx-398d2b57fd63e7406699cd82061dded2b4ea60f2.tar.bz2
drakx-398d2b57fd63e7406699cd82061dded2b4ea60f2.tar.xz
drakx-398d2b57fd63e7406699cd82061dded2b4ea60f2.zip
(make_boot_frame) fix crash on color switch
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/draksplash2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/draksplash b/perl-install/standalone/draksplash
index 22e511f3e..6670a205f 100755
--- a/perl-install/standalone/draksplash
+++ b/perl-install/standalone/draksplash
@@ -448,7 +448,7 @@ sub make_boot_frame() {
$boot_conf_frame{widgets}{button}{pc}->signal_connect(clicked => sub {
my $color = gtkshow(Gtk2::ColorSelectionDialog->new(N("ProgressBar color selection")));
my @rgb = map { hex($_)/255 } ($1, $2, $3) if $theme{boot_conf}{pc} =~ m/0x(.{2})(.{2})(.{2})/;
- $color->colorsel->set_current_color(Gtk2::Gdk::Color->new(@rgb));
+ $color->colorsel->set_current_color(gtkcolor(@rgb));
$color->cancel_button->signal_connect(clicked => sub { $color->destroy });
$color->ok_button->signal_connect(clicked => sub {
my $colour = $color->colorsel->get_current_color;