Mailinglist Archive: yast-commit (870 mails)

< Previous Next >
[yast-commit] r49376 - in /branches/tmp/aschnell/part-redesign/storage/src/include: ep-dialogs.ycp ep-hd-dialogs.ycp ep-hd-lib.ycp ep-lvm-dialogs.ycp ep-lvm-lib.ycp
  • From: kmachalkova@xxxxxxxxxxxxxxxx
  • Date: Thu, 24 Jul 2008 09:23:42 -0000
  • Message-id: <20080724092343.0253056EFC@xxxxxxxxxxxxxxxx>
Author: kmachalkova
Date: Thu Jul 24 11:23:39 2008
New Revision: 49376

URL: http://svn.opensuse.org/viewcvs/yast?rev=49376&view=rev
Log:
Pass real device data to resize dialogs

Modified:
branches/tmp/aschnell/part-redesign/storage/src/include/ep-dialogs.ycp
branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd-dialogs.ycp
branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd-lib.ycp
branches/tmp/aschnell/part-redesign/storage/src/include/ep-lvm-dialogs.ycp
branches/tmp/aschnell/part-redesign/storage/src/include/ep-lvm-lib.ycp

Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-dialogs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-dialogs.ycp?rev=49376&r1=49375&r2=49376&view=diff
==============================================================================
--- branches/tmp/aschnell/part-redesign/storage/src/include/ep-dialogs.ycp
(original)
+++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-dialogs.ycp Thu
Jul 24 11:23:39 2008
@@ -308,8 +308,10 @@
}


- map<symbol, any> DlgResize(string device, symbol flavour)
+ map<symbol, any> DlgResize(map <string, any> &data , symbol flavour)
{
+
+ string device = data["device"]:"error";
integer lv_used = 3500;
integer lv_free = 7000;
integer lv_min_free = 10;

Modified:
branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd-dialogs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd-dialogs.ycp?rev=49376&r1=49375&r2=49376&view=diff
==============================================================================
--- branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd-dialogs.ycp
(original)
+++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd-dialogs.ycp
Thu Jul 24 11:23:39 2008
@@ -245,8 +245,8 @@
}


- void DlgResizePartition(string device)
+ void DlgResizePartition( map<string, any> data )
{
- DlgResize(device, `part);
+ DlgResize(data, `part);
}
}

Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd-lib.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd-lib.ycp?rev=49376&r1=49375&r2=49376&view=diff
==============================================================================
--- branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd-lib.ycp
(original)
+++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd-lib.ycp Thu
Jul 24 11:23:39 2008
@@ -209,7 +209,7 @@
return;
}

- DlgResizePartition(device);
+ DlgResizePartition(data);
}



Modified:
branches/tmp/aschnell/part-redesign/storage/src/include/ep-lvm-dialogs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-lvm-dialogs.ycp?rev=49376&r1=49375&r2=49376&view=diff
==============================================================================
--- branches/tmp/aschnell/part-redesign/storage/src/include/ep-lvm-dialogs.ycp
(original)
+++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-lvm-dialogs.ycp
Thu Jul 24 11:23:39 2008
@@ -539,8 +539,8 @@
}


- void DlgResizeLogicalVolumeNew(string device)
+ void DlgResizeLogicalVolumeNew(map <string, any> &data)
{
- DlgResize(device, `lv);
+ DlgResize(data, `lv);
}
}

Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-lvm-lib.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-lvm-lib.ycp?rev=49376&r1=49375&r2=49376&view=diff
==============================================================================
--- branches/tmp/aschnell/part-redesign/storage/src/include/ep-lvm-lib.ycp
(original)
+++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-lvm-lib.ycp Thu
Jul 24 11:23:39 2008
@@ -216,7 +216,10 @@
return;
}

- DlgResizeLogicalVolumeNew(device);
+ map<string, map> target_map = Storage::GetTargetMap();
+ map<string, any> data = Storage::GetPartition(target_map, device);
+
+ DlgResizeLogicalVolumeNew(data);
}



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

< Previous Next >
This Thread
  • No further messages