idlehomescreen/xmluirendering/uiengine/src/xneditor.cpp
changeset 4 4d54b72983ae
parent 2 08c6ee43b396
child 5 c743ef5928ba
--- 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 );
+            }
+        }
     }
 
 // ---------------------------------------------------------------------------