[gnome-builder] create-project: set directory for project info
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] create-project: set directory for project info
- Date: Sat, 12 Jan 2019 00:42:59 +0000 (UTC)
commit 7ec2fe4994db05bffc0368180e9016ebaaba6ae4
Author: Christian Hergert <chergert redhat com>
Date: Fri Jan 11 16:42:02 2019 -0800
create-project: set directory for project info
src/plugins/create-project/gbp-create-project-surface.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/create-project/gbp-create-project-surface.c
b/src/plugins/create-project/gbp-create-project-surface.c
index a412c9353..04bba9d0a 100644
--- a/src/plugins/create-project/gbp-create-project-surface.c
+++ b/src/plugins/create-project/gbp-create-project-surface.c
@@ -632,6 +632,7 @@ init_vcs_cb (GObject *object,
project_info = ide_project_info_new ();
ide_project_info_set_file (project_info, project_file);
+ ide_project_info_set_directory (project_info, project_file);
workspace = gtk_widget_get_ancestor (GTK_WIDGET (self), IDE_TYPE_GREETER_WORKSPACE);
ide_greeter_workspace_open_project (IDE_GREETER_WORKSPACE (workspace), project_info);
@@ -684,6 +685,7 @@ extract_cb (GObject *object,
project_info = ide_project_info_new ();
ide_project_info_set_file (project_info, project_file);
+ ide_project_info_set_directory (project_info, project_file);
workspace = gtk_widget_get_ancestor (GTK_WIDGET (self), IDE_TYPE_GREETER_WORKSPACE);
ide_greeter_workspace_open_project (IDE_GREETER_WORKSPACE (workspace), project_info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]