[gnome-builder] recent: use user-defined directory for purge
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] recent: use user-defined directory for purge
- Date: Wed, 27 Mar 2019 00:52:56 +0000 (UTC)
commit 5aff2ca51511e62573f0ac98986bead98eb2992b
Author: Christian Hergert <chergert redhat com>
Date: Tue Mar 26 17:52:08 2019 -0700
recent: use user-defined directory for purge
src/plugins/recent/gbp-recent-section.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/recent/gbp-recent-section.c b/src/plugins/recent/gbp-recent-section.c
index 96ecfb03a..6552e8624 100644
--- a/src/plugins/recent/gbp-recent-section.c
+++ b/src/plugins/recent/gbp-recent-section.c
@@ -22,6 +22,9 @@
#include <glib/gi18n.h>
#include <libide-greeter.h>
+#include <libide-projects.h>
+
+#include "ide-project-info-private.h"
#include "ide-truncate-model.h"
@@ -387,7 +390,7 @@ gbp_recent_section_purge_selected_full (IdeGreeterSection *section,
{
g_autoptr(IdeProjectInfo) info = iter->data;
const gchar *name = ide_project_info_get_name (info);
- GFile *directory = ide_project_info_get_directory (info);
+ GFile *directory = _ide_project_info_get_real_directory (info);
GFile *file = ide_project_info_get_file (info);
g_autoptr(GFile) parent = NULL;
g_autofree gchar *id = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]