removing some verbosity

This commit is contained in:
ville rantanen
2014-07-23 17:45:08 +03:00
parent 1b74b01aae
commit b5d52a173b

View File

@@ -155,9 +155,9 @@ class entry_collection:
continue
row=row.strip().split(':',1)
if len(row)==1:
row=[row[0], row[0]]
row=["$"+row[0].strip(), row[0]]
else:
row=[row[0].strip()+' ('+row[1].strip()+')',row[1]]
row=[row[0].strip(),row[1]]
self.entries.append(launch_item(command=row[1],
description=row[0],
launcher="menu"))