[gnome-builder/wip/greeter] autotools-miner: set description from doap if available
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/greeter] autotools-miner: set description from doap if available
- Date: Sun, 10 May 2015 18:46:57 +0000 (UTC)
commit 2bcc80af4ce6a65eceb251192e2932dc41d49045
Author: Christian Hergert <christian hergert me>
Date: Sun May 10 11:46:22 2015 -0700
autotools-miner: set description from doap if available
libide/autotools/ide-autotools-project-miner.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libide/autotools/ide-autotools-project-miner.c b/libide/autotools/ide-autotools-project-miner.c
index 3360946..dd03d52 100644
--- a/libide/autotools/ide-autotools-project-miner.c
+++ b/libide/autotools/ide-autotools-project-miner.c
@@ -104,6 +104,7 @@ ide_autotools_project_miner_discovered (IdeAutotoolsProjectMiner *self,
g_autoptr(GDateTime) last_modified_at = NULL;
g_autoptr(IdeDoap) doap = NULL;
const gchar *filename;
+ const gchar *shortdesc = NULL;
guint64 mtime;
IDE_ENTRY;
@@ -147,9 +148,12 @@ ide_autotools_project_miner_discovered (IdeAutotoolsProjectMiner *self,
g_free (name);
name = g_strdup (doap_name);
}
+
+ shortdesc = ide_doap_get_shortdesc (doap);
}
project_info = g_object_new (IDE_TYPE_PROJECT_INFO,
+ "description", shortdesc,
"directory", directory,
"doap", doap,
"file", file,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]