|
a/src/common/rclconfig.cpp |
|
b/src/common/rclconfig.cpp |
|
... |
|
... |
1381 |
}
|
1381 |
}
|
1382 |
|
1382 |
|
1383 |
// List mime types not in mimeview
|
1383 |
// List mime types not in mimeview
|
1384 |
for (vector<string>::const_iterator it = mtypes.begin();
|
1384 |
for (vector<string>::const_iterator it = mtypes.begin();
|
1385 |
it != mtypes.end(); it++) {
|
1385 |
it != mtypes.end(); it++) {
|
1386 |
if (config->getMimeViewerDef(*it, "").empty()) {
|
1386 |
if (config->getMimeViewerDef(*it, "", false).empty()) {
|
1387 |
cout << "No viewer: [" << *it << "]" << endl;
|
1387 |
cout << "No viewer: [" << *it << "]" << endl;
|
1388 |
}
|
1388 |
}
|
1389 |
}
|
1389 |
}
|
1390 |
|
1390 |
|
1391 |
// Check that each mime type has an indexer
|
1391 |
// Check that each mime type has an indexer
|
|
... |
|
... |
1397 |
}
|
1397 |
}
|
1398 |
|
1398 |
|
1399 |
// Check that each mime type has a defined icon
|
1399 |
// Check that each mime type has a defined icon
|
1400 |
for (vector<string>::const_iterator it = mtypes.begin();
|
1400 |
for (vector<string>::const_iterator it = mtypes.begin();
|
1401 |
it != mtypes.end(); it++) {
|
1401 |
it != mtypes.end(); it++) {
|
1402 |
if (config->getMimeIconName(*it) == "document") {
|
1402 |
if (config->getMimeIconPath(*it, "") == "document") {
|
1403 |
cout << "No or generic icon: [" << *it << "]" << endl;
|
1403 |
cout << "No or generic icon: [" << *it << "]" << endl;
|
1404 |
}
|
1404 |
}
|
1405 |
}
|
1405 |
}
|
1406 |
|
1406 |
|
1407 |
} else {
|
1407 |
} else {
|