summaryrefslogtreecommitdiff
path: root/plugins/gtkui/plcommon.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-11-23 23:37:57 +0100
committerGravatar waker <wakeroid@gmail.com>2012-11-23 23:37:57 +0100
commit6e791c9fb449c0da4f8606db1cc5a477ad5742ec (patch)
tree4529e0131a1161e78234e219e3a01210b3f2391c /plugins/gtkui/plcommon.c
parent7c29cb0c857496e4a7c9c2980c4277b88d187c6f (diff)
gtkui: added crop selected hotkey
Diffstat (limited to 'plugins/gtkui/plcommon.c')
-rw-r--r--plugins/gtkui/plcommon.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/gtkui/plcommon.c b/plugins/gtkui/plcommon.c
index 0f4d565c..143a69f2 100644
--- a/plugins/gtkui/plcommon.c
+++ b/plugins/gtkui/plcommon.c
@@ -319,9 +319,7 @@ void
on_crop1_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
- deadbeef->pl_crop_selected ();
- deadbeef->pl_save_all ();
- deadbeef->sendmessage (DB_EV_PLAYLISTCHANGED, 0, 0, 0);
+ action_crop_selected_handler (NULL, 0);
}
void