[gnome-builder] plugins: allow plugins to load during `ide` tool use
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] plugins: allow plugins to load during `ide` tool use
- Date: Mon, 28 Dec 2015 01:39:15 +0000 (UTC)
commit 59366e5d1e0456024a33b76b91934a7d545ff5d7
Author: Christian Hergert <christian hergert me>
Date: Sun Dec 27 17:38:08 2015 -0800
plugins: allow plugins to load during `ide` tool use
We might need the plugin to support loading a project, such as autotools
or git.
libide/ide-application-plugins.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libide/ide-application-plugins.c b/libide/ide-application-plugins.c
index c3e831d..4d3c79d 100644
--- a/libide/ide-application-plugins.c
+++ b/libide/ide-application-plugins.c
@@ -41,8 +41,11 @@ ide_application_can_load_plugin (IdeApplication *self,
if (self->mode == IDE_APPLICATION_MODE_TOOL)
{
- if (self->tool != plugin_info)
- return FALSE;
+ /*
+ * Plugins might provide critical features needed
+ * to load a project (build system, vcs, etc).
+ */
+ return TRUE;
}
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]