mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
icon renamings:
- emptytrash -> trash-empty - edit-trash -> user-trash svn path=/trunk/KDE/kdebase/apps/; revision=728161
This commit is contained in:
parent
45c3d6e9ac
commit
d05e966ef4
3 changed files with 3 additions and 3 deletions
|
@ -101,7 +101,7 @@ void DolphinContextMenu::openTrashContextMenu()
|
|||
|
||||
KMenu* popup = new KMenu(m_mainWindow);
|
||||
|
||||
QAction* emptyTrashAction = new QAction(KIcon("emptytrash"), i18nc("@action:inmenu", "Empty Trash"), popup);
|
||||
QAction* emptyTrashAction = new QAction(KIcon("trash-empty"), i18nc("@action:inmenu", "Empty Trash"), popup);
|
||||
KConfig trashConfig("trashrc", KConfig::OnlyLocal);
|
||||
emptyTrashAction->setEnabled(!trashConfig.group("Status").readEntry("Empty", true));
|
||||
popup->addAction(emptyTrashAction);
|
||||
|
|
|
@ -1096,7 +1096,7 @@ void DolphinMainWindow::setupActions()
|
|||
|
||||
QAction* moveToTrash = actionCollection()->addAction("move_to_trash");
|
||||
moveToTrash->setText(i18nc("@action:inmenu File", "Move to Trash"));
|
||||
moveToTrash->setIcon(KIcon("edit-trash"));
|
||||
moveToTrash->setIcon(KIcon("user-trash"));
|
||||
moveToTrash->setShortcut(QKeySequence::Delete);
|
||||
connect(moveToTrash, SIGNAL(triggered()), this, SLOT(moveToTrash()));
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ void TreeViewContextMenu::open()
|
|||
bool showDeleteCommand = kdeConfig.readEntry("ShowDeleteCommand", false);
|
||||
const KUrl& url = m_fileInfo.url();
|
||||
if (url.isLocalFile()) {
|
||||
QAction* moveToTrashAction = new QAction(KIcon("edit-trash"),
|
||||
QAction* moveToTrashAction = new QAction(KIcon("user-trash"),
|
||||
i18nc("@action:inmenu", "Move To Trash"), this);
|
||||
connect(moveToTrashAction, SIGNAL(triggered()), this, SLOT(moveToTrash()));
|
||||
popup->addAction(moveToTrashAction);
|
||||
|
|
Loading…
Reference in a new issue