--- a/contentstorage/casrv/cawidgetscanner/src/cawidgetscannerparser.cpp Fri Mar 19 09:35:23 2010 +0200
+++ b/contentstorage/casrv/cawidgetscanner/src/cawidgetscannerparser.cpp Fri Apr 16 15:16:09 2010 +0300
@@ -280,7 +280,7 @@
}
// ----------------------------------------------------------------------------
-//
+// keep in mind that setLibrary also setsPath
// ----------------------------------------------------------------------------
//
void CCaWidgetScannerParser::SetLibraryL( TXmlEngElement & aElement,
@@ -293,6 +293,10 @@
if( attributeValue->Compare( KNullDesC ) != 0 )
{
HBufC *libraryPath = GetManifestDirectoryPathLC( aPackageUid );
+
+ //set path for hs to use, trim last 2 chars (doubleslash)
+ aWidget->SetPathL(libraryPath->Mid(0,libraryPath->Length()-1));
+
libraryPath->ReAllocL(
libraryPath->Length() + attributeValue->Length());