rpms/istanbul/F-12 istanbul-URI_exception.patch, NONE, 1.1 istanbul.spec, 1.19, 1.20

Jef Spaleta jspaleta at fedoraproject.org
Thu Nov 26 07:21:33 UTC 2009


Author: jspaleta

Update of /cvs/pkgs/rpms/istanbul/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8835

Modified Files:
	istanbul.spec 
Added Files:
	istanbul-URI_exception.patch 
Log Message:
* Wed Nov 25 2009 Jef Spaleta <jspaleta[AT]fedoraproject[DOT]org> - 0.2.2-12
- Patch for exception handling to prevent crash, bug 541003


istanbul-URI_exception.patch:
 save_window.py.new |    9 +++++++++
 1 file changed, 9 insertions(+)

--- NEW FILE istanbul-URI_exception.patch ---
--- istanbul/main/save_window.py	2007-02-23 02:01:12.000000000 -0900
+++ ../save_window.py.new	2009-11-25 21:28:31.000000000 -0900
@@ -289,6 +289,15 @@
                         dialog.hide()
                     else:
                         save_succesful = True
+            except Exception:
+                dialog = gtk.MessageDialog(self,
+                    gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,
+                    gtk.MESSAGE_QUESTION,
+                    gtk.BUTTONS_OK,
+                    _("There was an unknown error writing to \"%s\".  Please try a different file or location.") % (
+                    self.filechooser.get_uri()))
+                dialog.run()
+                dialog.hide()
             else:
                 save_succesful = True
         else:


Index: istanbul.spec
===================================================================
RCS file: /cvs/pkgs/rpms/istanbul/F-12/istanbul.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- istanbul.spec	27 Sep 2009 08:40:07 -0000	1.19
+++ istanbul.spec	26 Nov 2009 07:21:32 -0000	1.20
@@ -7,13 +7,14 @@
 Summary: Desktop Session Recorder 
 Name: istanbul 
 Version: 0.2.2
-Release: 11%{?dist}
+Release: 12%{?dist}
 License: GPLv2
 Group: Applications/Multimedia
 URL: http://live.gnome.org/Istanbul 
 Source: http://zaheer.merali.org/istanbul-%{version}.tar.bz2
 Patch0: istanbul-configure.patch
 Patch1: istanbul-screencast.patch
+Patch2: istanbul-URI_exception.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires: pygtk2 >= %{pygtk2_version}
@@ -114,6 +115,9 @@ rm -rf $RPM_BUILD_ROOT
 #%{python_sitelib}/%{name}/extern/pytrayicon/*.so*
 
 %changelog
+* Wed Nov 25 2009 Jef Spaleta <jspaleta[AT]fedoraproject[DOT]org> - 0.2.2-12
+- Patch for exception handling to prevent crash, bug 541003
+
 * Sun Sep 27 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.2.2-11
 - Update desktop file according to F-12 FedoraStudio feature
 




More information about the fedora-extras-commits mailing list