[gnome-shell/zeitgeist] Use the correct ID for app that is being launched



commit 07c39959d97d7dd1ea4523191c1b60fe657ff192
Author: Seif Lotfy <seif lotfy com>
Date:   Mon Apr 4 17:02:54 2011 -0400

    Use the correct ID for app that is being launched

 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 72378d2..e6270d8 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -686,7 +686,7 @@ AppIconMenu.prototype = {
         let item = new PopupMenu.PopupImageMenuItem(info.name, type);
         this.addMenuItem(item);
         item.connect('activate', Lang.bind(this, function () {
-            let app = new Gio.DesktopAppInfo.new_from_filename();
+            let app = new Gio.DesktopAppInfo.new(this._source.app.get_id());
             app.launch_uris([info.uri], null);
         }));
     },



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