Make method private

This commit is contained in:
Stein Magnus Jodal 2011-07-29 23:45:54 +02:00
parent 61ca0669e7
commit d56d4ea628

View File

@ -63,7 +63,7 @@ class MprisFrontend(ThreadingActor, BackendListener):
def on_start(self):
try:
self.mpris_object = objects.MprisObject()
self.send_startup_notification()
self._send_startup_notification()
except Exception as e:
logger.error(u'MPRIS frontend setup failed (%s)', e)
self.stop()
@ -75,7 +75,7 @@ class MprisFrontend(ThreadingActor, BackendListener):
self.mpris_object = None
logger.debug(u'Removed MPRIS object from D-Bus connection')
def send_startup_notification(self):
def _send_startup_notification(self):
"""
Send startup notification using libindicate to make Mopidy appear in
e.g. `Ubuntu's sound menu <https://wiki.ubuntu.com/SoundMenu>`_.