From 5d69f066dbe4a8b37541a2ab8b279593d5217f25 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 25 Oct 2008 09:41:39 +0000 Subject: [PATCH] * renamed "[x] Show Full Location" to "[x] Editable Location" * renamed "Edit Location" to "Replace Location" svn path=/trunk/KDE/kdebase/apps/; revision=875699 --- src/dolphinmainwindow.cpp | 13 ++++++------- src/dolphinmainwindow.h | 5 +++-- src/dolphinui.rc | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 1106c434f..3a46cd6df 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -565,7 +565,7 @@ void DolphinMainWindow::toggleEditLocation() urlNavigator->setUrlEditable(action->isChecked()); } -void DolphinMainWindow::editLocation() +void DolphinMainWindow::replaceLocation() { KUrlNavigator* navigator = m_activeViewContainer->urlNavigator(); navigator->setUrlEditable(true); @@ -995,16 +995,15 @@ void DolphinMainWindow::setupActions() stop->setIcon(KIcon("process-stop")); connect(stop, SIGNAL(triggered()), this, SLOT(stopLoading())); - // TODO: the naming "Show full Location" is currently confusing... KToggleAction* showFullLocation = actionCollection()->add("editable_location"); - showFullLocation->setText(i18nc("@action:inmenu Navigation Bar", "Show Full Location")); + showFullLocation->setText(i18nc("@action:inmenu Navigation Bar", "Editable Location")); showFullLocation->setShortcut(Qt::CTRL | Qt::Key_L); connect(showFullLocation, SIGNAL(triggered()), this, SLOT(toggleEditLocation())); - KAction* editLocation = actionCollection()->addAction("edit_location"); - editLocation->setText(i18nc("@action:inmenu Navigation Bar", "Edit Location")); - editLocation->setShortcut(Qt::Key_F6); - connect(editLocation, SIGNAL(triggered()), this, SLOT(editLocation())); + KAction* replaceLocation = actionCollection()->addAction("replace_location"); + replaceLocation->setText(i18nc("@action:inmenu Navigation Bar", "Replace Location")); + replaceLocation->setShortcut(Qt::Key_F6); + connect(replaceLocation, SIGNAL(triggered()), this, SLOT(replaceLocation())); // setup 'Go' menu KAction* backAction = KStandardAction::back(this, SLOT(goBack()), actionCollection()); diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index eb609938f..4b2236267 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -238,10 +238,11 @@ private slots: void toggleEditLocation(); /** - * Switches to the edit mode of the navigation bar. If the edit mode is + * Switches to the edit mode of the navigation bar and selects + * the whole URL, so that it can be replaced by the user. If the edit mode is * already active, it is assured that the navigation bar get focused. */ - void editLocation(); + void replaceLocation(); /** Goes back on step of the URL history. */ void goBack(); diff --git a/src/dolphinui.rc b/src/dolphinui.rc index 33172416a..5fdd9242d 100644 --- a/src/dolphinui.rc +++ b/src/dolphinui.rc @@ -1,5 +1,5 @@ - + @@ -64,7 +64,7 @@ Navigation Bar - + -- 2.47.3