[gnome-builder/search] GbGitSearchProvider: set score for search query
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/search] GbGitSearchProvider: set score for search query
- Date: Tue, 16 Dec 2014 05:43:21 +0000 (UTC)
commit d32b159c25c6df66943d91d65f6e1ea89f4c5e9d
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]