[gnome-builder/wip/chergert/perspective] git: open the project after cloning



commit c6151cdc60b247659e9985461c05a8d49a31aa37
Author: Christian Hergert <chergert redhat com>
Date:   Mon Nov 30 22:37:00 2015 -0800

    git: open the project after cloning

 plugins/git/ide-git-clone-widget.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/git/ide-git-clone-widget.c b/plugins/git/ide-git-clone-widget.c
index 146196f..404d780 100644
--- a/plugins/git/ide-git-clone-widget.c
+++ b/plugins/git/ide-git-clone-widget.c
@@ -212,8 +212,7 @@ open_after_timeout (gpointer user_data)
     }
   else
     {
-      //g_signal_emit (self, signals [OPEN_PROJECT], 0, file);
-      ide_workbench_set_visible_perspective_name (workbench, "editor");
+      ide_workbench_open_project_async (workbench, file, NULL, NULL, NULL);
     }
 
   return G_SOURCE_REMOVE;


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