browserui/browser/FeedsSrc/FeedsTopicView.cpp
changeset 37 481242ead638
parent 31 868cceedabd3
child 62 5a044f6358c2
--- a/browserui/browser/FeedsSrc/FeedsTopicView.cpp	Mon Jan 18 20:22:00 2010 +0200
+++ b/browserui/browser/FeedsSrc/FeedsTopicView.cpp	Tue Feb 02 00:12:41 2010 +0200
@@ -75,14 +75,16 @@
 void CFeedsTopicView::ConstructL(TRect& aRect)
     {
     BaseConstructL(R_FEEDS_TOPIC_VIEW);
-    
+
+#ifndef BRDO_SINGLE_CLICK_ENABLED_FF
     iContainer = CFeedsTopicContainer::NewL( this, ApiProvider(), aRect );
     iContainer->MakeVisible(EFalse);
-        
+    
     if(iPenEnabled)
         {
-        Toolbar()->SetToolbarObserver(this);;        
+        Toolbar()->SetToolbarObserver(this);       
         }
+#endif    
     }
 
 
@@ -180,6 +182,14 @@
         TUid /*aCustomMessageId*/, const TDesC8& /*aCustomMessage*/)
     {
 
+#ifdef BRDO_SINGLE_CLICK_ENABLED_FF
+    if (!iContainer)
+        {
+        iContainer = CFeedsTopicContainer::NewL( this, ApiProvider(), ClientRect() );
+        iContainer->MakeVisible(EFalse);
+        }
+    Toolbar()->SetToolbarVisibility(EFalse,EFalse);
+#endif    
     // If need be, add the container to the control stack.
     if (!iContainerOnStack)
         {
@@ -276,6 +286,10 @@
 
 void CFeedsTopicView::UpdateToolbarButtonsState()
     {
+#ifdef BRDO_SINGLE_CLICK_ENABLED_FF
+    Toolbar()->SetToolbarVisibility(EFalse,EFalse);
+    return;
+#endif    
     if (iApiProvider.IsPageLoaded())
         {
         Toolbar()->SetItemDimmed(EFeedsBackToPage, EFalse, ETrue);