Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin/sugar-shell
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sugar-shell')
-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()