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 47fe9ffffa
commit 5959228db1

@ -51,9 +51,9 @@ HostListItem::HostListItem( TQListView *parent, TQString hostname, bool audio, b
{
setText( HostListItem::Hostname, hostname);
setPixmap( HostListItem::Status, SmallIcon("info") );
setPixmap( HostListItem::Status, SmallIcon("application-vnd.tde.info") );
setText( HostListItem::Status, i18n("Unknown") );
setPixmap( HostListItem::Playback, SmallIcon("info") );
setPixmap( HostListItem::Playback, SmallIcon("application-vnd.tde.info") );
setText( HostListItem::Playback, i18n("Unknown") );
if( 24 /*m_pixmapInset.height()*/ > height() )

@ -58,7 +58,7 @@ Amarok::icon( const TQString& name ) //declared in amarok.h
iconMap["files"] = "folder";
iconMap["files2"] = "folder_red";
iconMap["info"] = "info";
iconMap["lyrics"] = "document";
iconMap["lyrics"] = "text-x-generic";
iconMap["magnatune"] = "cd";
iconMap["mostplayed"] = "favorites";
iconMap["music"] = "today";
@ -96,7 +96,7 @@ Amarok::icon( const TQString& name ) //declared in amarok.h
iconMap["stop"] = "media-playback-stop";
iconMap["podcast"] = "podcast";
iconMap["podcast2"] = "podcast_new";
iconMap["track"] = "sound";
iconMap["track"] = "audio-x-generic";
iconMap["undo"] = "edit-undo";
iconMap["visualizations"] = "visualizations";
iconMap["zoom"] = "edit-find";

@ -85,7 +85,7 @@ UniversalAmarok::UniversalAmarok(TDEInstance *inst,TQObject *parent,TQWidget *wi
TDEToolBar *topBar = new TDEToolBar( widget, "Topbar" );
topBar->setIconSize(16);
topBar->insertButton( "today", 0, TQT_SIGNAL( clicked() ), this, TQT_SLOT( currentTrack() ) );
topBar->insertButton( "document", 0, TQT_SIGNAL( clicked() ), this, TQT_SLOT( lyrics() ) );
topBar->insertButton( "text-x-generic", 0, TQT_SIGNAL( clicked() ), this, TQT_SLOT( lyrics() ) );
topBar->insertButton( "preferences-desktop-personal", 0, TQT_SIGNAL( clicked() ), this, TQT_SLOT( wiki() ) );
browser = new TDEHTMLPart(widget, "widget-browser");

Loading…
Cancel
Save