Mailinglist Archive: yast-commit (883 mails)

< Previous Next >
[yast-commit] r57935 - /trunk/storage/storage/src/inst_disk_proposal.ycp
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Wed, 08 Jul 2009 12:47:20 -0000
  • Message-id: <E1MOWYS-0004PK-IT@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Wed Jul 8 14:47:20 2009
New Revision: 57935

URL: http://svn.opensuse.org/viewcvs/yast?rev=57935&view=rev
Log:
- removed some unused code
- some cleanup

Modified:
trunk/storage/storage/src/inst_disk_proposal.ycp

Modified: trunk/storage/storage/src/inst_disk_proposal.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/inst_disk_proposal.ycp?rev=57935&r1=57934&r2=57935&view=diff
==============================================================================
--- trunk/storage/storage/src/inst_disk_proposal.ycp (original)
+++ trunk/storage/storage/src/inst_disk_proposal.ycp Wed Jul 8 14:47:20 2009
@@ -192,9 +192,6 @@
);


-// Frame description in suggested partition for mode accept modify ..
-//bframe = `HCenter( `Frame( _("Partitioning"), `HVSquash( bframe ) ));
-
term contents =
`VBox(
`VSpacing(0.5),
@@ -257,8 +254,6 @@
if( Stage::initial () )
Wizard::SetTitleIcon( "yast-partitioning" );

- any r = nil;
-
repeat
{
symbol old_mode = (symbol)UI::QueryWidget( `id("prop_mode"),
@@ -276,10 +271,18 @@
if( AskOverwriteChanges() )
{
target_is = "SUGGESTION";
- if( ret==`lvm )
- StorageProposal::SetProposalLvm(true);
- else
- StorageProposal::SetProposalLvm(false);
+
+ switch (ret)
+ {
+ case `part:
+ StorageProposal::SetProposalLvm(false);
+ break;
+
+ case `lvm:
+ StorageProposal::SetProposalLvm(true);
+ break;
+ }
+
Storage::ResetOndiskTarget();
Storage::AddMountPointsForWin(Storage::GetTargetMap());
map prop =
StorageProposal::get_inst_prop(Storage::GetTargetMap());

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

< Previous Next >
This Thread
  • No further messages