diff -Naur xmms-1.2.8/libxmms/xmmsctrl.c xmms-1.2.8-new/libxmms/xmmsctrl.c --- xmms-1.2.8/libxmms/xmmsctrl.c 2003-09-04 15:48:34.000000000 +0200 +++ xmms-1.2.8-new/libxmms/xmmsctrl.c 2003-09-06 18:18:53.000000000 +0200 @@ -381,6 +381,11 @@ remote_cmd(session, CMD_PLAY_PAUSE); } +void xmms_remote_show_jump_box(gint session) +{ + remote_cmd(session, CMD_SHOW_JUMP_BOX); +} + gboolean xmms_remote_is_playing(gint session) { return remote_get_gboolean(session, CMD_IS_PLAYING); diff -Naur xmms-1.2.8/libxmms/xmmsctrl.h xmms-1.2.8-new/libxmms/xmmsctrl.h --- xmms-1.2.8/libxmms/xmmsctrl.h 2003-06-09 15:22:10.000000000 +0200 +++ xmms-1.2.8-new/libxmms/xmmsctrl.h 2003-09-06 18:18:53.000000000 +0200 @@ -61,6 +61,7 @@ gboolean xmms_remote_is_pl_win(gint session); gboolean xmms_remote_is_eq_win(gint session); void xmms_remote_show_prefs_box(gint session); +void xmms_remote_show_jump_box(gint session); void xmms_remote_toggle_aot(gint session, gboolean ontop); void xmms_remote_eject(gint session); void xmms_remote_playlist_prev(gint session); diff -Naur xmms-1.2.8/xmms/controlsocket.c xmms-1.2.8-new/xmms/controlsocket.c --- xmms-1.2.8/xmms/controlsocket.c 2003-09-04 15:48:34.000000000 +0200 +++ xmms-1.2.8-new/xmms/controlsocket.c 2003-09-06 18:18:53.000000000 +0200 @@ -506,6 +506,9 @@ case CMD_SET_SKIN: load_skin(data); break; + case CMD_SHOW_JUMP_BOX: + show_jump_to_file(); + break; case CMD_PL_WIN_TOGGLE: tbool = *((gboolean *) data); playlistwin_show(!!tbool); diff -Naur xmms-1.2.8/xmms/controlsocket.h xmms-1.2.8-new/xmms/controlsocket.h --- xmms-1.2.8/xmms/controlsocket.h 2003-06-09 15:22:10.000000000 +0200 +++ xmms-1.2.8-new/xmms/controlsocket.h 2003-09-06 18:18:53.000000000 +0200 @@ -46,6 +46,7 @@ CMD_GET_EQ, CMD_GET_EQ_PREAMP, CMD_GET_EQ_BAND, CMD_SET_EQ, CMD_SET_EQ_PREAMP, CMD_SET_EQ_BAND, CMD_QUIT, CMD_PLAYLIST_INS_URL_STRING, CMD_PLAYLIST_INS, CMD_PLAY_PAUSE, + CMD_SHOW_JUMP_BOX }; typedef struct diff -Naur xmms-1.2.8/xmms/main.c xmms-1.2.8-new/xmms/main.c --- xmms-1.2.8/xmms/main.c 2003-09-02 15:01:40.000000000 +0200 +++ xmms-1.2.8-new/xmms/main.c 2003-09-06 18:18:53.000000000 +0200 @@ -1847,6 +1847,11 @@ GTK_CLIST(clist)->focus_row = GPOINTER_TO_INT(GTK_CLIST(clist)->selection->data); } +void show_jump_to_file(void) +{ + mainwin_jump_to_file(); +} + static gboolean mainwin_configure(GtkWidget * window, GdkEventConfigure *event, gpointer data) { if (!GTK_WIDGET_VISIBLE(window)) diff -Naur xmms-1.2.8/xmms/main.h xmms-1.2.8-new/xmms/main.h --- xmms-1.2.8/xmms/main.h 2002-10-06 18:35:27.000000000 +0200 +++ xmms-1.2.8-new/xmms/main.h 2003-09-06 18:18:53.000000000 +0200 @@ -117,6 +117,7 @@ void mainwin_set_shade_menu_cb(gboolean shaded); void mainwin_set_shade(gboolean shaded); void mainwin_shade_toggle(void); +void show_jump_to_file(void); #define PLAYER_HEIGHT ((cfg.player_shaded ? 14 : 116) * (cfg.doublesize + 1)) #define PLAYER_WIDTH (275 * (cfg.doublesize + 1))