Use correct icon for man links.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 176a252e2f)
r14.0.x
Michele Calgaro 3 years ago
parent 595591dc00
commit f2105e4067
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -214,7 +214,7 @@ void AppImpl::createManPageEntry(TQValueList<TDEIO::UDSEntry> &list, const TQStr
addAtom(entry, TDEIO::UDS_URL, 0, "man:/"+shortname); addAtom(entry, TDEIO::UDS_URL, 0, "man:/"+shortname);
addAtom(entry, TDEIO::UDS_FILE_TYPE, S_IFREG); addAtom(entry, TDEIO::UDS_FILE_TYPE, S_IFREG);
addAtom(entry, TDEIO::UDS_MIME_TYPE, 0, "application/x-desktop"); addAtom(entry, TDEIO::UDS_MIME_TYPE, 0, "application/x-desktop");
addAtom(entry, TDEIO::UDS_ICON_NAME, 0, "man"); addAtom(entry, TDEIO::UDS_ICON_NAME, 0, "application-x-troff-man");
addAtom(entry, TDEIO::UDS_SIZE, 0, ""); addAtom(entry, TDEIO::UDS_SIZE, 0, "");
list.append(entry); list.append(entry);
} }

Loading…
Cancel
Save