rpms/revelation/devel revelation_ui.patch, NONE, 1.1 revelation.spec, 1.31, 1.32

Jef Spaleta jspaleta at fedoraproject.org
Fri Oct 3 18:41:09 UTC 2008


Author: jspaleta

Update of /cvs/pkgs/rpms/revelation/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13316

Modified Files:
	revelation.spec 
Added Files:
	revelation_ui.patch 
Log Message:
* Fri Oct 03 2008 Jef Spaleta <jspaleta at fedoraproject.org> - 0.4.11-5
- Minor patch to ui.py to fix broken menu generation.


revelation_ui.patch:

--- NEW FILE revelation_ui.patch ---
--- src/lib/ui.py	2007-01-02 23:06:28.000000000 -0900
+++ src/lib/ui.py	2008-10-03 09:38:39.000000000 -0800
@@ -1257,8 +1257,9 @@
 	def __init__(self, stock, text = None):
 		gtk.ImageMenuItem.__init__(self, stock)
 
-		self.label = self.get_children()[0]
-		self.image = self.get_children()[1]
+                children=self.get_children() 
+                if len(children) > 0 : self.label = children[0]
+                if len(children) > 1 : self.image = children[1]
 
 		if text is not None:
 			self.set_text(text)


Index: revelation.spec
===================================================================
RCS file: /cvs/pkgs/rpms/revelation/devel/revelation.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- revelation.spec	19 Feb 2008 07:27:08 -0000	1.31
+++ revelation.spec	3 Oct 2008 18:40:39 -0000	1.32
@@ -4,10 +4,11 @@
 Summary:	Password manager for GNOME 2
 Name:		revelation
 Version:	0.4.11
-Release:	4.1
+Release:	5
 License:	GPLv2+
 Group:		Applications/Productivity
 Source0:	ftp://oss.codepoet.no/revelation/revelation-0.4.11.tar.bz2
+Patch0:         revelation_ui.patch
 URL:		http://oss.codepoet.no/revelation/
 Requires:	python-crypto >= 2.0
 Requires:	pygtk2 >= 2.4
@@ -41,6 +42,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 %configure --disable-desktop-update --disable-mime-update --with-cracklib-dict=/usr/share/cracklib/pw_dict
@@ -104,6 +106,9 @@
 %{_libexecdir}/revelation-applet
 
 %changelog
+* Fri Oct 03 2008 Jef Spaleta <jspaleta at fedoraproject.org> - 0.4.11-5
+- Minor patch to ui.py to fix broken menu generation.
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.4.11-4.1
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list