Use the correct ID for app that is being launched

This commit is contained in:
Seif Lotfy 2011-04-04 17:02:54 -04:00 committed by Federico Mena Quintero
parent 23d1d18619
commit 07c39959d9

View File

@ -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);
}));
},