mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Export playlist to file with Ctrl+E
This commit is contained in:
@@ -2,6 +2,7 @@ const Dialogs = imports.src.dialogs;
|
||||
|
||||
var actions = {
|
||||
open_local: ['<Ctrl>O'],
|
||||
export_playlist: ['<Ctrl>E'],
|
||||
open_uri: ['<Ctrl>U'],
|
||||
prefs: null,
|
||||
about: null,
|
||||
@@ -30,7 +31,8 @@ function handleAction(action, window)
|
||||
|
||||
switch(action.name) {
|
||||
case 'open_local':
|
||||
new Dialogs.FileChooser(window);
|
||||
case 'export_playlist':
|
||||
new Dialogs.FileChooser(window, action.name);
|
||||
break;
|
||||
case 'open_uri':
|
||||
new Dialogs.UriDialog(window);
|
||||
|
Reference in New Issue
Block a user