diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-03-06 18:12:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-03-06 18:12:13 +0000 |
commit | fe28eb54283b5e81d9101a52bd104db6a0671fe3 (patch) | |
tree | 4e82c3c842669af1ed22059f045f0cbd87097fdb /perl-install/standalone/draksplash | |
parent | c10c0a84b5af117cfe09750a7d39c41e94756dc9 (diff) | |
download | drakx-backup-do-not-use-fe28eb54283b5e81d9101a52bd104db6a0671fe3.tar drakx-backup-do-not-use-fe28eb54283b5e81d9101a52bd104db6a0671fe3.tar.gz drakx-backup-do-not-use-fe28eb54283b5e81d9101a52bd104db6a0671fe3.tar.bz2 drakx-backup-do-not-use-fe28eb54283b5e81d9101a52bd104db6a0671fe3.tar.xz drakx-backup-do-not-use-fe28eb54283b5e81d9101a52bd104db6a0671fe3.zip |
- fix #1766
- do not crash when browsing
Diffstat (limited to 'perl-install/standalone/draksplash')
-rwxr-xr-x | perl-install/standalone/draksplash | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/draksplash b/perl-install/standalone/draksplash index 08e3036c2..4819698ad 100755 --- a/perl-install/standalone/draksplash +++ b/perl-install/standalone/draksplash @@ -13,7 +13,7 @@ my $true = 1; my $in = 'interactive'->vnew('su'); -my $window = ugtk2->new; +my $window = ugtk2->new('DrakSplash'); $window->{rwindow}->signal_connect(delete_event => \&CloseAppWindow); #- verification of package image magik @@ -159,8 +159,8 @@ $first{widgets}{combo}{res}->entry->signal_connect(changed => sub { #$first{widgets}{button}{boot_conf}->signal_connect(clicked => sub{show_act(\%boot_conf_frame) } ); #- image file selection for new theme $first{widgets}{button}{file}->signal_connect(clicked => sub { - my $file_dialog = new Gtk2::FileSelection('choose image'); - $file_dialog->set_filename($first{widgets}{label}{file}->get ne N("choose image file") ? $first{widgets}{label}{file}->get : '~/'); + my $file_dialog = new Gtk2::FileSelection(N("choose image")); + $file_dialog->set_filename($first{widgets}{label}{file}->get_text ne N("choose image file") ? $first{widgets}{label}{file}->get_text : '~/'); $file_dialog->cancel_button->signal_connect(clicked => sub { $file_dialog->destroy }); $file_dialog->ok_button->signal_connect(clicked => sub { $first{widgets}{label}{file}->set_text($file_dialog->get_filename); $file_dialog->destroy }); $file_dialog->show; |