Mercurial > audlegacy
changeset 2652:2d0c90f38824 trunk
[svn] - fix alt+click enqueue. this is more like vincent ratier's original patch except that it's C90-capable for freebsd 4.
author | nenolod |
---|---|
date | Thu, 05 Apr 2007 17:01:26 -0700 |
parents | 4d5e6a8717dd |
children | b5a612371920 |
files | ChangeLog src/audacious/build_stamp.c src/audacious/ui_playlist.c |
diffstat | 3 files changed, 17 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 <james@develia.org> + 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 <nenolod@sacredspiral.co.uk> revision [4326] - patch by Vincent Ratier to add Alt+Click enqueue to the playlist editor. Closes #860.
--- 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 <glib.h> -const gchar *svn_stamp = "20070405-4326"; +const gchar *svn_stamp = "20070405-4328";
--- 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 {