gnome-shell r99 - trunk/js/ui



Author: walters
Date: Mon Dec  1 20:03:55 2008
New Revision: 99
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=99&view=rev

Log:
Remove debug logging, make activation work for non-search mode too

Modified:
   trunk/js/ui/appdisplay.js
   trunk/js/ui/overlay.js

Modified: trunk/js/ui/appdisplay.js
==============================================================================
--- trunk/js/ui/appdisplay.js	(original)
+++ trunk/js/ui/appdisplay.js	Mon Dec  1 20:03:55 2008
@@ -316,12 +316,10 @@
     _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);
     },
 

Modified: trunk/js/ui/overlay.js
==============================================================================
--- trunk/js/ui/overlay.js	(original)
+++ trunk/js/ui/overlay.js	Mon Dec  1 20:03:55 2008
@@ -95,14 +95,11 @@
             });
         });
         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;



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