summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-03-27 03:36:22 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-03-27 03:36:22 +0100
commitfbd78bee04e335314337c57c679dae2dd0820dae (patch)
tree10e9b3b5b99dd1558b7c0b053b6e82905d0efac5
parentSome fixes from avaddon-clone. Thank you (diff)
downloadrekonq-fbd78bee04e335314337c57c679dae2dd0820dae.tar.xz
improved fullscreen
-rw-r--r--TODO4
-rw-r--r--src/mainwindow.cpp10
2 files changed, 12 insertions, 2 deletions
diff --git a/TODO b/TODO
index f14bb05c..ba905862 100644
--- a/TODO
+++ b/TODO
@@ -1,17 +1,17 @@
To 0.0.5
-DONE definitely fix fonts!
+DONE(?) definitely fix fonts!
- fix crash on example sites..
DONE tabbar: fixed dimension
DONE tabbar: hide if just one
DONE bookmarks tabbar update
DONE loading right bookmark file
DONE Added Google Suggestions
-- improve "save as"
- load just ONE site at start
- loading right sites as "external browser"
- provide translations
DONE notfound.html shown if rekonq doesn't load connection
- disable BACK button when history is NULL
+DONE improve fullscreen
To 0.0.4
- improve DOCUMENTATION
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 4abfcd15..54516e78 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -630,6 +630,16 @@ void MainWindow::slotViewTextSmaller()
// TODO improve this
void MainWindow::slotViewFullScreen( bool makeFullScreen )
{
+ if ( makeFullScreen == true )
+ {
+ menuBar()->hide();
+ toolBar("mainToolBar")->hide();
+ }
+ else
+ {
+ menuBar()->show();
+ toolBar("mainToolBar")->show();
+ }
KToggleFullScreenAction::setFullScreen( this, makeFullScreen );
}