summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHeinrich Wendel <h_wendel@cojobo.net>2005-03-18 21:53:20 +0000
committerHeinrich Wendel <h_wendel@cojobo.net>2005-03-18 21:53:20 +0000
commit724e755486caba9d92e2829a9ebbfa15e0d517fd (patch)
tree35dab2adfa45376d1a3cf88a94f79ab4930db9c9 /test
parentf48c61aedf8904413a28884795ef004be85bde51 (diff)
...
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-menu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-menu.py b/test/test-menu.py
index 96c25dc..58276c9 100755
--- a/test/test-menu.py
+++ b/test/test-menu.py
@@ -7,7 +7,7 @@ import xdg.DesktopEntry
def show_menu(menu, depth = 0):
# print depth*"-" + "\x1b[01m" + menu.getName().encode("ascii", 'ignore') + "\x1b[0m"
- depth += 1
+# depth += 1
for entry in menu.getEntries():
if isinstance(entry, xdg.Menu.Menu):
show_menu(entry, depth)
@@ -18,7 +18,7 @@ def show_menu(menu, depth = 0):
# print depth*"-" + "|||"
# elif isinstance(entry, xdg.Menu.Header):
# print depth*"-" + "\x1b[01m" + entry.Name + "\x1b[0m"
- depth -= 1
+# depth -= 1
try:
menu = xdg.Menu.parse(sys.argv[1])