Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54566 - in /trunk/installation: package/yast2-installation.changes src/clients/inst_proposal.ycp
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Tue, 13 Jan 2009 11:17:36 -0000
  • Message-id: <E1LMhH6-0003bb-G2@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Tue Jan 13 12:17:36 2009
New Revision: 54566

URL: http://svn.opensuse.org/viewcvs/yast?rev=54566&view=rev
Log:
- Adapted the inst_proposal to better reflect the current situation
'analyzing...' vs. 'adapting the proposal...' (bnc #463567).


Modified:
trunk/installation/package/yast2-installation.changes
trunk/installation/src/clients/inst_proposal.ycp

Modified: trunk/installation/package/yast2-installation.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/installation/package/yast2-installation.changes?rev=54566&r1=54565&r2=54566&view=diff
==============================================================================
--- trunk/installation/package/yast2-installation.changes (original)
+++ trunk/installation/package/yast2-installation.changes Tue Jan 13 12:17:36
2009
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jan 13 12:15:42 CET 2009 - locilka@xxxxxxx
+
+- Adapted the inst_proposal to better reflect the current situation
+ 'analyzing...' vs. 'adapting the proposal...' (bnc #463567).
+
+-------------------------------------------------------------------
Fri Dec 19 13:07:49 CET 2008 - locilka@xxxxxxx

- Pattern WBEM added into two server scenarios (bnc #458332).

Modified: trunk/installation/src/clients/inst_proposal.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/inst_proposal.ycp?rev=54566&r1=54565&r2=54566&view=diff
==============================================================================
--- trunk/installation/src/clients/inst_proposal.ycp (original)
+++ trunk/installation/src/clients/inst_proposal.ycp Tue Jan 13 12:17:36 2009
@@ -234,6 +234,8 @@
}
}

+ // BNC #463567
+ list <string> submods_already_called = [];

/**
* Call each submodule's MakeProposal() function in turn and display the
@@ -277,7 +279,22 @@
titles[no]:_("ERROR: Missing Title"));
}

- html[submod] = prop + HTML::Para( _("Analyzing your system..."));
+ // busy message
+ string message = "";
+
+ // BNC #463567
+ // Submod already called
+ if (contains (submods_already_called, submod)) {
+ // busy message
+ message = _("Adapting the proposal to the current settings...");
+ // First run
+ } else {
+ // busy message;
+ message = _("Analyzing your system...");
+ submods_already_called = add (submods_already_called, submod);
+ }
+
+ html[submod] = prop + HTML::Para (message);
no = no + 1;
});


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

< Previous Next >
This Thread
  • No further messages