Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54529 - in /trunk/support: VERSION package/yast2-support.changes src/Support.ycp
  • From: varkoly@xxxxxxxxxxxxxxxx
  • Date: Fri, 09 Jan 2009 18:10:47 -0000
  • Message-id: <E1LLLol-0004Dg-MT@xxxxxxxxxxxxxxxx>
Author: varkoly
Date: Fri Jan 9 19:10:47 2009
New Revision: 54529

URL: http://svn.opensuse.org/viewcvs/yast?rev=54529&view=rev
Log:
bnc#447588 - remove progress dialog on start of support module

Modified:
trunk/support/VERSION
trunk/support/package/yast2-support.changes
trunk/support/src/Support.ycp

Modified: trunk/support/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/support/VERSION?rev=54529&r1=54528&r2=54529&view=diff
==============================================================================
--- trunk/support/VERSION (original)
+++ trunk/support/VERSION Fri Jan 9 19:10:47 2009
@@ -1 +1 @@
-2.17.18
+2.17.19

Modified: trunk/support/package/yast2-support.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/support/package/yast2-support.changes?rev=54529&r1=54528&r2=54529&view=diff
==============================================================================
--- trunk/support/package/yast2-support.changes (original)
+++ trunk/support/package/yast2-support.changes Fri Jan 9 19:10:47 2009
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Fri Jan 9 19:10:23 CET 2009 - varkoly@xxxxxxx
+
+- bnc#447588 - remove progress dialog on start of support module
+
+-------------------------------------------------------------------
Tue Nov 25 16:27:30 CET 2008 - mzugec@xxxxxxx

- added VAR_OPTION_GPG_UID support (bnc#445310)

Modified: trunk/support/src/Support.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/support/src/Support.ycp?rev=54529&r1=54528&r2=54529&view=diff
==============================================================================
--- trunk/support/src/Support.ycp (original)
+++ trunk/support/src/Support.ycp Fri Jan 9 19:10:47 2009
@@ -244,52 +244,20 @@
/* Support read dialog caption */
string caption = _("Initializing support Configuration");

- // TODO FIXME Set the right number of stages
- integer steps = 2;
-
- integer sl = 500;
- sleep(sl);
-
- // TODO FIXME Names of real stages
- // We do not set help text here, because it was set outside
- Progress::New( caption, " ", steps, [
- /* Progress stage 1/3 */
- _("Read the configuration")
- ], [
- /* Progress step 1/3 */
- _("Reading the database..."),
- /* Progress step 2/3 */
- _("Reading the previous settings..."),
- /* Progress step 3/3 */
- _("Detecting the devices..."),
- /* Progress finished */
- _("Finished")
- ],
- ""
- );
-
- // read database
- if(Abort()) return false;
- Progress::NextStage();
configuration = (map)SCR::Read(.etc.supportconfig.all);
foreach(map<string, any> row, configuration["value"]:[], {
options[row["name"]:""]=row["value"]:"";
});
/* Error message */
if(false) Report::Error(Message::CannotReadCurrentSettings());
- sleep(sl);
-

// read current settings
- if(Abort()) return false;
- Progress::NextStage();
if (PackageSystem::Installed("MozillaFirefox")) browser="firefox";
else if
(PackageSystem::Installed("kde4-konqueror")||PackageSystem::Installed("kdebase3"))
browser="konqueror";
else if (PackageSystem::Installed("opera")) browser="opera";
else y2error("Couldn't find any supported browser installed.");
/* Error message */
if(false) Report::Error(Message::CannotReadCurrentSettings());
- sleep(sl);

if(Abort()) return false;
log_files=$[ "tmp_dir":(string)SCR::Read(.target.tmpdir) ];

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages