Rename most device icons to comply with XDG standards

pull/1/head
Timothy Pearson 10 years ago
parent 419e900e1a
commit e7327f33f2

@ -113,7 +113,7 @@ Disc::Disc( TQWidget* parent, TQObject *objParent, const char *name ) : Kaffeine
h1->addWidget( ripBtn );
vb->addLayout( h1 );
cdBtn->setIconSet( TDEGlobal::iconLoader()->loadIconSet("cdaudio_unmount", TDEIcon::Toolbar) );
cdBtn->setIconSet( TDEGlobal::iconLoader()->loadIconSet("media-optical-cdaudio", TDEIcon::Toolbar) );
ripBtn->setIconSet( TDEGlobal::iconLoader()->loadIconSet("kilogram", TDEIcon::Toolbar) );
connect( cdBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(startCD()) );
@ -205,13 +205,13 @@ void Disc::getTargets( TQStringList &uiNames, TQStringList &iconNames, TQStringL
iconNames.append( "kilogram" );
targetNames.append( "DISC_RIP" );
uiNames.append( i18n("Play Audio CD") );
iconNames.append( "cdaudio_unmount" );
iconNames.append( "media-optical-cdaudio" );
targetNames.append( "DISC_CDDA" );
uiNames.append( i18n("Play DVD") );
iconNames.append( "dvd_unmount" );
iconNames.append( "media-optical-dvd" );
targetNames.append( "DISC_DVD" );
uiNames.append( i18n("Play VCD") );
iconNames.append( "cdrom_unmount" );
iconNames.append( "media-optical-cdrom" );
targetNames.append( "DISC_VCD" );
}
@ -266,9 +266,9 @@ TQWidget* Disc::inputMainWidget()
void Disc::setupActions()
{
new TDEAction(i18n("Open &DVD"), "dvd_unmount", 0, this, TQT_SLOT(startDVD()), actionCollection(), "file_open_dvd");
new TDEAction(i18n("Open &VCD"), "cdrom_unmount", 0, this, TQT_SLOT(startVCD()), actionCollection(), "file_open_vcd");
new TDEAction(i18n("Open &Audio-CD"), "cdaudio_unmount", 0, this, TQT_SLOT(startCD()), actionCollection(), "file_open_audiocd");
new TDEAction(i18n("Open &DVD"), "media-optical-dvd", 0, this, TQT_SLOT(startDVD()), actionCollection(), "file_open_dvd");
new TDEAction(i18n("Open &VCD"), "media-optical-cdrom", 0, this, TQT_SLOT(startVCD()), actionCollection(), "file_open_vcd");
new TDEAction(i18n("Open &Audio-CD"), "media-optical-cdaudio", 0, this, TQT_SLOT(startCD()), actionCollection(), "file_open_audiocd");
}
void Disc::playerStopped()

@ -827,7 +827,7 @@ DvbConfigDialog::DvbConfigDialog( DvbPanel *pan, DVBconfig *dc, TQWidget *parent
}
page = addPage(i18n("Recording"),i18n("DVB Recording Options"),
TDEGlobal::instance()->iconLoader()->loadIcon( "hdd_unmount", TDEIcon::NoGroup, TDEIcon::SizeMedium ) );
TDEGlobal::instance()->iconLoader()->loadIcon( "drive-harddisk", TDEIcon::NoGroup, TDEIcon::SizeMedium ) );
vb = new TQVBoxLayout( page, 6, 6 );
gb = new TQGroupBox( "", page );
grid = new TQGridLayout( gb, 1, 1, 20, 6 );

@ -193,7 +193,7 @@ Kaffeine::Kaffeine() : DCOPObject("KaffeineIface"),
guiFactory()->addClient( m_playlist );
cddisc = new Disc( stack, TQT_TQOBJECT(this) );
inplug->add( cddisc, TDEGlobal::iconLoader()->loadIcon("cdrom_unmount", TDEIcon::Small), i18n( "Audio CD") );
inplug->add( cddisc, TDEGlobal::iconLoader()->loadIcon("media-optical-cdrom", TDEIcon::Small), i18n( "Audio CD") );
guiFactory()->addClient( cddisc );
connect(m_playlist, TQT_SIGNAL(signalRequestForDVD(const TQString&)), cddisc, TQT_SLOT(startDVD(const TQString&)));

@ -71,7 +71,7 @@ GStreamerConfig::GStreamerConfig(const TQStringList& audioDrivers, const TQStrin
layout->addWidget(new TQLabel(TQString("<small>") + i18n("* Restart required!") + "</small>", frame), 10, 1);
//Media page
frame = addPage(i18n("Media"), i18n("Media Options"), TDEGlobal::iconLoader()->loadIcon("cdrom_unmount", TDEIcon::Panel,
frame = addPage(i18n("Media"), i18n("Media Options"), TDEGlobal::iconLoader()->loadIcon("media-optical-cdrom", TDEIcon::Panel,
TDEIcon::SizeMedium));
layout = new TQGridLayout(frame, 10, 2);
layout->setMargin(10);

@ -256,13 +256,13 @@ XineConfig::XineConfig(const xine_t* const xine) :
else if (*it == "video")
icon = "video-x-generic";
else if (*it == "vcd")
icon = "cdrom_unmount";
icon = "media-optical-cdrom";
else if (*it == "input")
icon = "connect_established";
else if (*it == "effects")
icon = "wizard";
else if (*it == "media")
icon = "cdrom_unmount";
icon = "media-optical-cdrom";
else if (*it == "subtitles")
icon = "application-x-font-snf";
else if (*it == "osd")

Loading…
Cancel
Save