Adjusted to new normalized device icon names in tdelibs.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/3/head
Michele Calgaro 6 years ago
parent 82c3b55a9a
commit a91bd11658
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -44,7 +44,7 @@ K3bAppDeviceManager::K3bAppDeviceManager( TQObject* parent, const char* name )
TDEActionMenu* devicePopupMenu = new TDEActionMenu( m_actionCollection, "device_popup" );
m_actionDiskInfo = new TDEAction( i18n("Media &Info"), "application-vnd.tde.info", 0, this, TQT_SLOT(diskInfo()),
m_actionCollection, "device_diskinfo");
m_actionUnmount = new TDEAction( i18n("&Unmount"), "media-optical-cdrom", 0, this, TQT_SLOT(unmountDisk()),
m_actionUnmount = new TDEAction( i18n("&Unmount"), "media-optical-cdrom-unmounted", 0, this, TQT_SLOT(unmountDisk()),
m_actionCollection, "device_unmount");
m_actionMount = new TDEAction( i18n("&Mount"), "media-optical-cdrom-mounted", 0, this, TQT_SLOT(mountDisk()),
m_actionCollection, "device_mount");

@ -208,10 +208,10 @@ int K3bEmptyDiscWaiter::waitForDisc( int mediaState, int mediaType, const TQStri
d->labelRequest->setText( message );
if( d->wantedMediaType & K3bDevice::MEDIA_WRITABLE_DVD )
d->pixLabel->setPixmap( TDEGlobal::instance()->iconLoader()->loadIcon( "media-optical-dvd",
d->pixLabel->setPixmap( TDEGlobal::instance()->iconLoader()->loadIcon( "media-optical-dvd-unmounted",
TDEIcon::NoGroup, TDEIcon::SizeMedium ) );
else
d->pixLabel->setPixmap( TDEGlobal::instance()->iconLoader()->loadIcon( "media-optical-cdwriter",
d->pixLabel->setPixmap( TDEGlobal::instance()->iconLoader()->loadIcon( "cd-rw-unmounted",
TDEIcon::NoGroup, TDEIcon::SizeMedium ) );
adjustSize();

@ -116,7 +116,7 @@ void K3bFileTreeComboBox::setUrl( const KURL& url )
void K3bFileTreeComboBox::setDevice( K3bDevice::Device* dev )
{
setEditText( SmallIcon("media-optical-cdrom"), dev->vendor() + " " + dev->description() + " (" + dev->blockDeviceName() + ")" );
setEditText( SmallIcon("media-optical-cdrom-unmounted"), dev->vendor() + " " + dev->description() + " (" + dev->blockDeviceName() + ")" );
}

@ -54,8 +54,8 @@ K3bDeviceBranch::K3bDeviceBranch( KFileTreeView* view, K3bDevice::Device* dev, K
KURL( "media:/" + dev->blockDeviceName() ),
TQString("%1 - %2").arg(dev->vendor()).arg(dev->description()),
( dev->burner()
? SmallIcon("media-optical-cdwriter")
: SmallIcon("media-optical-cdrom") ),
? SmallIcon("cd-rw-unmounted")
: SmallIcon("media-optical-cdrom-unmounted") ),
false,
item == 0
? new K3bDeviceBranchViewItem( view, dev, this )
@ -451,7 +451,7 @@ void K3bFileTreeView::initActions()
// TDEAction* actionDiskInfo = new TDEAction( i18n("&Disk Info"), "application-vnd.tde.info", 0, this, TQT_SLOT(slotShowDiskInfo()),
// m_actionCollection, "disk_info");
// TDEAction* actionUnmount = new TDEAction( i18n("&Unmount"), "media-optical-cdrom", 0, this, TQT_SLOT(slotUnmountDisk()),
// TDEAction* actionUnmount = new TDEAction( i18n("&Unmount"), "media-optical-cdrom-unmounted", 0, this, TQT_SLOT(slotUnmountDisk()),
// m_actionCollection, "disk_unmount");
// TDEAction* actionEject = new TDEAction( i18n("&Eject"), "", 0, this, TQT_SLOT(slotEjectDisk()),
// m_actionCollection, "disk_eject");

@ -37,7 +37,7 @@ K3bSidePanel::K3bSidePanel( K3bMainWindow* m, TQWidget* parent, const char* name
// CD projects
TQFrame* cdProjectsFrame = createPanel();
addItem( cdProjectsFrame, SmallIconSet( "media-optical-cdrom" ), i18n("CD Tasks") );
addItem( cdProjectsFrame, SmallIconSet( "media-optical-cdrom-unmounted" ), i18n("CD Tasks") );
addButton( cdProjectsFrame, m_mainWindow->action( "file_new_audio" ) );
addButton( cdProjectsFrame, m_mainWindow->action( "file_new_data" ) );
addButton( cdProjectsFrame, m_mainWindow->action( "file_new_mixed" ) );
@ -52,7 +52,7 @@ K3bSidePanel::K3bSidePanel( K3bMainWindow* m, TQWidget* parent, const char* name
// DVD projects
TQFrame* dvdProjectsFrame = createPanel();
addItem( dvdProjectsFrame, SmallIconSet( "media-optical-dvd" ), i18n("DVD Tasks") );
addItem( dvdProjectsFrame, SmallIconSet( "media-optical-dvd-unmounted" ), i18n("DVD Tasks") );
addButton( dvdProjectsFrame, m_mainWindow->action( "file_new_dvd" ) );
addButton( dvdProjectsFrame, m_mainWindow->action( "file_new_video_dvd" ) );
addButton( dvdProjectsFrame, m_mainWindow->action( "file_new_movix_dvd" ) );

@ -1,5 +1,5 @@
[Desktop Entry]
X-TDE-ServiceTypes=media/cdrom_unmounted,media/cdwriter_unmounted,media/audiocd
X-TDE-ServiceTypes=media/cdrom_unmounted,media/cd-rw_unmounted,media/audiocd
Actions=K3bCDCopy;
X-TDE-Priority=TopLevel

@ -232,11 +232,11 @@ void K3bDeviceWidget::updateDeviceListViews()
// create the parent view items
// -----------------------------------------
m_writerParentViewItem = new TQListViewItem( m_viewDevices, i18n("Writer Drives") );
m_writerParentViewItem->setPixmap( 0, SmallIcon( "media-optical-cdwriter" ) );
m_writerParentViewItem->setPixmap( 0, SmallIcon( "cd-rw-unmounted" ) );
// spacer item
(void)new TQListViewItem( m_viewDevices );
m_readerParentViewItem = new TQListViewItem( m_viewDevices, i18n("Readonly Drives") );
m_readerParentViewItem->setPixmap( 0, SmallIcon( "media-optical-cdrom" ) );
m_readerParentViewItem->setPixmap( 0, SmallIcon( "media-optical-cdrom-unmounted" ) );
// -----------------------------------------
TQFont fBold( m_viewDevices->font() );

@ -127,7 +127,7 @@ void K3bOptionDialog::slotDefault()
void K3bOptionDialog::setupBurningPage()
{
TQFrame* frame = addPage( i18n("Advanced"), i18n("Advanced Settings"),
TDEGlobal::instance()->iconLoader()->loadIcon( "media-optical-cdwriter", TDEIcon::NoGroup, TDEIcon::SizeMedium ) );
TDEGlobal::instance()->iconLoader()->loadIcon( "cd-rw-unmounted", TDEIcon::NoGroup, TDEIcon::SizeMedium ) );
TQGridLayout* _frameLayout = new TQGridLayout( frame );
_frameLayout->setSpacing( 0 );

@ -266,7 +266,7 @@ K3bDataRootViewItem::K3bDataRootViewItem( K3bDataDoc* doc, TQListView* parent )
: K3bDataDirViewItem( doc->root(), parent )
{
m_doc = doc;
setPixmap( 0, SmallIcon( "media-optical-cdrom" ) );
setPixmap( 0, SmallIcon( "media-optical-cdrom-unmounted" ) );
setValidator( 0, new K3bLatin1Validator() );
}

@ -341,7 +341,7 @@ K3bFillStatusDisplay::K3bFillStatusDisplay( K3bDoc* doc, TQWidget *parent, const
d->displayWidget = new K3bFillStatusDisplayWidget( doc, this );
// d->buttonMenu = new TQToolButton( this );
// d->buttonMenu->setIconSet( SmallIconSet("media-optical-cdrom") );
// d->buttonMenu->setIconSet( SmallIconSet("media-optical-cdrom-unmounted") );
// d->buttonMenu->setAutoRaise(true);
// TQToolTip::add( d->buttonMenu, i18n("Fill display properties") );
// connect( d->buttonMenu, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotMenuButtonClicked()) );
@ -402,7 +402,7 @@ void K3bFillStatusDisplay::setupPopupMenu()
d->actionCustomSize = new K3bRadioAction( i18n("Custom..."), 0, TQT_TQOBJECT(this), TQT_SLOT(slotCustomSize()),
d->actionCollection, "fillstatus_custom_size" );
d->actionCustomSize->setAlwaysEmitActivated(true);
d->actionDetermineSize = new K3bRadioAction( i18n("From Medium..."), "media-optical-cdrom", 0,
d->actionDetermineSize = new K3bRadioAction( i18n("From Medium..."), "media-optical-cdrom-unmounted", 0,
TQT_TQOBJECT(this), TQT_SLOT(slotDetermineSize()),
d->actionCollection, "fillstatus_size_from_disk" );
d->actionDetermineSize->setAlwaysEmitActivated(true);

@ -305,7 +305,7 @@ void K3bVcdTrackDialog::fillPbcGui()
m_comboAfterTimeout->insertItem( pmDisabled, txtDisabled );
// add VideoCD End
TQPixmap pmEnd = SmallIcon( "media-optical-cdrom" );
TQPixmap pmEnd = SmallIcon( "media-optical-cdrom-unmounted" );
TQString txtEnd = i18n( "VideoCD END" );
m_pbc_previous->insertItem( pmEnd, txtEnd );
m_pbc_next->insertItem( pmEnd, txtEnd );

@ -302,7 +302,7 @@ void tdeio_videodvdProtocol::listVideoDVDs()
uds.append( a );
a.m_uds = TDEIO::UDS_ICON_NAME;
a.m_str = "media-optical-dvd";
a.m_str = "media-optical-dvd-unmounted";
uds.append( a );
udsl.append( uds );

@ -2,7 +2,7 @@
Encoding=UTF-8
Type=Link
URL=videodvd:/
Icon=media-optical-dvd
Icon=media-optical-dvd-unmounted
Name=Video DVD Browser
Name[af]=Video DVD Blaaier
Name[ar]= قارىء القرص المدمج المرئي الرقمي DVD

@ -5,7 +5,7 @@ input=none
output=filesystem
reading=true
listing=Name,Type,Size,Date
Icon=media-optical-dvd
Icon=media-optical-dvd-unmounted
Class=:local
X-DocPath=tdeioslave/videodvd/index.html
Description=A tdeioslave that allows files to be copied from a Video DVD (including decryption)

Loading…
Cancel
Save