--- a/idlehomescreen/xmluirendering/uiengine/src/xneditor.cpp Fri Jan 22 09:35:14 2010 +0200
+++ b/idlehomescreen/xmluirendering/uiengine/src/xneditor.cpp Tue Jan 26 11:48:23 2010 +0200
@@ -820,8 +820,16 @@
if( plugin.Removable() )
{
- TRAP_IGNORE( iViewManager.UnloadWidgetFromPluginL( plugin ) );
- }
+ TRAPD( err, err = iViewManager.UnloadWidgetFromPluginL( plugin ) );
+
+ if ( err != KErrNone )
+ {
+ HBufC* msg = StringLoader::LoadLC(
+ R_QTN_HS_OPERATION_FAILED_NO_DISK );
+ ShowErrorNoteL( *msg );
+ CleanupStack::PopAndDestroy( msg );
+ }
+ }
}
// ---------------------------------------------------------------------------