summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-05 16:33:18 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-05 16:33:18 +0200
commit8daa07c56435cd2892bd5f0a85e9db0755c0df85 (patch)
tree75dfc23c8c59ef2acaf12b8b4df3250f1f75a043
parentupdated TODO (diff)
downloadrekonq-8daa07c56435cd2892bd5f0a85e9db0755c0df85.tar.xz
Upgrading rekonq UI, 1st step
Updating menubar and main toolbar.
-rw-r--r--src/mainwindow.cpp11
-rw-r--r--src/mainwindow.h2
-rw-r--r--src/rekonqui.rc5
3 files changed, 8 insertions, 10 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index e25373e9..0b6bb738 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -182,7 +182,6 @@ void MainWindow::setupActions()
KAction *a;
// Standard Actions
- KStandardAction::openNew(this, SLOT(slotFileNew()) , actionCollection());
KStandardAction::open(this, SLOT(slotFileOpen()), actionCollection());
KStandardAction::saveAs(this, SLOT(slotFileSaveAs()), actionCollection());
KStandardAction::printPreview(this, SLOT(slotFilePrintPreview()), actionCollection());
@@ -479,11 +478,11 @@ void MainWindow::slotUpdateWindowTitle(const QString &title)
}
-void MainWindow::slotFileNew()
-{
- Application::instance()->newWebView();
- slotHome();
-}
+// void MainWindow::slotFileNew()
+// {
+// Application::instance()->newWebView();
+// slotHome();
+// }
void MainWindow::slotFileOpen()
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 9e64022e..372d90a1 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -87,7 +87,7 @@ private slots:
void slotOpenNext();
// File Menu slots
- void slotFileNew();
+// void slotFileNew();
void slotFileOpen();
void slotFilePrintPreview();
void slotFilePrint();
diff --git a/src/rekonqui.rc b/src/rekonqui.rc
index 368c9226..37890393 100644
--- a/src/rekonqui.rc
+++ b/src/rekonqui.rc
@@ -6,7 +6,6 @@
<!-- ============ FILE menu =========== -->
<Menu name="file" noMerge="1"><text>&amp;File</text>
- <Action name="file_new" />
<Action name="file_open" />
<Action name="open_location" />
<Separator/>
@@ -18,8 +17,6 @@
<Action name="file_print_preview" />
<Action name="file_print" />
<Separator/>
- <Action name="private_browsing" />
- <Separator/>
<Action name="file_quit" />
</Menu>
@@ -59,6 +56,7 @@
<!-- ============ TOOLS menu =========== -->
<Menu name="tools" noMerge="1"><text>&amp;Tools</text>
<Action name="web_inspector" />
+ <Action name="private_browsing" />
</Menu>
<!-- ============ SETTINGS menu =========== -->
@@ -83,6 +81,7 @@
<Action name="history_forward" />
<Action name="stop_reload" />
<Action name="go_home" />
+ <Action name="new_tab" />
</ToolBar>
<!-- ============ Location ToolBar =========== -->