# HG changeset patch # User nenolod # Date 1175817686 25200 # Node ID 2d0c90f3882444f6a3830deb7dabe377a3497cb0 # Parent 4d5e6a8717dd056620b2bc68806bb5893fc40229 [svn] - fix alt+click enqueue. this is more like vincent ratier's original patch except that it's C90-capable for freebsd 4. diff -r 4d5e6a8717dd -r 2d0c90f38824 ChangeLog --- a/ChangeLog Thu Apr 05 09:26:13 2007 -0700 +++ b/ChangeLog Thu Apr 05 17:01:26 2007 -0700 @@ -1,3 +1,14 @@ +2007-04-05 16:26:13 +0000 Giacomo Lozito + revision [4328] + - allow the player to start with all of its windows hidden (but give a warning to the user, whose display can be disabled); also, try to remember player windows positions when they stay hidden between sessions + trunk/src/audacious/main.c | 48 +++++++++++++++++--------- + trunk/src/audacious/main.h | 1 + trunk/src/audacious/ui_main.c | 57 ++++++++++++++++++++++++++++++-- + trunk/src/audacious/ui_main.h | 2 + + trunk/src/audacious/ui_skinned_window.c | 2 + + 5 files changed, 90 insertions(+), 20 deletions(-) + + 2007-04-05 13:11:33 +0000 William Pitcock revision [4326] - patch by Vincent Ratier to add Alt+Click enqueue to the playlist editor. Closes #860. diff -r 4d5e6a8717dd -r 2d0c90f38824 src/audacious/build_stamp.c --- a/src/audacious/build_stamp.c Thu Apr 05 09:26:13 2007 -0700 +++ b/src/audacious/build_stamp.c Thu Apr 05 17:01:26 2007 -0700 @@ -1,2 +1,2 @@ #include -const gchar *svn_stamp = "20070405-4326"; +const gchar *svn_stamp = "20070405-4328"; diff -r 4d5e6a8717dd -r 2d0c90f38824 src/audacious/ui_playlist.c --- a/src/audacious/ui_playlist.c Thu Apr 05 09:26:13 2007 -0700 +++ b/src/audacious/ui_playlist.c Thu Apr 05 17:01:26 2007 -0700 @@ -1153,12 +1153,15 @@ } else if (event->button == 1 && (event->state & GDK_MOD1_MASK)) { - Playlist *playlist = playlist_get_active(); - int index = GPOINTER_TO_INT(playlist_get_selected(playlist)->data); + Playlist *playlist; + gint index; handle_press_cb(playlistwin_wlist, widget, event); draw_playlist_window(FALSE); + playlist = playlist_get_active(); + index = GPOINTER_TO_INT(playlist_get_selected(playlist)->data); + playlist_queue_position(playlist, index); } else {