const Dialogs = imports.src.dialogs; var actions = { open_local: { run: (window) => new Dialogs.FileChooser(window), accels: ['O'], }, open_uri: { run: (window) => new Dialogs.UriDialog(window), accels: ['U'], }, prefs: { run: (window) => new Dialogs.PrefsDialog(window), }, about: { run: (window) => new Dialogs.AboutDialog(window), }, next_track: { run: (window) => window.child.player.playlistWidget.nextTrack(), accels: ['Right'], }, prev_track: { run: (window) => window.child.player.playlistWidget.prevTrack(), accels: ['Left'], } };