Browse Source

No need to check for the right suffix twice

pull/1/merge
gapan 13 years ago
parent
commit
b911c027dc
  1. 1
      src/xdgmenumaker

1
src/xdgmenumaker

@ -211,7 +211,6 @@ def menu():
applist = []
for desktopfile in desktopfilelist():
try:
if desktopfile.endswith('.desktop'):
e = get_entry_info(desktopfile)
if e is not None:
applist.append(MenuEntry(e[0], e[1], e[2], e[3]))

Loading…
Cancel
Save