mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
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:
parent
bbf9faa053
commit
51f8171071
2 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue