widgets/widgetinstaller/src/WidgetUIHandler.cpp
changeset 10 a359256acfc6
parent 0 dd21522fd290
child 48 79859ed3eea9
--- a/widgets/widgetinstaller/src/WidgetUIHandler.cpp	Fri Jul 03 15:54:40 2009 +0100
+++ b/widgets/widgetinstaller/src/WidgetUIHandler.cpp	Thu Aug 27 07:44:59 2009 +0300
@@ -190,7 +190,7 @@
 // @since 3.1
 // ============================================================================
 //
-TBool CWidgetUIHandler::DisplayUninstallL( const TDesC& aWidgetName )
+TBool CWidgetUIHandler::DisplayUninstallL( const TDesC& aWidgetName , TBool aWidgetinHomeScreen )
     {
     iShowingDialog = ETrue;
 
@@ -199,7 +199,9 @@
 
     TBool result( EFalse );
 
-    HBufC* prompt = StringLoader::LoadLC( R_WIDGETUI_UNINSTALL_PROMPT, aWidgetName );
+    HBufC* prompt = StringLoader::LoadLC( aWidgetinHomeScreen ? R_WIDGETUI_UNINSTALL_HS_PROMPT : 
+                                          R_WIDGETUI_UNINSTALL_PROMPT , aWidgetName );
+    
     if ( iCommonDialogs->ShowConfirmationQueryL( *prompt, R_AVKON_SOFTKEYS_YES_NO ) )
         {
         result = ETrue;