Skip to content

Commit

Permalink
appIcons: Raise the snap store before selecting a snap
Browse files Browse the repository at this point in the history
LP: #2081716
  • Loading branch information
3v1n0 committed Sep 23, 2024
1 parent 9761598 commit c415ac3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,8 @@ const DockAppIconMenu = class DockAppIconMenu extends PopupMenu.PopupMenu {
if (snapStore) {
this._appendSeparator();
const item = this._appendMenuItem(_('App Details'));
item.connect('activate', () => {
item.connect('activate', (_, event) => {
snapStore.activate_full(-1, event.get_time());
Util.spawnApp(
[...snapStore.appInfo.get_commandline().split(' '), snapName]);
Main.overview.hide();
Expand Down

0 comments on commit c415ac3

Please sign in to comment.