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 0c8a5b3278
commit 19ae0d4108

@ -1465,7 +1465,7 @@ CollectionView::rmbPressed( TQListViewItem* item, const TQPoint& point, int ) //
menu.insertSeparator();
TDEPopupMenu fileMenu;
fileMenu.insertItem( SmallIconSet( "filesaveas" ), i18n( "&Organize File..." , "&Organize %n Files..." , selection.count() ) , ORGANIZE );
fileMenu.insertItem( SmallIconSet( "document-save-as" ), i18n( "&Organize File..." , "&Organize %n Files..." , selection.count() ) , ORGANIZE );
fileMenu.insertItem( SmallIconSet( Amarok::icon( "remove" ) ), i18n( "&Delete File..." , "&Delete %n Files..." , selection.count() ) , DELETE );
menu.insertItem( SmallIconSet( Amarok::icon( "files" ) ), i18n( "Manage &Files" ), &fileMenu, FILE_MENU );

@ -50,7 +50,7 @@ Amarok::icon( const TQString& name ) //declared in amarok.h
iconMap["download"] = "tdehtml_kget";
iconMap["dynamic"] = "dynamic";
iconMap["edit"] = "edit";
iconMap["editcopy"] = "editcopy";
iconMap["edit-copy"] = "edit-copy";
iconMap["equalizer"] = "equalizer";
iconMap["external"] = "exec";
iconMap["fastforward"] = "2rightarrow";
@ -77,7 +77,7 @@ Amarok::icon( const TQString& name ) //declared in amarok.h
iconMap["random_track"] = "random";
iconMap["redo"] = "edit-redo";
iconMap["refresh"] = "reload";
iconMap["remove"] = "editdelete";
iconMap["remove"] = "edit-delete";
iconMap["remove_from_playlist"] = "remove";
iconMap["repeat_album"] = "cdrom_unmount";
iconMap["repeat_no"] = "go-bottom";
@ -85,7 +85,7 @@ Amarok::icon( const TQString& name ) //declared in amarok.h
iconMap["repeat_track"] = "repeat_track";
iconMap["rescan"] = "reload";
iconMap["rewind"] = "2leftarrow";
iconMap["save"] = "filesave";
iconMap["save"] = "document-save";
iconMap["scripts"] = "pencil";
iconMap["search"] = "edit-find";
iconMap["settings_engine"] = "amarok";

@ -3258,7 +3258,7 @@ MediaDevice::deleteFromDevice(MediaItem *item, int flags )
numFiles
),
TQString(),
KGuiItem(i18n("&Delete"),"editdelete") );
KGuiItem(i18n("&Delete"),"edit-delete") );
if ( button != KMessageBox::Continue )
{

@ -999,7 +999,7 @@ IpodMediaDevice::createLockFile( bool silent )
if( !silent )
{
if( KMessageBox::warningContinueCancel( m_parent, msg, i18n( "Remove iTunes Lock File?" ),
KGuiItem(i18n("&Remove"), "editdelete"), TQString(), KMessageBox::Dangerous )
KGuiItem(i18n("&Remove"), "edit-delete"), TQString(), KMessageBox::Dangerous )
== KMessageBox::Continue )
{
msg = i18n( "Media Device: removing lockfile %1 failed: %2. " )

@ -3898,18 +3898,18 @@ Playlist::showContextMenu( TQListViewItem *item, const TQPoint &p, int col ) //S
TDEPopupMenu fileMenu;
if( CollectionDB::instance()->isDirInCollection( item->url().directory() ) )
{
fileMenu.insertItem( SmallIconSet( "filesaveas" ), i18n("&Organize File...", "&Organize %n Files...", itemCount), ORGANIZE );
fileMenu.insertItem( SmallIconSet( "document-save-as" ), i18n("&Organize File...", "&Organize %n Files...", itemCount), ORGANIZE );
}
else
{
fileMenu.insertItem( SmallIconSet( "filesaveas" ), i18n("&Copy Track to Collection...", "&Copy %n Tracks to Collection...", itemCount), COPY_TO_COLLECTION );
fileMenu.insertItem( SmallIconSet( "filesaveas" ), i18n("&Move Track to Collection...", "&Move %n Tracks to Collection...", itemCount), MOVE_TO_COLLECTION );
fileMenu.insertItem( SmallIconSet( "document-save-as" ), i18n("&Copy Track to Collection...", "&Copy %n Tracks to Collection...", itemCount), COPY_TO_COLLECTION );
fileMenu.insertItem( SmallIconSet( "document-save-as" ), i18n("&Move Track to Collection...", "&Move %n Tracks to Collection...", itemCount), MOVE_TO_COLLECTION );
}
fileMenu.insertItem( SmallIconSet( Amarok::icon( "remove" ) ), i18n("&Delete File...", "&Delete %n Selected Files...", itemCount ), this, TQT_SLOT( deleteSelectedFiles() ), SHIFT+Key_Delete, DELETE );
popup.insertItem( SmallIconSet( Amarok::icon( "files" ) ), i18n("Manage &Files"), &fileMenu, FILE_MENU );
if( itemCount == 1 )
popup.insertItem( SmallIconSet( Amarok::icon( "editcopy" ) ), i18n( "&Copy Tags to Clipboard" ), COPY );
popup.insertItem( SmallIconSet( Amarok::icon( "edit-copy" ) ), i18n( "&Copy Tags to Clipboard" ), COPY );
if( itemCount > 1 )
popup.insertItem( trackColumn

@ -175,7 +175,7 @@ PlaylistBrowser::PlaylistBrowser( const char *name )
addMenu->insertItem( i18n("Podcast..."), PODCAST );
connect( addMenu, TQT_SIGNAL( activated(int) ), TQT_SLOT( slotAddMenu(int) ) );
renameButton = new TDEAction( i18n("Rename"), "editclear", 0, TQT_TQOBJECT(this), TQT_SLOT( renameSelectedItem() ), m_ac );
renameButton = new TDEAction( i18n("Rename"), "edit-clear", 0, TQT_TQOBJECT(this), TQT_SLOT( renameSelectedItem() ), m_ac );
removeButton = new TDEAction( i18n("Delete"), Amarok::icon( "remove" ), 0, TQT_TQOBJECT(this), TQT_SLOT( removeSelectedItems() ), m_ac );
m_toolbar = new Browser::ToolBar( browserBox );

Loading…
Cancel
Save