[gnome-weather] SearchProvider: fix GetInitialResultSet



commit d8f146d1a58ac1f722e9990eb7d9153502dcd054
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Fri Mar 6 19:05:59 2015 -0800

    SearchProvider: fix GetInitialResultSet
    
    We must return something larger than 0 sometimes.

 src/service/searchProvider.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/service/searchProvider.js b/src/service/searchProvider.js
index 629a116..2fb8021 100644
--- a/src/service/searchProvider.js
+++ b/src/service/searchProvider.js
@@ -115,6 +115,8 @@ const SearchProvider = new Lang.Class({
                 else
                     countryRet.push(path);
             }
+
+            index++;
         }
 
         this._app.release();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]