Author: aschnell
Date: Wed Feb 15 16:24:13 2012
New Revision: 67449
URL: http://svn.opensuse.org/viewcvs/yast?rev=67449&view=rev
Log:
- removed unused parameter from FormatDisks
Modified:
trunk/s390/src/dasd/dialogs.ycp
trunk/s390/src/modules/DASDController.ycp
Modified: trunk/s390/src/dasd/dialogs.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/s390/src/dasd/dialogs.ycp?rev=67449&r1=67448&r2=67449&view=diff
==============================================================================
--- trunk/s390/src/dasd/dialogs.ycp (original)
+++ trunk/s390/src/dasd/dialogs.ycp Wed Feb 15 16:24:13 2012
@@ -445,7 +445,7 @@
list<string> devices = maplist (integer id, selected, {
return DASDController::devices[id, "dev_name"]:"";
});
- DASDController::FormatDisks (devices, par, write_vl, true);
+ DASDController::FormatDisks(devices, par, write_vl);
DASDController::ProbeDisks();
ReloadDASDDialog ();
UI::SetFocus (`table);
Modified: trunk/s390/src/modules/DASDController.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/s390/src/modules/DASDController.ycp?rev=67449&r1=67448&r2=67449&view=diff
==============================================================================
--- trunk/s390/src/modules/DASDController.ycp (original)
+++ trunk/s390/src/modules/DASDController.ycp Wed Feb 15 16:24:13 2012
@@ -32,17 +32,12 @@
global void ActivateDisk (string channel, boolean diag);
global void DeactivateDisk (string channel, boolean diag);
global void ProbeDisks ();
-global void FormatDisks (list<string> disks_list, integer par,
- boolean write_vl, boolean interactive);
+global void FormatDisks(list<string> disks_list, integer par, boolean write_vl);
global string GetPartitionInfo (string disk);
-
-boolean disk_configured = false;
+global boolean GetModified();
-/**
- * Prototypes
- */
-global boolean Modified();
+boolean disk_configured = false;
/**
@@ -60,7 +55,8 @@
* Abort function
* return boolean return true if abort
*/
-global boolean() AbortFunction = Modified;
+global boolean() AbortFunction = GetModified;
+
/**
* Abort function
@@ -93,7 +89,8 @@
* Is this kind of disk controller available?
* @return boolean true if it is
*/
-global boolean Available () {
+global boolean Available()
+{
return true;
}
@@ -124,7 +121,7 @@
{
ProbeDisks();
- if (Mode::config())
+ if (Mode::config()) // TODO
{
devices = mapmap(integer index, map