[gnome-builder/gnome-builder-3-26] application: disable greeter when opening project



commit 0600b8a158f3ae9b9508c3ea057330b2465f0b5d
Author: Christian Hergert <chergert redhat com>
Date:   Tue Sep 26 02:07:02 2017 -0700

    application: disable greeter when opening project
    
    When we are opening a project from the command line, ensure that we
    disable the greeter to avoid creating any of those objects, widgets, or
    extensions.

 libide/application/ide-application.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libide/application/ide-application.c b/libide/application/ide-application.c
index d37e025..4f76a17 100644
--- a/libide/application/ide-application.c
+++ b/libide/application/ide-application.c
@@ -781,6 +781,7 @@ ide_application_open_project (IdeApplication *self,
     {
       workbench = g_object_new (IDE_TYPE_WORKBENCH,
                                 "application", self,
+                                "disable-greeter", TRUE,
                                 NULL);
       ide_workbench_open_project_async (workbench, file, NULL, NULL, NULL);
     }


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