diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-06 07:02:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-06 07:02:25 +0000 |
commit | fa81e66591e507044dfdf0f82588b2f5e1624c82 (patch) | |
tree | e75c0f23457a64d20cfe3831ba067effd05531ce /perl-install | |
parent | 42f50a0b9aba74c1b2f0e61cec28b53bcda8b64f (diff) | |
download | drakx-fa81e66591e507044dfdf0f82588b2f5e1624c82.tar drakx-fa81e66591e507044dfdf0f82588b2f5e1624c82.tar.gz drakx-fa81e66591e507044dfdf0f82588b2f5e1624c82.tar.bz2 drakx-fa81e66591e507044dfdf0f82588b2f5e1624c82.tar.xz drakx-fa81e66591e507044dfdf0f82588b2f5e1624c82.zip |
(advanced_when) fix crash when selecting an entry in pull down menus
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/drakbackup | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/standalone/drakbackup b/perl-install/standalone/drakbackup index d6426e16b..59799b909 100755 --- a/perl-install/standalone/drakbackup +++ b/perl-install/standalone/drakbackup @@ -2189,11 +2189,11 @@ sub advanced_when() { $entry_crontab->set_text("$time_string $exec_string") } - $combo_minute_when->entry->signal_connect('changed', sub { combo_to_cron_string($combo_minute_when->get_history - 1, 0) }); - $combo_hour_when->entry->signal_connect('changed', sub { combo_to_cron_string($combo_hour_when->get_history - 1, 1) }); - $combo_day_when->entry->signal_connect('changed', sub { combo_to_cron_string($combo_day_when->get_history, 2) }); - $combo_month_when->entry->signal_connect('changed', sub { combo_to_cron_string($combo_month_when->get_history, 3) }); - $combo_weekday_when->entry->signal_connect('changed', sub { combo_to_cron_string($combo_weekday_when->get_history - 1, 4) }); + $combo_minute_when->entry->signal_connect('changed', sub { combo_to_cron_string($combo_minute_when->get_text - 1, 0) }); + $combo_hour_when->entry->signal_connect('changed', sub { combo_to_cron_string($combo_hour_when->get_text - 1, 1) }); + $combo_day_when->entry->signal_connect('changed', sub { combo_to_cron_string($combo_day_when->get_text, 2) }); + $combo_month_when->entry->signal_connect('changed', sub { combo_to_cron_string($combo_month_when->get_text, 3) }); + $combo_weekday_when->entry->signal_connect('changed', sub { combo_to_cron_string($combo_weekday_when->get_text - 1, 4) }); $entry_media_type->entry->signal_connect('changed', sub { $conf{DAEMON_MEDIA} = $entry_media_type->entry->get_text }); fonction_env(\$box_when, \&advanced_when, \&advanced_box); |