Icon naming spec compliance (code changes):

bookmark-folder -> folder-bookmarks
goto-page -> go-jump
www -> insert-link (doesn't yet exist in Oxygen)

svn path=/trunk/KDE/kdebase/apps/; revision=730639
This commit is contained in:
Jakob Petsovits 2007-10-29 08:35:29 +00:00
parent bbf9faa053
commit 51f8171071
2 changed files with 4 additions and 4 deletions

View file

@ -160,7 +160,7 @@ void DolphinContextMenu::openItemContextMenu()
// insert 'Bookmark This Folder' entry if exactly one item is selected
QAction* addToPlacesAction = 0;
if (m_fileInfo.isDir() && (m_selectedUrls.count() == 1)) {
addToPlacesAction = popup->addAction(KIcon("bookmark-folder"),
addToPlacesAction = popup->addAction(KIcon("folder-bookmarks"),
i18nc("@action:inmenu Add selected folder to places", "Add to Places"));
}
@ -236,7 +236,7 @@ void DolphinContextMenu::openViewportContextMenu()
popup->addSeparator();
QAction* addToPlacesAction = popup->addAction(KIcon("bookmark-folder"),
QAction* addToPlacesAction = popup->addAction(KIcon("folder-bookmarks"),
i18nc("@action:inmenu Add current folder to places", "Add to Places"));
popup->addSeparator();

View file

@ -178,7 +178,7 @@ void DolphinMainWindow::dropUrls(const KUrl::List& urls,
QString seq = QKeySequence(Qt::ShiftModifier).toString();
seq.chop(1); // chop superfluous '+'
QAction* moveAction = popup.addAction(KIcon("goto-page"),
QAction* moveAction = popup.addAction(KIcon("go-jump"),
i18nc("@action:inmenu",
"&Move Here\t<shortcut>%1</shortcut>", seq));
@ -190,7 +190,7 @@ void DolphinMainWindow::dropUrls(const KUrl::List& urls,
seq = QKeySequence(Qt::ControlModifier + Qt::ShiftModifier).toString();
seq.chop(1);
QAction* linkAction = popup.addAction(KIcon("www"),
QAction* linkAction = popup.addAction(KIcon("insert-link"),
i18nc("@action:inmenu",
"&Link Here\t<shortcut>%1</shortcut>", seq));