summaryrefslogtreecommitdiffstats
path: root/time_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-09-06 22:33:30 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-09-06 22:33:30 +0000
commit1aa4b793424a8beab87837ba056292ffcdec75b4 (patch)
tree0e5be2d6e6a030160af50233c34b53efeed6de73 /time_wizard
parenta8b32ce3cf8a1f02abbb10b3ded7de41a411feb4 (diff)
downloaddrakwizard-1aa4b793424a8beab87837ba056292ffcdec75b4.tar
drakwizard-1aa4b793424a8beab87837ba056292ffcdec75b4.tar.gz
drakwizard-1aa4b793424a8beab87837ba056292ffcdec75b4.tar.bz2
drakwizard-1aa4b793424a8beab87837ba056292ffcdec75b4.tar.xz
drakwizard-1aa4b793424a8beab87837ba056292ffcdec75b4.zip
fix bug 18193 (pb with progressbar)
Diffstat (limited to 'time_wizard')
-rw-r--r--time_wizard/Ntp.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/time_wizard/Ntp.pm b/time_wizard/Ntp.pm
index f2cd178f..ff1d161f 100644
--- a/time_wizard/Ntp.pm
+++ b/time_wizard/Ntp.pm
@@ -27,6 +27,7 @@ use strict;
use common;
use services;
use MDK::Wizard::Wizcommon;
+use MDK::Wizard::Wizcommon_gtk2;
use timezone;
my $wiz = new MDK::Wizard::Wizcommon;
@@ -176,7 +177,7 @@ sub test {
return 'end';
}
my $command = "/usr/sbin/ntpdate -q $o->{var}{varserver1}"; # $o->{var}{varserver2}";
- my $o = wizard_progress_bar($command, "Test NTP server Responding...");
+ my $o = MDK::Wizard::Wizcommon_gtk2::wizard_progress_bar($command, "Test NTP server Responding...");
$o;
# system("/usr/sbin/ntpdate -q $o->{var}{varserver1} $o->{var}{varserver2}");
if (!($? >> 8)) {
@@ -209,7 +210,7 @@ sub do_it {
substInFile { s/(# server clock.via.net)/$1\nserver $o->{var}{varserver1}/ } '/etc/ntp.conf' if -f '/etc/ntp.conf';
standalone::explanations("Wrote /etc/ntp/step-tickers, starting services");
my $command = "service crond stop; service atd stop; service ntpd stop; service ntpd start; service atd start; service crond start; /sbin/hwclock --systohc --utc";
- wizard_progress_bar($command, "Configuring NTP, ATD and CROND services...");
+ MDK::Wizard::Wizcommon_gtk2::wizard_progress_bar($command, "Configuring NTP, ATD and CROND services...");
}
1;