rpms/nautilus/F-8 fm_properties_owner_change_crash.patch, NONE, 1.1 nautilus.spec, 1.175, 1.176

Tomas Bzatek (tbzatek) fedora-extras-commits at redhat.com
Mon Mar 10 09:52:15 UTC 2008


Author: tbzatek

Update of /cvs/extras/rpms/nautilus/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27190

Modified Files:
	nautilus.spec 
Added Files:
	fm_properties_owner_change_crash.patch 
Log Message:
* Fri Mar  7 2008 - Tomas Bzatek <tbzatek at redhat.com> - 2.20.0-9
- Fix Properties window owner change crash (#432249)


fm_properties_owner_change_crash.patch:

--- NEW FILE fm_properties_owner_change_crash.patch ---
Index: src/file-manager/fm-properties-window.c
===================================================================
--- src/file-manager/fm-properties-window.c	(revision 13898)
+++ src/file-manager/fm-properties-window.c	(working copy)
@@ -2067,7 +2068,9 @@
 	g_assert (NAUTILUS_IS_FILE (file));
 
 	owner_text = combo_box_get_active_entry (combo_box, 0);
-	name_array = g_strsplit (owner_text, " - ", 2);
+        if (! owner_text)
+	    return;
+    	name_array = g_strsplit (owner_text, " - ", 2);
 	new_owner = name_array[0];
 	g_free (owner_text);
 	cur_owner = nautilus_file_get_owner_name (file);


Index: nautilus.spec
===================================================================
RCS file: /cvs/extras/rpms/nautilus/F-8/nautilus.spec,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -r1.175 -r1.176
--- nautilus.spec	21 Feb 2008 14:45:30 -0000	1.175
+++ nautilus.spec	10 Mar 2008 09:51:25 -0000	1.176
@@ -18,7 +18,7 @@
 Name:		nautilus
 Summary:        Nautilus is a file manager for GNOME
 Version: 	2.20.0
-Release:	8%{?dist}
+Release:	9%{?dist}
 License: 	GPLv2+
 Group:          User Interface/Desktops
 Source: 	http://download.gnome.org/sources/%{name}/2.20/%{name}-%{version}.tar.bz2
@@ -90,6 +90,9 @@
 # https://bugzilla.redhat.com/show_bug.cgi?id=430333
 Patch10:	nautilus-2.20.0-92_from_svn_no_buggy_signal_handler.patch
 
+# https://bugzilla.redhat.com/show_bug.cgi?id=432249
+Patch11:	fm_properties_owner_change_crash.patch
+
 %description
 Nautilus integrates access to files, applications, media,
 Internet-based resources and the Web. Nautilus delivers a dynamic and
@@ -128,6 +131,7 @@
 %patch8 -p1 -b .small-font-fix
 %patch9 -p0 -b .audio-preview
 %patch10 -p1 -b .stuck-segfault
+%patch11 -p0 -b .ownerchange
 
 %build
 
@@ -236,6 +240,9 @@
 %{_libdir}/*.so
 
 %changelog
+* Fri Mar  7 2008 - Tomas Bzatek <tbzatek at redhat.com> - 2.20.0-9
+- Fix Properties window owner change crash (#432249)
+
 * Thu Feb 21 2008 - Tomas Bzatek <tbzatek at redhat.com> - 2.20.0-8
 - Fix "(USER): debug log dumped due to signal 11" loop (#430333)
 




More information about the fedora-extras-commits mailing list