[yast-commit] r60220 - /trunk/storage/storage/src/include/ep-hd.ycp
Author: aschnell
Date: Mon Jan 4 15:51:00 2010
New Revision: 60220
URL: http://svn.opensuse.org/viewcvs/yast?rev=60220&view=rev
Log:
- use SplitDevice function
Modified:
trunk/storage/storage/src/include/ep-hd.ycp
Modified: trunk/storage/storage/src/include/ep-hd.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-hd.ycp?rev=60220&r1=60219&r2=60220&view=diff
==============================================================================
--- trunk/storage/storage/src/include/ep-hd.ycp (original)
+++ trunk/storage/storage/src/include/ep-hd.ycp Mon Jan 4 15:51:00 2010
@@ -53,6 +53,7 @@
}
}
+
term HdButtonBox()
{
return `HBox(
@@ -65,37 +66,48 @@
);
}
+
void HandleHdButtons( any user_data, string device, map event )
{
- string disk = "";
+ string disk_device = "";
boolean is_disk = false;
if (user_data == nil)
{
- map dev = Storage::GetDiskPartition( device );
- disk = (string) dev["disk"]:nil;
- // FIXME: is this necessary & sufficient condition?
- is_disk = dev["nr"]:nil == "";
+ map disk = nil;
+ map part = nil;
+
+ map
participants (1)
-
aschnell@svn.opensuse.org