|
|
|
@ -264,7 +264,7 @@ TQString NoteFactory::createNoteLauncherFile(const TQString &command, const TQSt
|
|
|
|
|
"Name=%2\n"
|
|
|
|
|
"Icon=%3\n"
|
|
|
|
|
"Encoding=UTF-8\n"
|
|
|
|
|
"Type=Application\n").arg(command, name, icon.isEmpty() ? TQString("exec") : icon);
|
|
|
|
|
"Type=Application\n").arg(command, name, icon.isEmpty() ? TQString("application-x-executable") : icon);
|
|
|
|
|
TQString fileName = fileNameForNewNote(parent, "launcher.desktop");
|
|
|
|
|
TQString fullPath = parent->fullPathForFileName(fileName);
|
|
|
|
|
// parent->dontCareOfCreation(fullPath);
|
|
|
|
@ -930,7 +930,7 @@ TQString NoteFactory::iconForCommand(const TQString &command)
|
|
|
|
|
icon = TQStringList::split('-', icon).first();
|
|
|
|
|
// 4. If the icon still not findable, use a generic icon
|
|
|
|
|
if ( ! isIconExist(icon) )
|
|
|
|
|
icon = "exec";
|
|
|
|
|
icon = "application-x-executable";
|
|
|
|
|
|
|
|
|
|
return icon;
|
|
|
|
|
}
|
|
|
|
|