From b535a8949b32b7b5853c44564ca948a64c0ab0ab Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 1 Dec 2008 20:03:55 +0000 Subject: [PATCH] Remove debug logging, make activation work for non-search mode too svn path=/trunk/; revision=99 --- js/ui/appdisplay.js | 2 -- js/ui/overlay.js | 3 --- 2 files changed, 5 deletions(-) diff --git a/js/ui/appdisplay.js b/js/ui/appdisplay.js index 176b6585c..835609c7d 100644 --- a/js/ui/appdisplay.js +++ b/js/ui/appdisplay.js @@ -316,12 +316,10 @@ AppDisplay.prototype = { _selectIndex: function(index) { if (this._selectedIndex != -1) { let prev = this._findDisplayedByIndex(this._selectedIndex); - log("demarking " + prev); prev.markSelected(false); } this._selectedIndex = index; let item = this._findDisplayedByIndex(index); - log("marking " + item); item.markSelected(true); }, diff --git a/js/ui/overlay.js b/js/ui/overlay.js index 488cc5783..52f110bd4 100644 --- a/js/ui/overlay.js +++ b/js/ui/overlay.js @@ -95,14 +95,11 @@ Sideshow.prototype = { }); }); this._searchEntry.connect('activate', function (se) { - if (!me._searchActive) - return false; me._appdisplay.searchActivate(); return true; }); this._searchEntry.connect('key-press-event', function (se, e) { let code = e.get_code(); - log("code: " + code); if (code == 111) { me._appdisplay.selectUp(); return true;