equal
deleted
inserted
replaced
35 cmd = desktop.getExec().rstrip('%FUfu') |
35 cmd = desktop.getExec().rstrip('%FUfu') |
36 if icon == '': |
36 if icon == '': |
37 print u'AddToMenu "%s" "%s" Exec exec %s' % (name, desktop.getName(), cmd) |
37 print u'AddToMenu "%s" "%s" Exec exec %s' % (name, desktop.getName(), cmd) |
38 else: |
38 else: |
39 if icon.rfind('/') == -1 and icon.rfind('.') == -1: |
39 if icon.rfind('/') == -1 and icon.rfind('.') == -1: |
40 icon = icon + ".png" |
40 icon = icon + ".xpm" |
41 print u'AddToMenu "%s" "%s%%%s%%" Exec exec %s' % (name, desktop.getName(), icon, cmd) |
41 print u'AddToMenu "%s" "%s%%%s%%" Exec exec %s' % (name, desktop.getName(), icon, cmd) |
42 else: |
42 else: |
43 pass |
43 pass |
44 |
44 |
45 parse_menu(sys_menu, fvwm_menu_name) |
45 parse_menu(sys_menu, fvwm_menu_name) |