# HG changeset patch # User John Lindgren # Date 1240766134 14400 # Node ID 43eb8388760dd81719d8591769f3972c8127aa89 # Parent be6c7aea8665a7284e5a9278653fbf1ac0a34464 Enable opening jump to file dialog from audtool. diff -r be6c7aea8665 -r 43eb8388760d src/audlegacy/dbus.c --- a/src/audlegacy/dbus.c Sun Apr 26 12:32:33 2009 -0400 +++ b/src/audlegacy/dbus.c Sun Apr 26 13:15:34 2009 -0400 @@ -40,6 +40,7 @@ #include "strings.h" #include "tuple.h" #include "ui_fileopener.h" +#include "ui_jumptotrack.h" static DBusGConnection *dbus_conn = NULL; static guint signals[LAST_SIG] = { 0 }; @@ -817,7 +818,10 @@ } gboolean audacious_rc_show_jtf_box(RemoteObject *obj, gboolean show, GError **error) { - hook_call("ui jump to track show", &show); + if (show) + ui_jump_to_track (); + else + ui_jump_to_track_hide (); return TRUE; }