[yast-commit] r48512 - in /branches/tmp/aschnell/part-redesign/storage/src/include: ep-dialogs.ycp ep-hd-dialogs.ycp ep-hd-lib.ycp ep-lvm-dialogs.ycp
Author: aschnell Date: Tue Jun 24 17:13:20 2008 New Revision: 48512 URL: http://svn.opensuse.org/viewcvs/yast?rev=48512&view=rev Log: - better dialog heading 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 Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/sto... ============================================================================== --- branches/tmp/aschnell/part-redesign/storage/src/include/ep-dialogs.ycp (original) +++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-dialogs.ycp Tue Jun 24 17:13:20 2008 @@ -465,7 +465,7 @@ } - map<symbol, any> DlgResize(symbol flavour) + map<symbol, any> DlgResize(string device, symbol flavour) { integer lv_used = 3500; integer lv_free = 7000; @@ -489,14 +489,14 @@ if (flavour == `part) { // Heading for dialog - heading = _("Resize Partition"); + heading = sformat(_("Resize Partition %1"), device); // TODO: see texts in inst_custom_part.ycp } else if (flavour == `lv) { // Heading for dialog - heading = _("Resize Logical Volume"); + heading = sformat(_("Resize Logical Volume %1"), device); // Labels for bar graph. "%1" will be replace with a numeric value. bargraph_label_lv_used = _("LV\nUsed\n%1") + unit; 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/sto... ============================================================================== --- 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 Tue Jun 24 17:13:20 2008 @@ -153,6 +153,6 @@ void DlgResizePartition(string device) { - DlgResize(`part); + DlgResize(device, `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/sto... ============================================================================== --- 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 Tue Jun 24 17:13:20 2008 @@ -69,7 +69,7 @@ symbol mby = data["mountby"]:Storage::GetMountBy(data["device"]:""); Storage::CreatePartition(data["disk_device"]:"", data["device"]:"", - data["type"]:`primary, + data["type"]:`primary, data["fsid"]:Partitions::fsid_native, data["region",0]:0, data["region",1]:0, mby); Storage::ChangeVolumeProperties(data); @@ -90,12 +90,12 @@ } } - + void EpResizePartition(string device) { - DlgResize(`part); + DlgResizePartition(device); } - + void EpDeletePartition(string device) { 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/sto... ============================================================================== --- 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 Tue Jun 24 17:13:20 2008 @@ -316,6 +316,6 @@ void DlgResizeLogicalVolumeNew(string device) { - DlgResize(`lv); + DlgResize(device, `lv); } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org