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



commit 2ea3b376ecbe776e1e957674b1e30a47e5d62313
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.

 src/libide/application/ide-application.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libide/application/ide-application.c b/src/libide/application/ide-application.c
index 9a256d9..15b7f20 100644
--- a/src/libide/application/ide-application.c
+++ b/src/libide/application/ide-application.c
@@ -789,6 +789,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]