summaryrefslogtreecommitdiff
path: root/plugins/gtkui/actionhandlers.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-11-18 21:06:03 +0100
committerGravatar waker <wakeroid@gmail.com>2012-11-18 21:06:03 +0100
commitce61239ec9771efb95790bbbb349ecfdf21f1ac9 (patch)
tree25f898a6502bb74ae8cac6825403fa92a9010d8e /plugins/gtkui/actionhandlers.c
parentc07825fe34a7c935372961725f46a3288de8ee85 (diff)
gtkui: added track properties hotkey impl
Diffstat (limited to 'plugins/gtkui/actionhandlers.c')
-rw-r--r--plugins/gtkui/actionhandlers.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/gtkui/actionhandlers.c b/plugins/gtkui/actionhandlers.c
index a7337a1a..d6c7c93e 100644
--- a/plugins/gtkui/actionhandlers.c
+++ b/plugins/gtkui/actionhandlers.c
@@ -35,6 +35,7 @@
#include "support.h"
#include "wingeom.h"
#include "interface.h"
+#include "trkproperties.h"
extern GtkWidget *mainwin;
extern DB_functions_t *deadbeef;
@@ -559,3 +560,15 @@ action_delete_from_disk_handler (DB_plugin_action_t *act, int ctx) {
gdk_threads_add_idle (action_delete_from_disk_handler_cb, (void *)(intptr_t)ctx);
return 0;
}
+
+gboolean
+action_show_track_properties_handler_cb (void *data) {
+ show_track_properties_dlg ((intptr_t)data);
+ return FALSE;
+}
+
+int
+action_show_track_properties_handler (DB_plugin_action_t *act, int ctx) {
+ gdk_threads_add_idle (action_show_track_properties_handler_cb, (void *)(intptr_t)ctx);
+ return 0;
+}