Bring most mimetypes in line with XDG specifications. The following are not fully verified in source as of this commit due to ubiquity: html, empty, info, make, man, misc, source, unknown

pull/1/head
Timothy Pearson 10 years ago
parent 2837ea5b6d
commit 5f032cbe93

@ -314,7 +314,7 @@ void KcmSambaConf::initAdvancedTab()
icon = SmallIcon("tdmconfig"); icon = SmallIcon("tdmconfig");
else else
if (label == i18n("Protocol")) if (label == i18n("Protocol"))
icon = SmallIcon("core"); icon = SmallIcon("application-x-core");
else else
if (label == i18n("Charset")) if (label == i18n("Charset"))
icon = SmallIcon("charset"); icon = SmallIcon("charset");
@ -329,7 +329,7 @@ void KcmSambaConf::initAdvancedTab()
icon = SmallIcon("konqueror"); icon = SmallIcon("konqueror");
else else
if (label == i18n("Misc")) if (label == i18n("Misc"))
icon = SmallIcon("misc"); icon = SmallIcon("application-vnd.tde.misc");
else else
if (label == i18n("Commands")) if (label == i18n("Commands"))
icon = SmallIcon("konsole"); icon = SmallIcon("konsole");

@ -304,7 +304,7 @@ void ShareDlgImpl::initAdvancedTab()
icon = SmallIcon("tdmconfig"); icon = SmallIcon("tdmconfig");
else else
if (label.lower() == "protocol") if (label.lower() == "protocol")
icon = SmallIcon("core"); icon = SmallIcon("application-x-core");
else else
if (label.lower() == "coding") if (label.lower() == "coding")
icon = SmallIcon("charset"); icon = SmallIcon("charset");
@ -319,7 +319,7 @@ void ShareDlgImpl::initAdvancedTab()
icon = SmallIcon("konqueror"); icon = SmallIcon("konqueror");
else else
if (label.lower() == "misc") if (label.lower() == "misc")
icon = SmallIcon("misc"); icon = SmallIcon("application-vnd.tde.misc");
else { else {
icon = TQPixmap(16,16); icon = TQPixmap(16,16);
icon.fill(); icon.fill();

@ -515,7 +515,7 @@ void KopeteMetaContactLVI::slotPhotoChanged()
{ {
m_oldStatusIcon= d->metaContactIcon->pixmap(); m_oldStatusIcon= d->metaContactIcon->pixmap();
TQPixmap photoPixmap; TQPixmap photoPixmap;
//TQPixmap defaultIcon( TDEGlobal::iconLoader()->loadIcon( "vcard", TDEIcon::Desktop ) ); //TQPixmap defaultIcon( TDEGlobal::iconLoader()->loadIcon( ""x-office-address-book", TDEIcon::Desktop ) );
TQImage photoImg = m_metaContact->photo(); TQImage photoImg = m_metaContact->photo();
if ( !photoImg.isNull() && (photoImg.width() > 0) && (photoImg.height() > 0) ) if ( !photoImg.isNull() && (photoImg.width() > 0) && (photoImg.height() > 0) )
{ {

@ -53,7 +53,7 @@ StatisticsPlugin::StatisticsPlugin( TQObject *parent, const char *name, const TQ
{ {
TDEAction *viewMetaContactStatistics = new TDEAction( i18n("View &Statistics" ), TDEAction *viewMetaContactStatistics = new TDEAction( i18n("View &Statistics" ),
TQString::fromLatin1( "log" ), 0, this, TQT_SLOT(slotViewStatistics()), TQString::fromLatin1( "text-x-log" ), 0, this, TQT_SLOT(slotViewStatistics()),
actionCollection(), "viewMetaContactStatistics" ); actionCollection(), "viewMetaContactStatistics" );
viewMetaContactStatistics->setEnabled(Kopete::ContactList::self()->selectedMetaContacts().count() == 1); viewMetaContactStatistics->setEnabled(Kopete::ContactList::self()->selectedMetaContacts().count() == 1);

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
X-Kopete-Version=1000900 X-Kopete-Version=1000900
Icon=texteffect Icon=text-x-texteffect
X-TDE-ServiceTypes=Kopete/Plugin X-TDE-ServiceTypes=Kopete/Plugin
X-TDE-Library=kopete_texteffect X-TDE-Library=kopete_texteffect
X-TDE-PluginInfo-Author=Olivier Goffart X-TDE-PluginInfo-Author=Olivier Goffart

@ -1,5 +1,5 @@
[Desktop Entry] [Desktop Entry]
Icon=texteffect Icon=text-x-texteffect
Type=Service Type=Service
X-TDE-ServiceTypes=TDECModule X-TDE-ServiceTypes=TDECModule

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
X-Kopete-Version=1000900 X-Kopete-Version=1000900
Icon=html Icon=text-x-text-html
X-TDE-ServiceTypes=Kopete/Plugin X-TDE-ServiceTypes=Kopete/Plugin
X-TDE-Library=kopete_webpresence X-TDE-Library=kopete_webpresence
X-TDE-PluginInfo-Author=Will Stephenson X-TDE-PluginInfo-Author=Will Stephenson

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
Icon=html Icon=text-x-text-html
X-TDE-ServiceTypes=TDECModule X-TDE-ServiceTypes=TDECModule
X-TDE-ModuleType=Library X-TDE-ModuleType=Library

Loading…
Cancel
Save