Bring undo, redo, find, and revert icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 2762d81ca6
commit 2166880f2b

@ -62,7 +62,7 @@ LogDialog::LogDialog(TDEConfig& cfg, TQWidget *parent, const char *name)
Ok | Apply | Close | Help | User1 | User2 | User3, Close, true,
KGuiItem(i18n("&Annotate")),
KGuiItem(i18n("&Diff"), "vcs_diff"),
KGuiItem(i18n("&Find..."), "find"))
KGuiItem(i18n("&Find..."), "edit-find"))
, cvsService(0)
, partConfig(cfg)
{

@ -99,7 +99,7 @@ FindDialog::FindDialog(bool forReplace, TQWidget* parent)
}
else {
setCaption(i18n("Find"));
setButtonOK(KGuiItem(i18n("&Find"),"find"));
setButtonOK(KGuiItem(i18n("&Find"),"edit-find"));
_replaceLabel=0;
_replaceCombo=0;

@ -174,7 +174,7 @@ void KBBMainWindow::initActions()
TQT_SLOT( searchBugNumber() ), actionCollection(), "search_bugnumber" );
// For now "Description" searches by title. Maybe later we can have a
// full-text search interfacing bugs.trinitydesktop.org and rename the current one to "By Title".
new TDEAction( i18n("Search by &Description...") ,"find", CTRL+TQt::Key_D, TQT_TQOBJECT(this),
new TDEAction( i18n("Search by &Description...") ,"edit-find", CTRL+TQt::Key_D, TQT_TQOBJECT(this),
TQT_SLOT( searchDescription() ), actionCollection(), "search_description" );
// new TDEAction( i18n("&Merge"), "view_remove", CTRL+TQt::Key_M, TQT_TQOBJECT(m_mainWidget),

@ -1148,7 +1148,7 @@ CanvasEdgeLabel::CanvasEdgeLabel(CallGraphView* v, CanvasEdge* ce,
setPixmap(0, percentagePixmap(25,10,(int)(inclP+.5), TQt::blue, true));
if (e->call() && (e->call()->isRecursion() || e->call()->inCycle())) {
TQString icon = "undo";
TQString icon = "edit-undo";
TDEIconLoader* loader = TDEApplication::kApplication()->iconLoader();
TQPixmap p= loader->loadIcon(icon, TDEIcon::Small, 0,
TDEIcon::DefaultState, 0, true);

@ -145,7 +145,7 @@ void CallItem::updateCost()
TQPixmap p;
if (sameCycle && !selectedIsCycle && !shownIsCycle) {
TQString icon = "undo";
TQString icon = "edit-undo";
TDEIconLoader* loader = TDEApplication::kApplication()->iconLoader();
p= loader->loadIcon(icon, TDEIcon::Small, 0,
TDEIcon::DefaultState, 0, true);

@ -177,7 +177,7 @@ void InstrItem::updateCost()
TQString str;
TQPixmap p;
TQString icon = "undo";
TQString icon = "edit-undo";
TDEIconLoader* loader = TDEApplication::kApplication()->iconLoader();
p= loader->loadIcon(icon, TDEIcon::Small, 0,
TDEIcon::DefaultState, 0, true);

@ -161,7 +161,7 @@ void SourceItem::updateCost()
TQString str;
TQPixmap p;
TQString icon = "undo";
TQString icon = "edit-undo";
TDEIconLoader* loader = TDEApplication::kApplication()->iconLoader();
p= loader->loadIcon(icon, TDEIcon::Small, 0,
TDEIcon::DefaultState, 0, true);

@ -528,7 +528,7 @@ void TopLevel::createMiscActions()
action->setWhatsThis( hint );
_taDump = new TDEToggleAction( i18n( "&Force Dump" ), "redo",
_taDump = new TDEToggleAction( i18n( "&Force Dump" ), "edit-redo",
#if TDE_VERSION > 0x030190
// for KDE 3.2: TDEStdAccel::key is deprecated
TDEStdAccel::shortcut(TDEStdAccel::Redo),
@ -650,7 +650,7 @@ void TopLevel::createMiscActions()
"<p>(*) Only if function grouping is switched on (e.g. ELF object grouping).");
_taExpanded->setWhatsThis( hint );
_taCycles = new TDEToggleAction( i18n( "Do Cycle Detection" ), "undo",
_taCycles = new TDEToggleAction( i18n( "Do Cycle Detection" ), "edit-undo",
TDEShortcut(),
TQT_TQOBJECT(this), TQT_SLOT( toggleCycles() ), actionCollection(),
"view_cycles" );

@ -1329,8 +1329,8 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) {
}
void ListPopupMenu::setupDiagramMenu(UMLView* view) {
insertItem(SmallIcon("undo"), i18n("Undo"), mt_Undo);
insertItem(SmallIcon("redo"), i18n("Redo"), mt_Redo);
insertItem(SmallIcon("edit-undo"), i18n("Undo"), mt_Undo);
insertItem(SmallIcon("edit-redo"), i18n("Redo"), mt_Redo);
insertSeparator();
insertStdItem(mt_Cut);
insertStdItem(mt_Copy);

Loading…
Cancel
Save