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 911d0db0e7
commit 7b3b9da58e

@ -42,7 +42,7 @@ namespace kt
LogViewerPlugin::LogViewerPlugin(TQObject* parent, const char* qt_name, const TQStringList& args) LogViewerPlugin::LogViewerPlugin(TQObject* parent, const char* qt_name, const TQStringList& args)
: Plugin(parent, qt_name, args, NAME,i18n("Log Viewer"), AUTHOR, EMAIL, : Plugin(parent, qt_name, args, NAME,i18n("Log Viewer"), AUTHOR, EMAIL,
i18n("Displays ktorrent logging output"),"log") i18n("Displays ktorrent logging output"),"text-x-log")
{ {
lv = 0; lv = 0;
} }
@ -55,7 +55,7 @@ namespace kt
void LogViewerPlugin::load() void LogViewerPlugin::load()
{ {
lv = new LogViewer(); lv = new LogViewer();
this->getGUI()->addToolWidget(lv,"log",i18n("Log Viewer"),GUIInterface::DOCK_BOTTOM); this->getGUI()->addToolWidget(lv,"text-x-log",i18n("Log Viewer"),GUIInterface::DOCK_BOTTOM);
bt::Log & lg = Globals::instance().getLog(0); bt::Log & lg = Globals::instance().getLog(0);
lg.addMonitor(lv); lg.addMonitor(lv);
pref = new LogPrefPage(); pref = new LogPrefPage();

Loading…
Cancel
Save