changeset 2650:f41ca301852a trunk

[svn] - patch by Vincent Ratier to add Alt+Click enqueue to the playlist editor. Closes #860.
author nenolod
date Thu, 05 Apr 2007 06:11:33 -0700
parents 153dc928115a
children 4d5e6a8717dd
files ChangeLog src/audacious/build_stamp.c src/audacious/ui_playlist.c
diffstat 3 files changed, 19 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Apr 05 05:56:00 2007 -0700
+++ b/ChangeLog	Thu Apr 05 06:11:33 2007 -0700
@@ -1,3 +1,11 @@
+2007-04-05 12:56:00 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [4324]
+  - don't resample if source rate matches the internal clock rate. closes #881.
+  
+  trunk/src/audacious/output.c |    4 ++++
+  1 file changed, 4 insertions(+)
+
+
 2007-04-05 12:32:15 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4322]
   - synchronize SRC conversion patch with upstream
--- a/src/audacious/build_stamp.c	Thu Apr 05 05:56:00 2007 -0700
+++ b/src/audacious/build_stamp.c	Thu Apr 05 06:11:33 2007 -0700
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070405-4322";
+const gchar *svn_stamp = "20070405-4324";
--- a/src/audacious/ui_playlist.c	Thu Apr 05 05:56:00 2007 -0700
+++ b/src/audacious/ui_playlist.c	Thu Apr 05 06:11:33 2007 -0700
@@ -1151,6 +1151,16 @@
                                event->button, event->time);
         grab = FALSE;
     }
+    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);
+
+        handle_press_cb(playlistwin_wlist, widget, event);
+        draw_playlist_window(FALSE);
+
+        playlist_queue_position(playlist, index);
+    }
     else {
         handle_press_cb(playlistwin_wlist, widget, event);
         draw_playlist_window(FALSE);