Mailinglist Archive: yast-commit (595 mails)

< Previous Next >
[yast-commit] r54001 - in /trunk/storage: package/yast2-storage.changes storage/src/modules/StorageSettings.ycp
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Tue, 09 Dec 2008 14:52:35 -0000
  • Message-id: <20081209145235.AB8DDB1197@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Tue Dec 9 15:52:35 2008
New Revision: 54001

URL: http://svn.opensuse.org/viewcvs/yast?rev=54001&view=rev
Log:
- show only last part of device name in navigation tree (bnc #450043)

Modified:
trunk/storage/package/yast2-storage.changes
trunk/storage/storage/src/modules/StorageSettings.ycp

Modified: trunk/storage/package/yast2-storage.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=54001&r1=54000&r2=54001&view=diff
==============================================================================
--- trunk/storage/package/yast2-storage.changes (original)
+++ trunk/storage/package/yast2-storage.changes Tue Dec 9 15:52:35 2008
@@ -1,9 +1,15 @@
-------------------------------------------------------------------
+Tue Dec 09 15:50:10 CET 2008 - aschnell@xxxxxxx
+
+- show only last part of device name in navigation tree (bnc
+ #450043)
+- 2.17.62
+
+-------------------------------------------------------------------
Tue Dec 09 13:24:36 CET 2008 - aschnell@xxxxxxx

- fixed defaultMountBy for partitions based on device-mapper
devices (bnc #438067)
-- 2.17.62

-------------------------------------------------------------------
Tue Dec 09 10:44:52 CET 2008 - aschnell@xxxxxxx

Modified: trunk/storage/storage/src/modules/StorageSettings.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/StorageSettings.ycp?rev=54001&r1=54000&r2=54001&view=diff
==============================================================================
--- trunk/storage/storage/src/modules/StorageSettings.ycp (original)
+++ trunk/storage/storage/src/modules/StorageSettings.ycp Tue Dec 9 15:52:35
2008
@@ -57,6 +57,10 @@
if (ret == "")
ret = data["device"]:"";

+ integer pos = findlastof(ret, "/");
+ if (pos != nil)
+ ret = substring(ret, pos + 1);
+
return ret;
}


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

< Previous Next >
This Thread
  • No further messages