mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 04:18:27 +02:00
Add support of text manuals (.man.txt files) inside OPK archives
This commit is contained in:
parent
f2e3efd359
commit
610b489d51
@ -408,8 +408,13 @@ void LinkApp::showManual() {
|
|||||||
readme.push_back(str);
|
readme.push_back(str);
|
||||||
free(buf);
|
free(buf);
|
||||||
|
|
||||||
TextDialog td(gmenu2x, getTitle(), "ReadMe", getIconPath(), &readme);
|
if (manual.substr(manual.size()-8,8)==".man.txt") {
|
||||||
td.exec();
|
TextManualDialog tmd(gmenu2x, getTitle(), getIconPath(), &readme);
|
||||||
|
tmd.exec();
|
||||||
|
} else {
|
||||||
|
TextDialog td(gmenu2x, getTitle(), "ReadMe", getIconPath(), &readme);
|
||||||
|
td.exec();
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user