[Pkg-xfce-commits] r917 - in goodies/xfmedia/debian: . patches

Stefan Ott cockroach-guest at alioth.debian.org
Sun Nov 5 03:17:13 CET 2006


Author: cockroach-guest
Date: 2006-11-05 03:17:13 +0100 (Sun, 05 Nov 2006)
New Revision: 917

Added:
   goodies/xfmedia/debian/patches/03_fix_volume_steps.patch
Modified:
   goodies/xfmedia/debian/changelog
Log:
Fixed #331584


Modified: goodies/xfmedia/debian/changelog
===================================================================
--- goodies/xfmedia/debian/changelog	2006-10-26 20:47:02 UTC (rev 916)
+++ goodies/xfmedia/debian/changelog	2006-11-05 02:17:13 UTC (rev 917)
@@ -1,3 +1,9 @@
+xfmedia (0.9.1-7) unstable; urgency=low
+
+  * Added a patch to change the volume-step size		closes: #331584
+
+ -- Stefan Ott <stefan at desire.ch>  Sun,  5 Nov 2006 03:10:49 +0100
+
 xfmedia (0.9.1-6) unstable; urgency=low
 
   * Updated build-deps to 4.3.90.2 (Xfce 4.4 Beta2).

Added: goodies/xfmedia/debian/patches/03_fix_volume_steps.patch
===================================================================
--- goodies/xfmedia/debian/patches/03_fix_volume_steps.patch	2006-10-26 20:47:02 UTC (rev 916)
+++ goodies/xfmedia/debian/patches/03_fix_volume_steps.patch	2006-11-05 02:17:13 UTC (rev 917)
@@ -0,0 +1,41 @@
+diff -Nru xfmedia-0.9.1.orig/src/trayicon.c xfmedia-0.9.1/src/trayicon.c
+--- xfmedia-0.9.1.orig/src/trayicon.c	2006-11-05 02:45:54.000000000 +0100
++++ xfmedia-0.9.1/src/trayicon.c	2006-11-05 02:52:07.386140000 +0100
+@@ -117,14 +117,14 @@
+     XfmediaMainwin *mwin = tray_icon->mwin;
+     if(evt->direction == GDK_SCROLL_UP) {
+       gint volume = xfmedia_xine_get_param(mwin->xfx, XINE_PARAM_AUDIO_VOLUME);
+-      volume += 2;
++      volume += 3;
+       if(volume >100)
+ 	volume = 100;
+       xfmedia_xine_set_param(mwin->xfx, XINE_PARAM_AUDIO_VOLUME, volume);
+       return TRUE;
+     } else if(evt->direction == GDK_SCROLL_DOWN) {
+       gint volume = xfmedia_xine_get_param(mwin->xfx, XINE_PARAM_AUDIO_VOLUME);
+-      volume -= 2;
++      volume -= 3;
+       if(volume <0)
+ 	volume = 0;
+       xfmedia_xine_set_param(mwin->xfx, XINE_PARAM_AUDIO_VOLUME, volume);
+diff -Nru xfmedia-0.9.1.orig/src/xfmedia-keybindings.c xfmedia-0.9.1/src/xfmedia-keybindings.c
+--- xfmedia-0.9.1.orig/src/xfmedia-keybindings.c	2006-11-05 02:51:51.496140000 +0100
++++ xfmedia-0.9.1/src/xfmedia-keybindings.c	2006-11-05 02:40:55.976140000 +0100
+@@ -421,7 +421,7 @@
+ {
+     gint volume = xfmedia_xine_get_param(mwin->xfx, XINE_PARAM_AUDIO_VOLUME);
+     
+-    volume += 2;
++    volume += 3;
+     if(volume > 100)
+         volume = 100;
+     
+@@ -432,7 +432,7 @@
+ {
+     gint volume = xfmedia_xine_get_param(mwin->xfx, XINE_PARAM_AUDIO_VOLUME);
+     
+-    volume -= 2;
++    volume -= 3;
+     if(volume < 0)
+         volume = 0;
+     




More information about the Pkg-xfce-commits mailing list