Mercurial > audlegacy
changeset 4874:43eb8388760d
Enable opening jump to file dialog from audtool.
author | John Lindgren <john.lindgren@tds.net> |
---|---|
date | Sun, 26 Apr 2009 13:15:34 -0400 |
parents | be6c7aea8665 |
children | 4168232afc19 |
files | src/audlegacy/dbus.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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; }