[gnome-builder] GbGitSearchProvider: set score for search query
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] GbGitSearchProvider: set score for search query
- Date: Wed, 17 Dec 2014 10:48:54 +0000 (UTC)
commit 17542b6a37e7d0e96ced569ffe26e859dd40bd44
Author: Christian Hergert <christian hergert me>
Date: Mon Dec 15 21:43:05 2014 -0800
GbGitSearchProvider: set score for search query
src/git/gb-git-search-provider.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/git/gb-git-search-provider.c b/src/git/gb-git-search-provider.c
index e75e6a8..1ce84e0 100644
--- a/src/git/gb-git-search-provider.c
+++ b/src/git/gb-git-search-provider.c
@@ -221,6 +221,7 @@ gb_git_search_provider_populate (GbSearchProvider *provider,
/* TODO: Make a git file search result */
widget = g_object_new (GB_TYPE_GIT_SEARCH_RESULT,
"visible", TRUE,
+ "score", match->score,
"path", match->key,
NULL);
list = g_list_prepend (list, widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]