Author: aschnell
Date: Thu Aug 7 14:56:03 2008
New Revision: 49817
URL: http://svn.opensuse.org/viewcvs/yast?rev=49817&view=rev
Log:
- removed obsolete code
Modified:
trunk/storage/storage/src/inst_custom_part.ycp
trunk/storage/storage/src/modules/Storage.ycp
Modified: trunk/storage/storage/src/inst_custom_part.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/inst_custom_part.ycp?rev=49817&r1=49816&r2=49817&view=diff
==============================================================================
--- trunk/storage/storage/src/inst_custom_part.ycp (original)
+++ trunk/storage/storage/src/inst_custom_part.ycp Thu Aug 7 14:56:03 2008
@@ -57,7 +57,6 @@
include "partitioning/ep-main.ycp";
- boolean show_disk = true;
boolean edit_cylinder = true;
boolean bsd_label = false;
@@ -76,7 +75,6 @@
// -Button be shown in Expert menu
boolean test_mode = Mode::test ();
- string boot_mode = "fritz";
string focusline = "";
@@ -1906,34 +1904,9 @@
repeat
{
map tg = Storage::GetTargetMap();
- // table_list = FillPartitionList(tg);
- // UI::ChangeWidget(`id(`table), `Items, table_list);
-
- ///////////////////////////////////////////////////////
- // Now set the focus
- // (only for "show_disk" cause I use the disk line)
-
- if( show_disk )
- {
- UI::SetFocus( `id(`table));
- focusline = Storage::GetLastUsed();
- y2milestone( "focusline %1", focusline );
- if( size(focusline)>0 )
- {
- UI::ChangeWidget(`id(`table), `CurrentItem, focusline);
- }
- }
ret = (symbol)Wizard::UserInput();
- y2milestone( "USERINPUT: %1", ret);
-
- if( ret==`show_table_details )
- {
- continue;
- }
-
-
///////////////////////////////////////////////////////////////
//// EDIT
///////////////////////////////////////////////////////////////
@@ -2084,14 +2057,6 @@
}
/////////////////////////////////////////////////////////////
- // DELETE
- /////////////////////////////////////////////////////////////
- if (ret == `delete)
- {
- }
-
-
- /////////////////////////////////////////////////////////////
// RESIZE
/////////////////////////////////////////////////////////////
if (ret == `resize)
@@ -2336,8 +2301,6 @@
}
}
- Storage::SetLastUsed( focusline );
-
y2milestone( "end main loop ret %1 focusline %2", ret, focusline );
} until (ret == `next || ret == `back || ret == `cancel ||
ret == `raid_wizard || ret == `raid_settings ||
Modified: trunk/storage/storage/src/modules/Storage.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/Storage.ycp?rev=49817&r1=49816&r2=49817&view=diff
==============================================================================
--- trunk/storage/storage/src/modules/Storage.ycp (original)
+++ trunk/storage/storage/src/modules/Storage.ycp Thu Aug 7 14:56:03 2008
@@ -279,7 +279,6 @@
symbol custom_key = `custom;
boolean probe_done = false;
symbol exit_key = `next;
- string last_used = "";
any sint = nil;
list<map> conts = [];
@@ -1929,16 +1928,6 @@
return( exit_key );
};
-global define void SetLastUsed( string device )
- {
- if( size(device)>0 )
- last_used = device;
- }
-
-global define string GetLastUsed()
- {
- return( last_used );
- }
/**
* Finds and returns fstab entry
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org