[gnome-weather] SearchProvider: remove debug spam



commit 87d84b7ea031cab71359d6afbeab798bdf43c0bb
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Fri Mar 20 00:01:28 2015 -0700

    SearchProvider: remove debug spam
    
    I forgot these active

 src/service/searchProvider.js |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/service/searchProvider.js b/src/service/searchProvider.js
index 2b38dca..51605de 100644
--- a/src/service/searchProvider.js
+++ b/src/service/searchProvider.js
@@ -122,7 +122,6 @@ const SearchProvider = new Lang.Class({
         this._app.release();
 
         let result = nameRet.concat(cityRet).concat(countryRet);
-        log(result);
         invocation.return_value(new GLib.Variant('(as)', [result]));
     },
 
@@ -227,7 +226,7 @@ const SearchProvider = new Lang.Class({
     ActivateResult: function(id, terms, timestamp) {
         this._app.hold();
 
-        log('Activating ' + id);
+        //log('Activating ' + id);
 
         let model = this._app.model;
         let info = model.getAtIndex(parseInt(id));
@@ -236,7 +235,7 @@ const SearchProvider = new Lang.Class({
             return;
         }
 
-        log('Activating ' + info.get_location_name());
+        //log('Activating ' + info.get_location_name());
 
         let location = info.location.serialize();
         this._activateAction('show-location', new GLib.Variant('v', location), timestamp);


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