equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: A view to browse a user's list of feeds. |
14 * Description: A view to browse a user's list of feeds. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
|
18 #include <Browser_platform_variant.hrh> |
18 #include <AknNavi.h> |
19 #include <AknNavi.h> |
19 #include <AknNaviDe.h> |
20 #include <AknNaviDe.h> |
20 #include <AknNaviLabel.h> |
21 #include <AknNaviLabel.h> |
21 #include <akniconarray.h> |
22 #include <akniconarray.h> |
22 #include <aknlists.h> |
23 #include <aknlists.h> |
53 #include "ApiProvider.h" |
54 #include "ApiProvider.h" |
54 #include "Display.h" |
55 #include "Display.h" |
55 #include "BrowserAppUi.h" |
56 #include "BrowserAppUi.h" |
56 #include "BrowserDialogs.h" |
57 #include "BrowserDialogs.h" |
57 #include "BrowserUtil.h" |
58 #include "BrowserUtil.h" |
58 |
59 #include <AknUtils.h> |
59 // It's also the size of the icon array without favicon |
60 // It's also the size of the icon array without favicon |
60 const TInt KFirstFaviconIndex = 6; |
61 const TInt KFirstFaviconIndex = 6; |
61 const TInt KDateSize = 30; // Size of Date strings |
62 const TInt KDateSize = 30; // Size of Date strings |
62 const TInt KTimeSize = 30; // Size of Time strings |
63 const TInt KTimeSize = 30; // Size of Time strings |
63 |
64 |
347 { |
348 { |
348 HandleSelectionL(); |
349 HandleSelectionL(); |
349 } |
350 } |
350 } |
351 } |
351 // Toolbar buttons status should be changed when focus is moved from feed to folder or viceversa |
352 // Toolbar buttons status should be changed when focus is moved from feed to folder or viceversa |
352 else if(aEventType == MEikListBoxObserver::EEventItemClicked) |
353 else if ( (aEventType == MEikListBoxObserver::EEventItemClicked) |
|
354 #ifdef BRDO_TOUCH_ENABLED_FF |
|
355 ||(aEventType == MEikListBoxObserver::EEventFlickStopped) |
|
356 #endif // BRDO_TOUCH_ENABLED_FF |
|
357 ) |
353 { |
358 { |
354 UpdateToolbarButtonsState(); |
359 UpdateToolbarButtonsState(); |
355 } |
360 } |
356 } |
361 } |
357 |
362 |
1565 HBufC* dateFormat = iEikonEnv->AllocReadResourceLC( R_QTN_DATE_USUAL_WITH_ZERO ); |
1570 HBufC* dateFormat = iEikonEnv->AllocReadResourceLC( R_QTN_DATE_USUAL_WITH_ZERO ); |
1566 date.FormatL( temp, *dateFormat ); |
1571 date.FormatL( temp, *dateFormat ); |
1567 CleanupStack::PopAndDestroy( dateFormat );//dateFormat |
1572 CleanupStack::PopAndDestroy( dateFormat );//dateFormat |
1568 // |
1573 // |
1569 timestamp.Append(temp); |
1574 timestamp.Append(temp); |
|
1575 // Convert to locale specific numbers |
|
1576 if (TBidiText::ERightToLeft == AknTextUtils::CurrentScriptDirectionality ()) |
|
1577 { |
|
1578 AknTextUtils::DisplayTextLanguageSpecificNumberConversion(timestamp); |
|
1579 } |
1570 } |
1580 } |
1571 |
1581 |
1572 // If there is a favicon for this url then add it to the icon list |
1582 // If there is a favicon for this url then add it to the icon list |
1573 // set the icon's index. |
1583 // set the icon's index. |
1574 TPtrC url; |
1584 TPtrC url; |