From 8b77ddccbca9763e45f50c20e7604120c39afb3a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Oct 2014 15:43:50 -0500 Subject: Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance --- src/libgui/project_manager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libgui/project_manager.cpp') diff --git a/src/libgui/project_manager.cpp b/src/libgui/project_manager.cpp index 2aff5a0..18cc33c 100644 --- a/src/libgui/project_manager.cpp +++ b/src/libgui/project_manager.cpp @@ -164,7 +164,7 @@ void ProjectManager::View::contextMenu(TQListViewItem *item, const TQPoint &p, i if ( _project==0 || Main::toolGroup().linkerScriptType()==PURL::Nb_FileTypes ) return; pop.insertTitle(i18n("Linker Script")); pop.insertItem("piklab_addfile", i18n("Set Custom...")); - if ( !_project->customLinkerScript().isEmpty() ) pop.insertItem("editdelete", i18n("Set Default")); + if ( !_project->customLinkerScript().isEmpty() ) pop.insertItem("edit-delete", i18n("Set Default")); switch( pop.exec(p) ) { case 1: { PURL::Url url = PURL::getOpenUrl(":custom_linker_script", PURL::filter(Main::toolGroup().linkerScriptType()), this, i18n("Select Linker Script")); @@ -194,7 +194,7 @@ void ProjectManager::View::contextMenu(TQListViewItem *item, const TQPoint &p, i pop.insertItem("piklab_compile", i18n("Build Project"), TQT_TQOBJECT(&Main::toplevel()), TQT_SLOT(buildProject())); pop.insertItem("trashcan_empty", i18n("Clean Project"), TQT_TQOBJECT(&Main::toplevel()), TQT_SLOT(cleanBuild())); pop.insertSeparator(); - pop.insertItem("filenew", i18n("New Source File..."), TQT_TQOBJECT(&Main::toplevel()), TQT_SLOT(newSourceFile())); + pop.insertItem("document-new", i18n("New Source File..."), TQT_TQOBJECT(&Main::toplevel()), TQT_SLOT(newSourceFile())); pop.insertItem("piklab_addfile", i18n("Add Source Files..."), TQT_TQOBJECT(this), TQT_SLOT(insertSourceFiles())); pop.insertItem("piklab_addfile", i18n("Add Object Files..."), TQT_TQOBJECT(this), TQT_SLOT(insertObjectFiles())); if ( Main::currentEditor() ) pop.insertItem("piklab_addcurrentfile", i18n("Add Current File"), TQT_TQOBJECT(this), TQT_SLOT(insertCurrentFile())); @@ -205,7 +205,7 @@ void ProjectManager::View::contextMenu(TQListViewItem *item, const TQPoint &p, i FileItem *fi = static_cast(item); if ( isExternalFile(fi->url()) ) return; pop.insertTitle(item->text(0)); - pop.insertItem("editdelete", i18n("Remove From Project")); + pop.insertItem("edit-delete", i18n("Remove From Project")); if ( pop.exec(p)==1 ) removeFile(fi->url()); } else if ( item->rtti()==HeaderRtti ) { if ( _project==0 ) return; @@ -215,11 +215,11 @@ void ProjectManager::View::contextMenu(TQListViewItem *item, const TQPoint &p, i pop.exec(p); } else if ( group==SourceGroup || group==HeaderGroup ) { pop.insertTitle(i18n("Sources")); - pop.insertItem("filenew", i18n("New File..."), TQT_TQOBJECT(&Main::toplevel()), TQT_SLOT(newSourceFile())); + pop.insertItem("document-new", i18n("New File..."), TQT_TQOBJECT(&Main::toplevel()), TQT_SLOT(newSourceFile())); pop.insertItem("piklab_addfile", i18n("Add Source Files..."), TQT_TQOBJECT(this), TQT_SLOT(insertSourceFiles())); pop.exec(p); } else if ( group==DeviceGroup ) { - pop.insertItem("filenew", i18n("Select Device..."), TQT_TQOBJECT(&Main::toplevel()), TQT_SLOT(showDeviceInfo())); + pop.insertItem("document-new", i18n("Select Device..."), TQT_TQOBJECT(&Main::toplevel()), TQT_SLOT(showDeviceInfo())); pop.exec(p); } } -- cgit v1.2.3