mark folders better
This commit is contained in:
@@ -182,6 +182,8 @@ class entry_collection:
|
|||||||
launcher = "menu"
|
launcher = "menu"
|
||||||
if row[1][-1] == '/' and os.path.isdir(row[1]):
|
if row[1][-1] == '/' and os.path.isdir(row[1]):
|
||||||
launcher = "dir"
|
launcher = "dir"
|
||||||
|
if row[0][-1] != "/":
|
||||||
|
row[0] += "/"
|
||||||
self.entries.append(
|
self.entries.append(
|
||||||
launch_item(
|
launch_item(
|
||||||
command = row[1],
|
command = row[1],
|
||||||
@@ -213,7 +215,7 @@ class entry_collection:
|
|||||||
self.dirs.append(
|
self.dirs.append(
|
||||||
launch_item(
|
launch_item(
|
||||||
command = d,
|
command = d,
|
||||||
description = d,
|
description = d + "/",
|
||||||
launcher = "dir"
|
launcher = "dir"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user