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 9e97026cf4
commit d10678d665

@ -325,7 +325,7 @@ TQPixmap SvnItem::getPixmap(int size,bool overlay)
if (isDir()) { if (isDir()) {
p = tdesvnPartFactory::instance()->iconLoader()->loadIcon("folder",TDEIcon::Desktop,size); p = tdesvnPartFactory::instance()->iconLoader()->loadIcon("folder",TDEIcon::Desktop,size);
} else { } else {
p = tdesvnPartFactory::instance()->iconLoader()->loadIcon("unknown",TDEIcon::Desktop,size); p = tdesvnPartFactory::instance()->iconLoader()->loadIcon(""text-x-katefilelist",TDEIcon::Desktop,size);
} }
} else { } else {
KURL uri; KURL uri;

@ -1556,7 +1556,7 @@ TQDragObject* tdesvnfilelist::dragObject()
if (( urls.count() > 1 ) || (pixmap0Invalid)) { if (( urls.count() > 1 ) || (pixmap0Invalid)) {
int iconSize = Kdesvnsettings::listview_icon_size();; int iconSize = Kdesvnsettings::listview_icon_size();;
iconSize = iconSize ? iconSize : tdesvnPartFactory::instance()->iconLoader()->currentSize( TDEIcon::Small ); // Default = small iconSize = iconSize ? iconSize : tdesvnPartFactory::instance()->iconLoader()->currentSize( TDEIcon::Small ); // Default = small
pixmap2 = DesktopIcon( "tdemultiple", iconSize ); pixmap2 = DesktopIcon( "application-vnd.tde.tdemultiple", iconSize );
if ( pixmap2.isNull() ) { if ( pixmap2.isNull() ) {
kdWarning() << "Could not find multiple pixmap" << endl; kdWarning() << "Could not find multiple pixmap" << endl;
} }

Loading…
Cancel
Save