[gnome-shell] Bug 590985 - Fix frequent apps list being empty



commit 91911da302a2e1fc44a237c47ae41a8302d771d8
Author: Colin Walters <walters verbum org>
Date:   Sat Aug 8 11:57:09 2009 -0400

    Bug 590985 - Fix frequent apps list being empty
    
    We shouldn't append .desktop again, that was a leftover from
    the old WM_CLASS based application code.

 js/ui/appDisplay.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 6e33521..3406ee4 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -275,7 +275,7 @@ AppDisplay.prototype = {
     _getMostUsed: function() {
         let context = "";
         return this._appMonitor.get_most_used_apps(context, 30).map(Lang.bind(this, function (id) {
-            return this._appSystem.lookup_app(id + '.desktop');
+            return this._appSystem.lookup_app(id);
         })).filter(function (e) { return e != null });
     },
 



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