Author: aschnell Date: Mon Jan 18 12:13:47 2010 New Revision: 60427 URL: http://svn.opensuse.org/viewcvs/yast?rev=60427&view=rev Log: - show textual error messages during commit (bnc #546012) Modified: trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/modules/StorageClients.ycp Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=60427&r1=60426&r2=60427&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Mon Jan 18 12:13:47 2010 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Jan 18 11:53:51 CET 2010 - aschnell@suse.de + +- show textual error messages during commit (bnc #546012) + +------------------------------------------------------------------- Fri Jan 15 11:42:55 CET 2010 - aschnell@suse.de - implemented popup to query user whether to ignore failures during Modified: trunk/storage/storage/src/modules/StorageClients.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/StorageClients.ycp?rev=60427&r1=60426&r2=60427&view=diff ============================================================================== --- trunk/storage/storage/src/modules/StorageClients.ycp (original) +++ trunk/storage/storage/src/modules/StorageClients.ycp Mon Jan 18 12:13:47 2010 @@ -15,8 +15,15 @@ import "SlideShow"; import "StorageCallbacks"; + import "LibStorage"; + import "LibStorage::StorageInterface"; + textdomain "storage"; + + any sint = nil; + + boolean enable_popup = false; list<string> texts = []; @@ -84,6 +91,12 @@ string text = _("Failure occurred during following action:") + "\n" + last_action + "\n\n"; + string tmp = LibStorage::StorageInterface::getErrorString(sint, error); + if (!isempty(tmp)) + { + text = text + tmp + "\n\n"; + } + text = text + sformat(_("System error code was: %1"), error) + "\n\n"; if (!isempty(extended_message)) @@ -131,9 +144,12 @@ } -global void InstallCallbacks(any sint) +global void InstallCallbacks(any value) { y2milestone( "InstallCallbacks" ); + + sint = value; + StorageCallbacks::ProgressBar("StorageClients::ProgressBar"); StorageCallbacks::ShowInstallInfo("StorageClients::ShowInstallInfo"); StorageCallbacks::InfoPopup("StorageClients::InfoPopup"); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org