[gnome-builder] libide: add escape hatch to ignore project scanning



commit 6dbd728e5f444e2be8fc10a502305e31618f6f40
Author: Christian Hergert <chergert redhat com>
Date:   Sat Mar 25 04:14:45 2017 -0700

    libide: add escape hatch to ignore project scanning

 libide/projects/ide-recent-projects.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/projects/ide-recent-projects.c b/libide/projects/ide-recent-projects.c
index 5563b0e..e2bbc72 100644
--- a/libide/projects/ide-recent-projects.c
+++ b/libide/projects/ide-recent-projects.c
@@ -402,7 +402,7 @@ ide_recent_projects_discover_async (IdeRecentProjects   *self,
 
   ide_recent_projects_load_recent (self);
 
-  if (recent_only)
+  if (recent_only || g_getenv ("IDE_DO_NOT_SCAN_PROJECTS") != NULL)
     {
       g_task_return_boolean (task, TRUE);
       return;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]