Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent eaf7f46156
commit b420248927

@ -102,12 +102,12 @@ void BookmarksSidebarPage::slotContextMenuRequested(TQListBoxItem* item,
TQPopupMenu* popup = new TQPopupMenu(); TQPopupMenu* popup = new TQPopupMenu();
if (item == 0) { if (item == 0) {
popup->insertItem(SmallIcon("filenew"), i18n("Add Bookmark..."), addID); popup->insertItem(SmallIcon("document-new"), i18n("Add Bookmark..."), addID);
} }
else { else {
popup->insertItem(SmallIcon("filenew"), i18n("Insert Bookmark..."), insertID); popup->insertItem(SmallIcon("document-new"), i18n("Insert Bookmark..."), insertID);
popup->insertItem(SmallIcon("edit"), i18n("Edit..."), editID); popup->insertItem(SmallIcon("edit"), i18n("Edit..."), editID);
popup->insertItem(SmallIcon("editdelete"), i18n("Delete"), deleteID); popup->insertItem(SmallIcon("edit-delete"), i18n("Delete"), deleteID);
} }
KBookmarkManager* manager = DolphinSettings::instance().bookmarkManager(); KBookmarkManager* manager = DolphinSettings::instance().bookmarkManager();

@ -126,7 +126,7 @@ void Dolphin::dropURLs(const KURL::List& urls,
TDEPopupMenu popup(this); TDEPopupMenu popup(this);
popup.insertItem(SmallIcon("goto"), i18n("&Move Here") + "\t" + KKey::modFlagLabel(KKey::SHIFT), 0); popup.insertItem(SmallIcon("goto"), i18n("&Move Here") + "\t" + KKey::modFlagLabel(KKey::SHIFT), 0);
popup.insertItem(SmallIcon("editcopy"), i18n( "&Copy Here" ) + "\t" + KKey::modFlagLabel(KKey::CTRL), 1); popup.insertItem(SmallIcon("edit-copy"), i18n( "&Copy Here" ) + "\t" + KKey::modFlagLabel(KKey::CTRL), 1);
popup.insertItem(i18n("&Link Here") + "\t" + KKey::modFlagLabel((KKey::ModFlag)(KKey::CTRL|KKey::SHIFT)), 2); popup.insertItem(i18n("&Link Here") + "\t" + KKey::modFlagLabel((KKey::ModFlag)(KKey::CTRL|KKey::SHIFT)), 2);
popup.insertSeparator(); popup.insertSeparator();
popup.insertItem(SmallIcon("process-stop"), i18n("Cancel"), 3); popup.insertItem(SmallIcon("process-stop"), i18n("Cancel"), 3);
@ -549,7 +549,7 @@ void Dolphin::deleteItems()
const bool del = KMessageBox::warningContinueCancel(this, const bool del = KMessageBox::warningContinueCancel(this,
text, text,
TQString(), TQString(),
KGuiItem(i18n("Delete"), SmallIcon("editdelete")) KGuiItem(i18n("Delete"), SmallIcon("edit-delete"))
) == KMessageBox::Continue; ) == KMessageBox::Continue;
if (del) { if (del) {
TDEIO::Job* job = TDEIO::del(list); TDEIO::Job* job = TDEIO::del(list);
@ -1193,7 +1193,7 @@ void Dolphin::setupActions()
TDEAction* deleteAction = new TDEAction(i18n("Delete"), "Shift+Delete", TDEAction* deleteAction = new TDEAction(i18n("Delete"), "Shift+Delete",
TQT_TQOBJECT(this), TQT_SLOT(deleteItems()), TQT_TQOBJECT(this), TQT_SLOT(deleteItems()),
actionCollection(), "delete"); actionCollection(), "delete");
deleteAction->setIcon("editdelete"); deleteAction->setIcon("edit-delete");
new TDEAction(i18n("Propert&ies"), "Alt+Return", new TDEAction(i18n("Propert&ies"), "Alt+Return",
TQT_TQOBJECT(this), TQT_SLOT(properties()), TQT_TQOBJECT(this), TQT_SLOT(properties()),

@ -126,7 +126,7 @@ void DolphinContextMenu::openViewportContextMenu()
} }
else else
{ {
popup->insertItem(SmallIcon("filenew"), i18n("Create New"), createNewMenu); popup->insertItem(SmallIcon("document-new"), i18n("Create New"), createNewMenu);
} }
popup->insertSeparator(); popup->insertSeparator();

@ -49,7 +49,7 @@ FilterBar::FilterBar(TQWidget *parent, const char *name) :
layout->addWidget(m_filterInput); layout->addWidget(m_filterInput);
m_close = new KPushButton(this); m_close = new KPushButton(this);
m_close->setIconSet(SmallIcon("fileclose")); m_close->setIconSet(SmallIcon("window-close"));
m_close->setFlat(true); m_close->setFlat(true);
layout->addWidget(m_close); layout->addWidget(m_close);
layout->addSpacing(gap); layout->addSpacing(gap);

Loading…
Cancel
Save