mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
27 lines
693 B
JavaScript
27 lines
693 B
JavaScript
const Dialogs = imports.src.dialogs;
|
|
|
|
var actions = {
|
|
open_local: {
|
|
run: (window) => new Dialogs.FileChooser(window),
|
|
accels: ['<Ctrl>O'],
|
|
},
|
|
open_uri: {
|
|
run: (window) => new Dialogs.UriDialog(window),
|
|
accels: ['<Ctrl>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: ['<Ctrl>Right'],
|
|
},
|
|
prev_track: {
|
|
run: (window) => window.child.player.playlistWidget.prevTrack(),
|
|
accels: ['<Ctrl>Left'],
|
|
}
|
|
};
|