Mailinglist Archive: yast-commit (553 mails)

< Previous Next >
[yast-commit] r59948 - /trunk/storage/storage/src/modules/Storage.ycp
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Fri, 04 Dec 2009 09:58:26 -0000
  • Message-id: <E1NGUvi-0002HY-Tk@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Fri Dec 4 10:58:26 2009
New Revision: 59948

URL: http://svn.opensuse.org/viewcvs/yast?rev=59948&view=rev
Log:
- use dumpCommitInfos() from libstorage

Modified:
trunk/storage/storage/src/modules/Storage.ycp

Modified: trunk/storage/storage/src/modules/Storage.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/Storage.ycp?rev=59948&r1=59947&r2=59948&view=diff
==============================================================================
--- trunk/storage/storage/src/modules/Storage.ycp (original)
+++ trunk/storage/storage/src/modules/Storage.ycp Fri Dec 4 10:58:26 2009
@@ -3715,7 +3715,6 @@
LibStorage::StorageInterface::getCommitInfos(sint, infos);
list<map> ret = maplist(any info, infos, {
return $[ `destructive :
LibStorage::CommitInfo::swig_destructive_get(info),
- `native : LibStorage::CommitInfo::swig_native_get(info),
`text : LibStorage::CommitInfo::swig_text_get(info) ];
});
return ret;
@@ -3726,16 +3725,7 @@

global string ChangeText()
{
- list<map> commit_infos = GetCommitInfos();
-
- list<string> natives = maplist(map info, commit_infos, {
- string native = String::EscapeTags(info[`native]:"");
- if (info[`destructive]:false)
- native = "<font color=red>" + native + "</font>";
- return native;
- });
-
- list<string> texts = maplist(map info, commit_infos, {
+ list<string> texts = maplist(map info, GetCommitInfos(), {
string text = String::EscapeTags(info[`text]:"");
if (info[`destructive]:false)
text = "<font color=red>" + text + "</font>";
@@ -3746,10 +3736,7 @@

if (ret != save_chtxt)
{
- foreach(string native, natives, {
- y2milestone("ChangeText %1", native);
- });
- save_chtxt = ret;
+ LibStorage::StorageInterface::dumpCommitInfos(sint);
}

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