[gnome-builder] jhbuild: ensure JhbuildRuntime has access to IdeContext
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] jhbuild: ensure JhbuildRuntime has access to IdeContext
- Date: Sun, 17 Jul 2016 10:22:04 +0000 (UTC)
commit d931063cd66969a39278ff2967a5db40e8454064
Author: Christian Hergert <chergert redhat com>
Date: Sun Jul 17 02:33:37 2016 -0700
jhbuild: ensure JhbuildRuntime has access to IdeContext
plugins/jhbuild/jhbuild_plugin.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plugins/jhbuild/jhbuild_plugin.py b/plugins/jhbuild/jhbuild_plugin.py
index 3a7483c..be7ad45 100644
--- a/plugins/jhbuild/jhbuild_plugin.py
+++ b/plugins/jhbuild/jhbuild_plugin.py
@@ -100,7 +100,10 @@ class JhbuildRuntimeProvider(GObject.Object, Ide.RuntimeProvider):
def do_load(self, manager):
if self._is_jhbuild_installed():
- runtime = JhbuildRuntime(id="jhbuild", display_name="JHBuild")
+ context = manager.get_context()
+ runtime = JhbuildRuntime(context=context,
+ id="jhbuild",
+ display_name="JHBuild")
manager.add(runtime)
self.runtimes.append(runtime)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]