browserui/browser/BrowserAppSrc/BrowserContentView.cpp
changeset 25 92a061761a7b
parent 24 868cceedabd3
child 26 97c9f46387be
--- a/browserui/browser/BrowserAppSrc/BrowserContentView.cpp	Thu Dec 17 08:47:18 2009 +0200
+++ b/browserui/browser/BrowserAppSrc/BrowserContentView.cpp	Thu Jan 07 12:48:02 2010 +0200
@@ -71,7 +71,7 @@
 #include "Preferences.h"
 #include "BrowserPreferences.h"
 #include "Display.h"
-#include "favouriteswapap.h"
+#include <favouriteswapap.h>
 #include "BrowserBookmarksModel.h"
 #include "BrowserDialogs.h"
 #include "BrowserUtil.h"
@@ -81,7 +81,7 @@
 #include "BrowserAdaptiveListPopup.h"
 #include "BrowserApplication.h"
 #include "logger.h"
-#include "favouritesfile.h"
+#include <favouritesfile.h>
 #include "BrowserWindowManager.h"
 #include "BrowserWindow.h"
 #include "BrowserPopupEngine.h"
@@ -248,7 +248,8 @@
                                                      ( aCommand == EWmlCmdHistory ) ||
                                                      ( aCommand == EWmlCmdGoToAddress ) ||
                                                      ( aCommand == EWmlCmdShowShortcutKeymap ) ||
-                                                     ( aCommand == EWmlCmdShowMiniature ) ) )
+                                                     ( aCommand == EWmlCmdShowMiniature )||
+                                                     ( aCommand == EWmlCmdShowToolBar)) )
         {
         iWasContentFullScreenMode = iContentFullScreenMode;
         EnableFullScreenModeL( EFalse );
@@ -3159,6 +3160,11 @@
 #endif
         StatusPane()->MakeVisible( ETrue );
         iContainer->SetRect(ClientRect());
+        // Remove any timer that has already been set
+        if ( iPeriodic )
+            {
+            iPeriodic->Cancel();
+            }
         }
     else
         {