[yast-commit] r54297 - in /trunk/tv: package/yast2-tv.changes src/Tv.ycp src/ui.ycp
Author: lslezak Date: Fri Dec 19 14:56:29 2008 New Revision: 54297 URL: http://svn.opensuse.org/viewcvs/yast?rev=54297&view=rev Log: - removed the progress dialog at start up (bnc#447571) Modified: trunk/tv/package/yast2-tv.changes trunk/tv/src/Tv.ycp trunk/tv/src/ui.ycp Modified: trunk/tv/package/yast2-tv.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/tv/package/yast2-tv.changes?rev=54297&r1=54296&r2=54297&view=diff ============================================================================== --- trunk/tv/package/yast2-tv.changes (original) +++ trunk/tv/package/yast2-tv.changes Fri Dec 19 14:56:29 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri Dec 19 14:55:25 CET 2008 - lslezak@suse.cz + +- removed the progress dialog at start up (bnc#447571) + +------------------------------------------------------------------- Thu Dec 18 09:38:14 CET 2008 - lslezak@suse.cz - install additional packages automatically when Modified: trunk/tv/src/Tv.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/tv/src/Tv.ycp?rev=54297&r1=54296&r2=54297&view=diff ============================================================================== --- trunk/tv/src/Tv.ycp (original) +++ trunk/tv/src/Tv.ycp Fri Dec 19 14:56:29 2008 @@ -3437,66 +3437,31 @@ // Title of initialization dialog string caption = _("Initializing TV and Radio Card Configuration"); - // Set the right number of stages - // 1+2: Read databases (tv, tuner) - // 3: Read the settings - // 4: Detect - integer no_of_steps = 4; - - // We do not set help text here, because it was set outside - Progress::New ( caption, " ", no_of_steps, - // Progress stage - [ _("Read the database"), - // Progress stage - _("Read the previous settings"), - // Progress stage - _("Detect the devices") ], - // Progress step - [ _("Reading the database..."), - // Progress step - _("Reading the previous settings..."), - // Progress step - _("Detecting the devices..."), - // Progress step - _("Finished") ], - "" ); - - // Read the databases - Progress::NextStage (); - if ( !ReadCardsDatabase() || eval (abort) ) + if ( !ReadCardsDatabase() ) { return false; } - Progress::NextStep (); - if ( !ReadTunersDatabase() || eval (abort) ) + if ( !ReadTunersDatabase() ) { return false; } - // Read the previous settings - Progress::NextStage (); - if ( !ReadSettings() || eval (abort) ) + if ( !ReadSettings() ) { return false; } - // Detect the devices - Progress::NextStage (); - if ( !Detect() || eval (abort) ) + if ( !Detect() ) { return false; } - ReadIRC(); // TODO add progress + ReadIRC(); tmpdir = (string) SCR::Read(.target.tmpdir); - // TODO add progress InitializeStationsConfig (); - // increase the progress to "finish" - Progress::NextStage (); - y2milestone("All cards (read & detected): %1", cards); return true; Modified: trunk/tv/src/ui.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/tv/src/ui.ycp?rev=54297&r1=54296&r2=54297&view=diff ============================================================================== --- trunk/tv/src/ui.ycp (original) +++ trunk/tv/src/ui.ycp Fri Dec 19 14:56:29 2008 @@ -16,7 +16,6 @@ import "Label"; import "Package"; import "Popup"; -import "Progress"; import "Sequencer"; import "String"; import "Summary"; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn.opensuse.org