Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpgritti@gmail.com>2008-10-03 00:28:47 (GMT)
committer Marco Pesenti Gritti <mpgritti@gmail.com>2008-10-03 00:28:47 (GMT)
commit5fd0fa22dad911632995a2d49f28fba6b84c4873 (patch)
treec196934cc5cf057a174623d7e765d60bdb1a6bc1 /bin
parent944643ee56b335a6f1f1cd0841230db6b068ec5a (diff)
Remove unused method
Diffstat (limited to 'bin')
-rw-r--r--bin/sugar-shell11
1 files changed, 0 insertions, 11 deletions
diff --git a/bin/sugar-shell b/bin/sugar-shell
index 0cdda2f..efa1142 100644
--- a/bin/sugar-shell
+++ b/bin/sugar-shell
@@ -44,17 +44,6 @@ def _setup_translations():
gettext.bindtextdomain(domain, locale_path)
gettext.textdomain(domain)
-def check_cm(bus_name):
- try:
- bus = dbus.SessionBus()
- bus_object = bus.get_object('org.freedesktop.DBus',
- '/org/freedesktop/DBus')
- name_ = bus_object.GetNameOwner(bus_name,
- dbus_interface='org.freedesktop.DBus')
- except dbus.DBusException:
- return False
- return True
-
def _shell_started_cb():
# Unfreeze the display
hw_manager = hardwaremanager.get_manager()