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/2/head
Timothy Pearson 10 years ago
parent 0264b4998b
commit a67fdce271

@ -85,7 +85,7 @@ void HitWidget::setCollapsed(bool collapsed)
i18n("Collapse All"); i18n("Collapse All");
i18n("(still searching)"); i18n("(still searching)");
#endif #endif
toolButton1->setIconSet(SmallIconSet("info")); toolButton1->setIconSet(SmallIconSet("application-vnd.tde.info"));
description->setHidden(true); description->setHidden(true);
properties->setHidden(true); properties->setHidden(true);
score->setHidden(true); score->setHidden(true);

@ -1508,7 +1508,7 @@ void torkView::populateMenu()
)+"</qt>"); )+"</qt>");
KURLLabel *buttonStart = new KURLLabel(welcomeitem); KURLLabel *buttonStart = new KURLLabel(welcomeitem);
buttonStart->setPixmap(SmallIcon("info")); buttonStart->setPixmap(SmallIcon("application-vnd.tde.info"));
welcomeitem->insertHitWidget(0,buttonStart); welcomeitem->insertHitWidget(0,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(aboutTor())); connect(buttonStart, SIGNAL(leftClickedURL()), SIGNAL(aboutTor()));
@ -1572,7 +1572,7 @@ void torkView::populateMenu()
//firefoxitem->insertWidget(1,countries); //firefoxitem->insertWidget(1,countries);
buttonStart = new KURLLabel(firefoxitem); buttonStart = new KURLLabel(firefoxitem);
buttonStart->setPixmap(SmallIcon("info")); buttonStart->setPixmap(SmallIcon("application-vnd.tde.info"));
firefoxitem->insertHitWidget(0,buttonStart); firefoxitem->insertHitWidget(0,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SLOT(downloadTorButton())); connect(buttonStart, SIGNAL(leftClickedURL()), SLOT(downloadTorButton()));
@ -1620,7 +1620,7 @@ void torkView::populateMenu()
buttonStart = new KURLLabel(mixminionitem); buttonStart = new KURLLabel(mixminionitem);
buttonStart->setPixmap(SmallIcon("info")); buttonStart->setPixmap(SmallIcon("application-vnd.tde.info"));
mixminionitem->insertHitWidget(0,buttonStart); mixminionitem->insertHitWidget(0,buttonStart);
connect(buttonStart, SIGNAL(leftClickedURL()), SLOT(downloadMixminion())); connect(buttonStart, SIGNAL(leftClickedURL()), SLOT(downloadMixminion()));

Loading…
Cancel
Save