equal
deleted
inserted
replaced
188 // information about the application to be uninstalled. |
188 // information about the application to be uninstalled. |
189 // |
189 // |
190 // @since 3.1 |
190 // @since 3.1 |
191 // ============================================================================ |
191 // ============================================================================ |
192 // |
192 // |
193 TBool CWidgetUIHandler::DisplayUninstallL( const TDesC& aWidgetName ) |
193 TBool CWidgetUIHandler::DisplayUninstallL( const TDesC& aWidgetName , TBool aWidgetinHomeScreen ) |
194 { |
194 { |
195 iShowingDialog = ETrue; |
195 iShowingDialog = ETrue; |
196 |
196 |
197 // Close the preparing wait dialog |
197 // Close the preparing wait dialog |
198 iCommonDialogs->CloseWaitDialogL(); |
198 iCommonDialogs->CloseWaitDialogL(); |
199 |
199 |
200 TBool result( EFalse ); |
200 TBool result( EFalse ); |
201 |
201 |
202 HBufC* prompt = StringLoader::LoadLC( R_WIDGETUI_UNINSTALL_PROMPT, aWidgetName ); |
202 HBufC* prompt = StringLoader::LoadLC( aWidgetinHomeScreen ? R_WIDGETUI_UNINSTALL_HS_PROMPT : |
|
203 R_WIDGETUI_UNINSTALL_PROMPT , aWidgetName ); |
|
204 |
203 if ( iCommonDialogs->ShowConfirmationQueryL( *prompt, R_AVKON_SOFTKEYS_YES_NO ) ) |
205 if ( iCommonDialogs->ShowConfirmationQueryL( *prompt, R_AVKON_SOFTKEYS_YES_NO ) ) |
204 { |
206 { |
205 result = ETrue; |
207 result = ETrue; |
206 } |
208 } |
207 else |
209 else |