[alacarte] MenuEditor: Fix indentation, remove more print statements
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [alacarte] MenuEditor: Fix indentation, remove more print statements
- Date: Wed, 23 May 2012 19:01:43 +0000 (UTC)
commit cb4f03b58c181f72aa539cc5786b808c6cacc8f8
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue May 1 18:01:46 2012 -0400
MenuEditor: Fix indentation, remove more print statements
Alacarte/MenuEditor.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/Alacarte/MenuEditor.py b/Alacarte/MenuEditor.py
index 95310c8..166dc3e 100644
--- a/Alacarte/MenuEditor.py
+++ b/Alacarte/MenuEditor.py
@@ -53,7 +53,6 @@ class MenuEditor(object):
self.__remove_whilespace_nodes(self.applications.dom)
def __menuChanged(self, *a):
- print >> sys.stderr, "changed!\n"
self.applications.visible_tree.load_sync()
def __loadMenus(self):
@@ -517,12 +516,11 @@ class MenuEditor(object):
def __getPath(self, menu, path=None):
if not path:
- path = menu.get_menu_id()
+ path = menu.get_menu_id()
if menu.get_parent():
path = self.__getPath(menu.get_parent(), path)
path += '/'
path += menu.get_menu_id()
- print "%s\n" % path
return path
def __getXmlMenu(self, path, element, dom):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]