equal
deleted
inserted
replaced
197 GLX_LOG_INFO("CGlxFetcher::LaunchL - Error: Unsupported media type, Leaving"); |
197 GLX_LOG_INFO("CGlxFetcher::LaunchL - Error: Unsupported media type, Leaving"); |
198 User::Leave( KErrNotSupported ); |
198 User::Leave( KErrNotSupported ); |
199 } |
199 } |
200 } |
200 } |
201 // create the dialog first |
201 // create the dialog first |
202 iDialog = |
202 iDialog = CGlxFetcherDialog::NewL(aSelectedFiles, iVerifier, iFilterType, |
203 CGlxFetcherDialog::NewL( aSelectedFiles, iVerifier ,iFilterType ,*iTitle, iIsMultiSelection ); |
203 *iTitle, iIsMultiSelection); |
204 // Returns zero when Fetcher is cancelled by User. |
204 // Returns zero when Fetcher is cancelled by User. |
205 |
205 |
206 if( iIsMultiSelection ) |
206 buttonId = iDialog->ExecuteLD( R_GLX_FETCHER_DIALOG ); |
207 { |
|
208 buttonId = iDialog->ExecuteLD( R_MODAL_MULTI_DIALOG ); |
|
209 } |
|
210 else |
|
211 { |
|
212 buttonId = iDialog->ExecuteLD( R_MODAL_SINGLE_DIALOG ); |
|
213 } |
|
214 // Return false if the fetcher was canceled by user |
207 // Return false if the fetcher was canceled by user |
215 return ( 0 != buttonId && aSelectedFiles.Count()!=0); |
208 return ( 0 != buttonId && aSelectedFiles.Count()!=0); |
216 } |
209 } |
217 |
210 |
218 // --------------------------------------------------------------------------- |
211 // --------------------------------------------------------------------------- |