Your message dated Fri, 23 Nov 2007 22:49:52 +0100
with message-id <[EMAIL PROTECTED]>
and subject line audacious-plugins: Make middle click toggle playback in status 
icon plugin
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: audacious-plugins
Version: 1.4.0~beta4-1
Severity: wishlist
Tags: patch

--- Please enter the report below this line. ---

Hi,

I made this patch to enable playback toggle
using mouse middle click. Hope it might be
found useful.

Thanks,
Igor

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.22-3-k7

Debian Release: lenny/sid
  700 unstable        debian.mirrors.lug.ro 
  650 testing         www.debian-multimedia.org 
  650 testing         debian.mirrors.lug.ro 
  500 stable          security.debian.org 

--- Package information. ---
Depends                 (Version) | Installed
=================================-+-=============
libasound2            (>> 1.0.14) | 1.0.15-1
libatk1.0-0           (>= 1.20.0) | 1.20.0-1
libaudid3tag1                     | 1.4.0~beta4-1
libc6                (>= 2.6.1-1) | 2.6.1-6
libcairo2              (>= 1.4.0) | 1.4.10-1
libcddb2                          | 1.2.1-1
libcdio-cdda0                     | 0.78.2+dfsg1-1
libcdio7                          | 0.78.2+dfsg1-1
libflac8                          | 1.2.1-1
libfontconfig1         (>= 2.4.0) | 2.4.91-1
libglib2.0-0          (>= 2.14.0) | 2.14.3-1
libgtk2.0-0           (>= 2.12.0) | 2.12.1-1
libmad0              (>= 0.15.1b) | 0.15.1b-2.1
libmms0                (>= 0.3-4) | 0.3-6
libmowgli1                        | 0.5.0-3
libneon27-gnutls      (>= 0.27.2) | 0.27.2-1
libogg0                (>= 1.1.3) | 1.1.3-2
libpango1.0-0         (>= 1.18.3) | 1.18.3-1
libsndfile1                       | 1.0.17-4
libvorbis0a            (>= 1.2.0) | 1.2.0.dfsg-2
libvorbisenc2          (>= 1.1.2) | 1.2.0.dfsg-2
libvorbisfile3         (>= 1.2.0) | 1.2.0.dfsg-2
libx11-6                          | 2:1.0.3-7
libxcomposite1       (>= 1:0.3-1) | 1:0.3.2-1+b1
libxcursor1            (>> 1.1.2) | 1:1.1.9-1
libxdamage1            (>= 1:1.1) | 1:1.1.1-3
libxext6                          | 1:1.0.3-2
libxfixes3           (>= 1:4.0.1) | 1:4.0.3-2
libxi6                            | 2:1.1.3-1
libxinerama1                      | 1:1.0.2-1
libxml2               (>= 2.6.29) | 2.6.30.dfsg-2
libxrandr2           (>= 2:1.2.0) | 2:1.2.2-1
libxrender1                       | 1:0.9.4-1
audacious               (>= 1.4~) | 1.4.0~beta4-1
audacious               (<< 1.5~) | 1.4.0~beta4-1

diff -urp audacious-plugins-1.4.0~beta4-orig/src/statusicon/si_audacious.h audacious-plugins-1.4.0~beta4/src/statusicon/si_audacious.h
--- audacious-plugins-1.4.0~beta4-orig/src/statusicon/si_audacious.h	2007-11-13 23:41:28.000000000 +0200
+++ audacious-plugins-1.4.0~beta4/src/statusicon/si_audacious.h	2007-11-13 23:55:46.000000000 +0200
@@ -37,6 +37,7 @@ void si_audacious_volume_change ( gint )
 void si_audacious_playback_skip ( gint );
 void si_audacious_playback_ctrl ( gpointer );
 void si_audacious_quit ( void );
+void si_audacious_toggle_playback ( void );
 
 
 #endif /* !_I_SI_AUDACIOUS_H */
diff -urp audacious-plugins-1.4.0~beta4-orig/src/statusicon/si.c audacious-plugins-1.4.0~beta4/src/statusicon/si.c
--- audacious-plugins-1.4.0~beta4-orig/src/statusicon/si.c	2007-11-13 23:41:28.000000000 +0200
+++ audacious-plugins-1.4.0~beta4/src/statusicon/si.c	2007-11-13 23:55:21.000000000 +0200
@@ -180,3 +180,12 @@ si_audacious_playback_ctrl ( gpointer ct
       break;
   }
 }
+
+void
+si_audacious_toggle_playback ( void )
+{
+  if ( audacious_drct_get_playing() )
+    audacious_drct_pause();
+  else
+    audacious_drct_play();
+}
diff -urp audacious-plugins-1.4.0~beta4-orig/src/statusicon/si_ui.c audacious-plugins-1.4.0~beta4/src/statusicon/si_ui.c
--- audacious-plugins-1.4.0~beta4-orig/src/statusicon/si_ui.c	2007-11-13 23:41:28.000000000 +0200
+++ audacious-plugins-1.4.0~beta4/src/statusicon/si_ui.c	2007-11-13 23:55:12.000000000 +0200
@@ -78,6 +78,12 @@ si_ui_statusicon_cb_btpress ( GtkWidget 
       break;
     }
 
+    case 2:
+    {
+      si_audacious_toggle_playback();
+      break;
+    }
+
     case 3:
     {
       switch ( si_cfg.rclick_menu )

--- End Message ---
--- Begin Message ---
Hello,

Thanks a lot for your patch. I don't know if upstream had a look here and merged the patch or if it was rewritten, however middle click toggle playback on audacious 1.4.2 with audacious-plugins 1.4.1. So I'm closing this bug.

Regards, Adam.


--- End Message ---

Reply via email to