Commit 1660320d authored by Marinus Schraal's avatar Marinus Schraal

coregrilo: Fix a fail in CoreGrilo

Likely to result in crashes.
parent 4c778237
......@@ -30,10 +30,11 @@ class CoreGrilo(GObject.GObject):
if source.props.source_id == "grl-tracker-source":
new_wrapper = GrlTrackerSource(
source, self._coremodel, self._coreselection, self)
self._wrappers.append(new_wrapper)
elif source.props.source_id[:10] == "grl-dleyna":
new_wrapper = GrlDLeynaSource(
source, self._coremodel, self._coreselection, self)
self._wrappers.append(new_wrapper)
self._wrappers.append(new_wrapper)
print(new_wrapper, "added")
def _on_source_removed(self, registry, source):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment