[Xfce4-commits] [apps/xfdashboard] 01/01: Update result container for a search provider in search view *after* search terms has been updated so that the updated and current search terms are available when updating result container.

noreply at xfce.org noreply at xfce.org
Fri Jan 8 09:59:07 CET 2016


This is an automated email from the git hooks/post-receive script.

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit 5a11fb9cb07a67ed180a56a497592aaadb59128c
Author: Stephan Haller <nomad at froevel.de>
Date:   Fri Jan 8 09:58:09 2016 +0100

    Update result container for a search provider in search view *after* search terms has been updated so that the updated and current search terms are available when updating result container.
---
 xfdashboard/search-view.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/xfdashboard/search-view.c b/xfdashboard/search-view.c
index 9359e49..5b7b194 100644
--- a/xfdashboard/search-view.c
+++ b/xfdashboard/search-view.c
@@ -1029,13 +1029,13 @@ static guint _xfdashboard_search_view_perform_search(XfdashboardSearchView *self
 		/* Count number of results */
 		if(providerNewResultSet) numberResults+=xfdashboard_search_result_set_get_size(providerNewResultSet);
 
-		/* Update view of search provider for new result set */
-		_xfdashboard_search_view_update_provider_container(self, providerData, providerNewResultSet);
-
 		/* Remember new search term as last one at search provider */
 		if(providerData->lastTerms) _xfdashboard_search_view_search_terms_unref(providerData->lastTerms);
 		providerData->lastTerms=_xfdashboard_search_view_search_terms_ref(inSearchTerms);
 
+		/* Update view of search provider for new result set */
+		_xfdashboard_search_view_update_provider_container(self, providerData, providerNewResultSet);
+
 		/* Release allocated resources */
 		if(providerLastResultSet) g_object_unref(providerLastResultSet);
 		if(providerNewResultSet) g_object_unref(providerNewResultSet);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list