Use the correct ID for app that is being launched
This commit is contained in:
parent
23d1d18619
commit
07c39959d9
@ -686,7 +686,7 @@ AppIconMenu.prototype = {
|
|||||||
let item = new PopupMenu.PopupImageMenuItem(info.name, type);
|
let item = new PopupMenu.PopupImageMenuItem(info.name, type);
|
||||||
this.addMenuItem(item);
|
this.addMenuItem(item);
|
||||||
item.connect('activate', Lang.bind(this, function () {
|
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);
|
app.launch_uris([info.uri], null);
|
||||||
}));
|
}));
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user