Skip to content

Commit

Permalink
Cinnamon Settings: Remove a couple of old debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
clefebvre committed Apr 20, 2016
1 parent 580febc commit 34111a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions files/usr/bin/cinnamon-settings
Expand Up @@ -5,10 +5,8 @@ import os, sys
if len(sys.argv) > 1:
module = sys.argv[1]
if os.path.exists("/usr/share/cinnamon/cinnamon-settings/modules/cs_%s.py" % module):
print "Python module"
os.execvp("/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", ("",) + tuple(sys.argv[1:]))
elif os.path.exists("/usr/bin/cinnamon-control-center"):
print "Unknown module %s, using cinnamon-control-center" % module
os.execvp("/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", ("",) + tuple(sys.argv[1:]))
elif os.path.exists("/usr/bin/gnome-control-center"):
print "Unknown module %s, calling gnome-control-center" % module
Expand Down
Expand Up @@ -85,6 +85,7 @@
]

def print_timing(func):
# decorate functions with @print_timing to output how long they take to run.
def wrapper(*arg):
t1 = time.time()
res = func(*arg)
Expand Down Expand Up @@ -179,7 +180,6 @@ def deselect(self, cat):
self.side_view[key].unselect_all()

''' Create the UI '''
@print_timing
def __init__(self):
self.builder = Gtk.Builder()
self.builder.add_from_file("/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.ui")
Expand Down

0 comments on commit 34111a9

Please sign in to comment.