From 07c39959d97d7dd1ea4523191c1b60fe657ff192 Mon Sep 17 00:00:00 2001 From: Seif Lotfy Date: Mon, 4 Apr 2011 17:02:54 -0400 Subject: [PATCH] Use the correct ID for app that is being launched --- js/ui/appDisplay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 72378d2c7..e6270d840 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); })); },