rpms/gmixer/devel gmixer.spec,1.9,1.10 icons.patch,1.1,1.2
Leigh Scott
leigh123linux at fedoraproject.org
Tue Mar 16 20:37:00 UTC 2010
Author: leigh123linux
Update of /cvs/pkgs/rpms/gmixer/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21184
Modified Files:
gmixer.spec icons.patch
Log Message:
* Tue Mar 16 2010 leigh scott <leigh123linux at googlemail.com> - 1.3-14
- complete the icon patch so it works
Index: gmixer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gmixer/devel/gmixer.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- gmixer.spec 16 Mar 2010 19:05:15 -0000 1.9
+++ gmixer.spec 16 Mar 2010 20:37:00 -0000 1.10
@@ -2,7 +2,7 @@
Name: gmixer
Version: 1.3
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: Just a simple audio mixer
Group: Applications/Multimedia
@@ -91,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Mar 16 2010 leigh scott <leigh123linux at googlemail.com> - 1.3-14
+- complete the icon patch so it works
+
* Tue Mar 16 2010 leigh scott <leigh123linux at googlemail.com> - 1.3-13
- Fix icon naming
icons.patch:
gmixer | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
Index: icons.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gmixer/devel/icons.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- icons.patch 16 Mar 2010 19:05:15 -0000 1.1
+++ icons.patch 16 Mar 2010 20:37:00 -0000 1.2
@@ -1,5 +1,5 @@
--- gmixer-1.3.orig/src/gmixer 2009-05-01 18:12:22.000000000 +0100
-+++ gmixer-1.3/src/gmixer 2010-03-16 18:21:14.000000000 +0000
++++ gmixer-1.3/src/gmixer 2010-03-16 20:27:04.000000000 +0000
@@ -79,7 +79,7 @@ for filename in STOCKS:
factory.add(filename, gtk.IconSet(pixbuf))
factory.add_default()
@@ -23,3 +23,42 @@
("headphone","headphones"),
("phone","phone"),
("video","video"),
+@@ -558,10 +558,10 @@ class GMasterProgressPopup(gtk.Window):
+ if self._track.flags & gst.interfaces.MIXER_TRACK_MUTE:
+ frac = 0
+
+- if frac > 0.66 : img = "stock_volume-max"
+- elif frac > 0.33: img = "stock_volume-med"
+- elif frac > 0.0: img = "stock_volume-min"
+- else: img = "stock_volume-mute"
++ if frac > 0.66 : img = "audio-volume-high"
++ elif frac > 0.33: img = "audio-volume-medium"
++ elif frac > 0.0: img = "audio-volume-low"
++ else: img = "audio-volume-muted"
+
+ self._icon.set_from_icon_name(img, gtk.ICON_SIZE_SMALL_TOOLBAR)
+ self._icon.set_tooltip_text(_("Volume : %d%%"%(frac*100)))
+@@ -644,7 +644,7 @@ class GMixer(gobject.GObject):
+ self._config.getint("settings","width") , \
+ self._config.getint("settings","height") )
+
+- gtk.window_set_default_icon_name("stock_volume-max")
++ gtk.window_set_default_icon_name("audio-volume-high")
+ self._set_title()
+
+ gobject.timeout_add(500,self._refresh_volume)
+@@ -832,10 +832,10 @@ class GMixer(gobject.GObject):
+ if track.flags & gst.interfaces.MIXER_TRACK_MUTE:
+ frac = 0
+
+- if frac > 0.66 : img = "stock_volume-max"
+- elif frac > 0.33: img = "stock_volume-med"
+- elif frac > 0.0: img = "stock_volume-min"
+- else: img = "stock_volume-mute"
++ if frac > 0.66 : img = "audio-volume-high"
++ elif frac > 0.33: img = "audio-volume-medium"
++ elif frac > 0.0: img = "audio-volume-low"
++ else: img = "audio-volume-muted"
+ self._tray_image.set_from_icon_name(img, gtk.ICON_SIZE_SMALL_TOOLBAR)
+ self._tray_image.set_tooltip_text(_("Volume : %d%%"%(frac*100)))
+
More information about the scm-commits
mailing list