Reply To: bug in script desktop-menu? antiX 19.x 32bit/64bit

Forum › Forums › antiX-development › Development › bug in script desktop-menu? antiX 19.x 32bit/64bit › Reply To: bug in script desktop-menu? antiX 19.x 32bit/64bit

#82248
Robin
Member

    Here a next proposal:

    If you’d replace in line 115 (within the last else clause of the conditional branch) the expression

    icon = missing_icon

    by the term

    icon = entry.getIcon()

    the script doesn’t anymore replace formerly existing icons in menu by a red x on white ground, the missing icon symbol obviously, while it wouldn’t run slower (at least I couldn’t notice any difference, please double check). There are a lot of icons removed and replaced by the missing-symbol in menu without this fix, among them even the antiX logo itself and many other programs are concerned.

    This way the script version 3.0 runs fine even on antiX 19.x , so you’d not need to care for two different recent versions any longer, and we can profit from the latest additions (command line options –GenericName and –Comment) on machines only able running antiX 19 also.

    Windows is like a submarine. Open a window and serious problems will start.