Bug#413678: Volume Control displays separator before first
 playback control
    Matt Kraai 
    kraai at ftbfs.org
       
    Tue Mar  6 16:10:15 CET 2007
    
    
  
Package: gnome-media
Version: 2.14.2-4
Severity: minor
Tags: patch
Volume Control displays a separator at the left of the Playback tab if
the first Playback control shown is not the first Playback control
possibly shown.  The attached patch fixes this problem by not showing
this separator unless a previous control has been visible.
-- 
Matt                                                   http://ftbfs.org/
-------------- next part --------------
diff -ru gnome-media-2.14.2/gst-mixer/src/element.c gnome-media-2.14.2-new/gst-mixer/src/element.c
--- gnome-media-2.14.2/gst-mixer/src/element.c	2006-01-19 15:52:21.000000000 -0800
+++ gnome-media-2.14.2-new/gst-mixer/src/element.c	2007-03-05 18:39:20.000000000 -0800
@@ -334,7 +334,10 @@
     }
 
     content[i].old_sep = content[i].new_sep;
-    content[i].use = TRUE;
+
+    if (active) {
+      content[i].use = TRUE;
+    }
   }
 
   /* show */
    
    
More information about the Pkg-gnome-maintainers
mailing list