rpms/system-config-soundcard/devel system-config-soundcard-2.0.5-single-card-gui.patch, NONE, 1.1 system-config-soundcard-2.0.5-unused-code.patch, NONE, 1.1 system-config-soundcard.spec, 1.51, 1.52

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Dec 7 15:49:01 UTC 2006


Author: stransky

Update of /cvs/dist/rpms/system-config-soundcard/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv29534

Modified Files:
	system-config-soundcard.spec 
Added Files:
	system-config-soundcard-2.0.5-single-card-gui.patch 
	system-config-soundcard-2.0.5-unused-code.patch 
Log Message:
some cosmetic fixes - #218389, #208411

system-config-soundcard-2.0.5-single-card-gui.patch:
 soundcard.py |    4 ++++
 1 files changed, 4 insertions(+)

--- NEW FILE system-config-soundcard-2.0.5-single-card-gui.patch ---
--- system-config-soundcard-2.0.5/src/soundcard.py.old	2006-12-07 16:18:53.000000000 +0100
+++ system-config-soundcard-2.0.5/src/soundcard.py	2006-12-07 16:26:09.000000000 +0100
@@ -442,6 +442,10 @@
         self.toplevel.pack_start(self.notebook_cardlist, False)
         self.notebook_cardlist.set_current_page(0)
 
+        if cardNum == 1:
+                self.notebook_cardlist.set_show_tabs(False)
+                self.notebook_cardlist.set_show_border(False)
+                
         return self.toplevel
 
     def create_sub_device_menu_refresh(self, device_menu_handler, card_index, default_device):

system-config-soundcard-2.0.5-unused-code.patch:
 soundcard.py |    1 -
 1 files changed, 1 deletion(-)

--- NEW FILE system-config-soundcard-2.0.5-unused-code.patch ---
--- system-config-soundcard-2.0.5/src/soundcard.py.old	2006-07-21 09:37:22.000000000 +0200
+++ system-config-soundcard-2.0.5/src/soundcard.py	2006-12-07 16:14:25.000000000 +0100
@@ -702,7 +702,6 @@
 
     def create_system_page_modules_reload(self, widget):
         self.soundcardBackend.reloadModules()
-        self.create_system_page_redetect(widget)
         
     def create_system_page(self):
     


Index: system-config-soundcard.spec
===================================================================
RCS file: /cvs/dist/rpms/system-config-soundcard/devel/system-config-soundcard.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- system-config-soundcard.spec	1 Dec 2006 19:31:53 -0000	1.51
+++ system-config-soundcard.spec	7 Dec 2006 15:48:59 -0000	1.52
@@ -1,7 +1,7 @@
 Summary: A graphical interface for detecting and configuring soundcards
 Name: system-config-soundcard
 Version: 2.0.5
-Release: 2%{dist}
+Release: 3%{dist}
 URL: http://fedora.redhat.com/projects/config-tools/redhat-config-soundcard.html
 License: GPL
 ExclusiveOS: Linux
@@ -9,6 +9,8 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildArch: noarch
 Source0: %{name}-%{version}.tar.bz2
+Patch:  system-config-soundcard-2.0.5-unused-code.patch
+Patch1: system-config-soundcard-2.0.5-single-card-gui.patch
 BuildRequires: desktop-file-utils
 BuildRequires: gettext, intltool
 ExcludeArch: s390 s390x
@@ -32,6 +34,8 @@
 
 %prep
 %setup -q
+%patch -p1
+%patch1 -p1
 
 %build
 make
@@ -81,6 +85,10 @@
 %ghost /root/scsound.log
 
 %changelog
+* Thu Dec 7 2006 Martin Stransky <stransky at redhat.com> 2.0.5-3
+- removed unused code (#218389)
+- hide tabs if only one sound device is detected (#208411)
+
 * Fri Dec 1 2006 Adam Jackson <ajax at redhat.com> 2.0.5-2
 - Bump to fix 6 to 7 upgrades.
 




More information about the fedora-cvs-commits mailing list