Permalink
Browse files

Do not unload pulseaudio module bluetooth-discover

  • Loading branch information...
1 parent df9d015 commit b2c3cb014ec3fdf09076936e7945f1766a82e037 @cschramm cschramm committed Jun 26, 2014
Showing with 0 additions and 9 deletions.
  1. +0 −9 blueman/plugins/applet/PulseAudio.py
@@ -203,7 +203,6 @@ def on_load(self, applet):
path_keyword="device")
- self.signals.Handle(self.pulse_utils, "connected", self.on_pulse_connected)
self.signals.Handle(self.pulse_utils, "event", self.on_pulse_event)
def on_pulse_event(self, pa_utils, event, idx):
@@ -219,14 +218,6 @@ def card_cb(c):
pa_utils.GetCard(idx, card_cb)
- def on_pulse_connected(self, pa_utils):
- def modules_cb(modules):
- for k, v in modules.iteritems():
- if v["name"] == "module-bluetooth-discover":
- pa_utils.UnloadModule(k, lambda x: dprint("Unload module-bluetooth-discover result", x))
-
- self.pulse_utils.ListModules(modules_cb)
-
def on_unload(self):
self.signals.DisconnectAll()

0 comments on commit b2c3cb0

Please sign in to comment.