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 99fa29b45c
commit 6200c1cb09

@ -303,7 +303,7 @@ void tdesvnfilelist::setupActions()
TDEShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotUnlock()),m_filesAction,"make_svn_unlock"); TDEShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotUnlock()),m_filesAction,"make_svn_unlock");
/* 3. actions only on dirs */ /* 3. actions only on dirs */
m_MkdirAction = new TDEAction(i18n("New folder"),"folder_new", m_MkdirAction = new TDEAction(i18n("New folder"),"folder-new",
TDEShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotMkdir()),m_filesAction,"make_svn_mkdir"); TDEShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotMkdir()),m_filesAction,"make_svn_mkdir");
m_switchRepository = new TDEAction(i18n("Switch repository"),"tdesvnswitch", m_switchRepository = new TDEAction(i18n("Switch repository"),"tdesvnswitch",
TDEShortcut(), m_SvnWrapper,TQT_SLOT(slotSwitch()),m_filesAction,"make_svn_switch"); TDEShortcut(), m_SvnWrapper,TQT_SLOT(slotSwitch()),m_filesAction,"make_svn_switch");
@ -315,7 +315,7 @@ void tdesvnfilelist::setupActions()
TQT_TQOBJECT(this),TQT_SLOT(slotCheckNewItems()),m_filesAction,"make_check_unversioned"); TQT_TQOBJECT(this),TQT_SLOT(slotCheckNewItems()),m_filesAction,"make_check_unversioned");
tmp_action->setToolTip(i18n("Browse folder for unversioned items and add them if wanted.")); tmp_action->setToolTip(i18n("Browse folder for unversioned items and add them if wanted."));
m_changeToRepository = new TDEAction(i18n("Open repository of working copy"),"gohome",TDEShortcut(), m_changeToRepository = new TDEAction(i18n("Open repository of working copy"),"go-home",TDEShortcut(),
TQT_TQOBJECT(this),TQT_SLOT(slotChangeToRepository()),m_filesAction,"make_switch_to_repo"); TQT_TQOBJECT(this),TQT_SLOT(slotChangeToRepository()),m_filesAction,"make_switch_to_repo");
m_changeToRepository->setToolTip(i18n("Opens the repository the current working copy was checked out from")); m_changeToRepository->setToolTip(i18n("Opens the repository the current working copy was checked out from"));
@ -1872,7 +1872,7 @@ void tdesvnfilelist::slotInternalDrop()
if (action==TQDropEvent::UserAction) { if (action==TQDropEvent::UserAction) {
TQPopupMenu popup; TQPopupMenu popup;
popup.insertItem(SmallIconSet("goto"), i18n( "Move Here" ) + "\t" + KKey::modFlagLabel( KKey::SHIFT ), 2 ); popup.insertItem(SmallIconSet("goto"), i18n( "Move Here" ) + "\t" + KKey::modFlagLabel( KKey::SHIFT ), 2 );
popup.insertItem(SmallIconSet("editcopy"), i18n( "Copy Here" ) + "\t" + KKey::modFlagLabel( KKey::CTRL ), 1 ); popup.insertItem(SmallIconSet("edit-copy"), i18n( "Copy Here" ) + "\t" + KKey::modFlagLabel( KKey::CTRL ), 1 );
popup.insertSeparator(); popup.insertSeparator();
popup.insertItem(SmallIconSet("cancel"), i18n( "Cancel" ) + "\t" + KKey( TQt::Key_Escape ).toString(), 5); popup.insertItem(SmallIconSet("cancel"), i18n( "Cancel" ) + "\t" + KKey( TQt::Key_Escape ).toString(), 5);
int result = popup.exec(m_pList->intern_drop_pos); int result = popup.exec(m_pList->intern_drop_pos);

@ -122,16 +122,16 @@ tdesvn::tdesvn()
setCentralWidget(m_part->widget()); setCentralWidget(m_part->widget());
TDEAction*tmpAction; TDEAction*tmpAction;
tmpAction = new TDEAction(i18n("Create and open new repository"),"filenew", tmpAction = new TDEAction(i18n("Create and open new repository"),"document-new",
TDEShortcut(),TQT_TQOBJECT(m_part->widget()),TQT_SLOT(slotCreateRepo()),actionCollection(),"subversion_create_repo"); TDEShortcut(),TQT_TQOBJECT(m_part->widget()),TQT_SLOT(slotCreateRepo()),actionCollection(),"subversion_create_repo");
tmpAction->setToolTip(i18n("Create and opens a new local subversion repository")); tmpAction->setToolTip(i18n("Create and opens a new local subversion repository"));
tmpAction = new TDEAction(i18n("Dump repository to file"),"filenew", tmpAction = new TDEAction(i18n("Dump repository to file"),"document-new",
TDEShortcut(),TQT_TQOBJECT(m_part->widget()),TQT_SLOT(slotDumpRepo()),actionCollection(),"subversion_dump_repo"); TDEShortcut(),TQT_TQOBJECT(m_part->widget()),TQT_SLOT(slotDumpRepo()),actionCollection(),"subversion_dump_repo");
tmpAction->setToolTip(i18n("Dump a subversion repository to a file")); tmpAction->setToolTip(i18n("Dump a subversion repository to a file"));
tmpAction = new TDEAction(i18n("Hotcopy a repository"),"filenew", tmpAction = new TDEAction(i18n("Hotcopy a repository"),"document-new",
TDEShortcut(),TQT_TQOBJECT(m_part->widget()),TQT_SLOT(slotHotcopy()),actionCollection(),"subversion_hotcopy_repo"); TDEShortcut(),TQT_TQOBJECT(m_part->widget()),TQT_SLOT(slotHotcopy()),actionCollection(),"subversion_hotcopy_repo");
tmpAction->setToolTip(i18n("Hotcopy a subversion repository to a new folder")); tmpAction->setToolTip(i18n("Hotcopy a subversion repository to a new folder"));
tmpAction = new TDEAction(i18n("Load dump into repository"),"filenew", tmpAction = new TDEAction(i18n("Load dump into repository"),"document-new",
TDEShortcut(),TQT_TQOBJECT(m_part->widget()),TQT_SLOT(slotLoaddump()),actionCollection(),"subversion_load_repo"); TDEShortcut(),TQT_TQOBJECT(m_part->widget()),TQT_SLOT(slotLoaddump()),actionCollection(),"subversion_load_repo");
tmpAction->setToolTip(i18n("Load a dump file into a repository.")); tmpAction->setToolTip(i18n("Load a dump file into a repository."));
tmpAction = new TDEAction(i18n("Add ssh identities to ssh-agent"),"password", tmpAction = new TDEAction(i18n("Add ssh identities to ssh-agent"),"password",

Loading…
Cancel
Save