From fbd78bee04e335314337c57c679dae2dd0820dae Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 27 Mar 2009 03:36:22 +0100 Subject: improved fullscreen --- TODO | 4 ++-- src/mainwindow.cpp | 10 ++++++++++ 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 ); } -- cgit v1.2.1