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

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

@ -515,7 +515,7 @@ void KopeteMetaContactLVI::slotPhotoChanged()
{
m_oldStatusIcon= d->metaContactIcon->pixmap();
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();
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" ),
TQString::fromLatin1( "log" ), 0, this, TQT_SLOT(slotViewStatistics()),
TQString::fromLatin1( "text-x-log" ), 0, this, TQT_SLOT(slotViewStatistics()),
actionCollection(), "viewMetaContactStatistics" );
viewMetaContactStatistics->setEnabled(Kopete::ContactList::self()->selectedMetaContacts().count() == 1);

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

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

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

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

Loading…
Cancel
Save