diff options
author | 2012-11-16 20:06:50 +0100 | |
---|---|---|
committer | 2012-11-16 20:06:50 +0100 | |
commit | 1e2be37d17419a97289b33cd9d50142241cecbe0 (patch) | |
tree | 504d3ae5b12146d28ab0c267697160cd6c189986 /plugins/gtkui/plcommon.c | |
parent | 436fdc5411f4d91ad289615364a3b9424202bfbb (diff) |
hotkeys WIP
Diffstat (limited to 'plugins/gtkui/plcommon.c')
-rw-r--r-- | plugins/gtkui/plcommon.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/gtkui/plcommon.c b/plugins/gtkui/plcommon.c index ec84d256..e2399333 100644 --- a/plugins/gtkui/plcommon.c +++ b/plugins/gtkui/plcommon.c @@ -31,6 +31,7 @@ #include "parser.h" #include "actions.h" #include "search.h" +#include "actionhandlers.h" #define min(x,y) ((x)<(y)?(x):(y)) //#define trace(...) { fprintf(stderr, __VA_ARGS__); } @@ -310,9 +311,7 @@ void on_remove1_activate (GtkMenuItem *menuitem, gpointer user_data) { - int cursor = deadbeef->pl_delete_selected (); - deadbeef->pl_save_all (); - deadbeef->sendmessage (DB_EV_PLAYLISTCHANGED, 0, 0, 0); + action_remove_from_playlist_handler (NULL, DDB_ACTION_CTX_SELECTION); } |