summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-01-08 01:49:02 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-01-08 01:49:02 +0100
commite584eeaf35a7db2ee6e5c63ef3fcf32b92474df1 (patch)
treeaa7708dd15cc45e51af6e70b4c10a3361f891ebb
parentRemoved setFocus from lineEdit->currentWebview so that people can switch (diff)
downloadrekonq-e584eeaf35a7db2ee6e5c63ef3fcf32b92474df1.tar.xz
Little changes..
-rw-r--r--src/mainwindow.cpp14
-rw-r--r--src/rekonqui.rc4
2 files changed, 9 insertions, 9 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index d99ccd46..9813cf1e 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -77,7 +77,6 @@ MainWindow::MainWindow()
connect(m_tabWidget, SIGNAL( printRequested(QWebFrame *)), this, SLOT( printRequested(QWebFrame *) ) );
connect(m_tabWidget, SIGNAL( menuBarVisibilityChangeRequested(bool)), menuBar(), SLOT( setVisible(bool) ) );
connect(m_tabWidget, SIGNAL( statusBarVisibilityChangeRequested(bool)), statusBar(), SLOT( setVisible(bool) ) );
-// connect(m_tabWidget, SIGNAL( toolBarVisibilityChangeRequested(bool) ), m_navigationBar, SLOT( setVisible(bool) ) );
connect(m_tabWidget, SIGNAL( lastTabClosed() ), m_tabWidget, SLOT(newTab() ) );
slotUpdateWindowTitle();
@@ -223,7 +222,7 @@ void MainWindow::setupActions()
void MainWindow::setupCustomMenu()
{
- // ------------------------------------------------------------- HISTORY MENU--------------------------------------------------------------------------------------------------
+ // -------------------------------- HISTORY MENU -----------------------------------------------------------------------
HistoryMenu *historyMenu = new HistoryMenu(this);
connect(historyMenu, SIGNAL(openUrl(const KUrl&)), m_tabWidget, SLOT(loadUrlInCurrentTab(const KUrl&)));
connect(historyMenu, SIGNAL(hovered(const QString&)), this, SLOT(slotUpdateStatusbar(const QString&)));
@@ -237,12 +236,12 @@ void MainWindow::setupCustomMenu()
historyActions.append( m_tabWidget->recentlyClosedTabsAction() );
historyMenu->setInitialActions(historyActions);
- // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+ //--------------------------------------------------------------------------------------------------------------
- // --------------------------------------------- BOOKMARKS MENU -----------------------------------------------------------------------------------------------------
+ // ------------------------------ BOOKMARKS MENU --------------------------------------------------------------
- // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+ // -------------------------------------------------------------------------------------------------------------
}
KUrl MainWindow::guessUrlFromString(const QString &string)
@@ -444,8 +443,9 @@ void MainWindow::slotPrivateBrowsing()
// if (m_tabWidget->count() > 1)
// {
// int ret = KMessageBox::warningYesNo(this,
-// i18n("Are you sure you want to close the window?" " There are %1 tab open" , m_tabWidget->count() ) ,
-// i18n("Closing") );
+// i18n("Are you sure you want to close the window?" " There are %1 tab open" , m_tabWidget->count() ),
+// i18n("Closing")
+// );
// if (ret == KMessageBox::No)
// {
// event->ignore();
diff --git a/src/rekonqui.rc b/src/rekonqui.rc
index ef566c23..1022fb20 100644
--- a/src/rekonqui.rc
+++ b/src/rekonqui.rc
@@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui name="rekonq" version="8">
+<kpartgui name="rekonq" version="9">
<MenuBar>
<!-- ============ FILE menu =========== -->
<Menu name="file" noMerge="1"><text>&amp;File</text>
@@ -36,7 +36,7 @@
</Menu>
<!-- ============ VIEW menu =========== -->
<Menu name="view" noMerge="1"><text>&amp;View</text>
- <Action name="view_redisplay" />
+ <Action name="stop reload" />
<Separator/>
<Action name="bigger font" />
<Action name="normal font" />