mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
Use the correct ID for app that is being launched
This commit is contained in:
parent
23d1d18619
commit
07c39959d9
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}));
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue