icon renamings:

- emptytrash -> trash-empty
- edit-trash -> user-trash

svn path=/trunk/KDE/kdebase/apps/; revision=728161
This commit is contained in:
Pino Toscano 2007-10-22 15:58:52 +00:00
parent 45c3d6e9ac
commit d05e966ef4
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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()));

View file

@ -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);