equal
deleted
inserted
replaced
12 * Contributors: |
12 * Contributors: |
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 |
|
18 |
17 |
19 #include <AknNavi.h> |
18 #include <AknNavi.h> |
20 #include <AknNaviDe.h> |
19 #include <AknNaviDe.h> |
21 #include <AknNaviLabel.h> |
20 #include <AknNaviLabel.h> |
22 #include <akniconarray.h> |
21 #include <akniconarray.h> |
408 void CFeedsFolderContainer::UpdateToolbarButtonsState() |
407 void CFeedsFolderContainer::UpdateToolbarButtonsState() |
409 { |
408 { |
410 TBool isFeed = EFalse; |
409 TBool isFeed = EFalse; |
411 TBool feedInFocus = EFalse; |
410 TBool feedInFocus = EFalse; |
412 |
411 |
413 __ASSERT_DEBUG( (iCurrentFolder != NULL), Util::Panic( Util::EUninitializedData )); |
|
414 |
412 |
415 if (iMoveActive || !iCurrentFolder) |
413 if (iMoveActive || !iCurrentFolder) |
416 { |
414 { |
417 return; |
415 return; |
418 } |
416 } |
648 void CFeedsFolderContainer::UpdateTitleL() |
646 void CFeedsFolderContainer::UpdateTitleL() |
649 { |
647 { |
650 |
648 |
651 TPtrC title; |
649 TPtrC title; |
652 // Set the view's title. |
650 // Set the view's title. |
653 if (iCurrentFolder != iRootFolder) |
651 if (iCurrentFolder != NULL && iCurrentFolder != iRootFolder) |
654 { |
652 { |
655 if (iCurrentFolder->GetStringValue(EFeedAttributeTitle,title) != KErrNotFound && title.Length() != 0) |
653 if (iCurrentFolder->GetStringValue(EFolderAttributeTitle,title) != KErrNotFound && title.Length() != 0) |
656 { |
654 { |
657 iApiProvider.Display().SetTitleL(title); |
655 iApiProvider.Display().SetTitleL(title); |
658 } |
656 } |
659 else |
657 else |
660 { |
658 { |
2222 |
2220 |
2223 // If not yet pushed, this will do the push; if already there, this brings |
2221 // If not yet pushed, this will do the push; if already there, this brings |
2224 // it to top and draws. |
2222 // it to top and draws. |
2225 naviPane->PushL(*iNaviDecorator); |
2223 naviPane->PushL(*iNaviDecorator); |
2226 } |
2224 } |
|
2225 |