From a06e2ad0ce88080991324ea307b6f92fc1d593ce Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Aug 13 2009 01:29:25 +0000 Subject: Turn off autorun for x-content/software --- diff --git a/nautilus-config.patch b/nautilus-config.patch new file mode 100644 index 0000000..4ab7778 --- /dev/null +++ b/nautilus-config.patch @@ -0,0 +1,30 @@ +diff -up nautilus-2.27.4/libnautilus-private/apps_nautilus_preferences.schemas.in.config nautilus-2.27.4/libnautilus-private/apps_nautilus_preferences.schemas.in +--- nautilus-2.27.4/libnautilus-private/apps_nautilus_preferences.schemas.in.config 2009-08-12 21:07:44.331994084 -0400 ++++ nautilus-2.27.4/libnautilus-private/apps_nautilus_preferences.schemas.in 2009-08-12 21:26:31.258991695 -0400 +@@ -149,7 +149,7 @@ + + + +- /schemas/apps/nautilus/preferences/media_autorun_never_ ++ /schemas/apps/nautilus/preferences/media_autorun_never + /apps/nautilus/preferences/media_autorun_never + nautilus + bool +@@ -169,7 +169,7 @@ + nautilus + list + string +- [x-content/software] ++ [] + + List of x-content/* types where the preferred application will be launched + +@@ -187,7 +187,7 @@ + nautilus + list + string +- [] ++ [x-content/software] + + List of x-content/* types set to "Do Nothing" + diff --git a/nautilus.spec b/nautilus.spec index f5a49ce..0b2310a 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -15,7 +15,7 @@ Name: nautilus Summary: File manager for GNOME Version: 2.27.4 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: User Interface/Desktops Source: http://download.gnome.org/sources/%{name}/2.27/%{name}-%{version}.tar.bz2 @@ -70,7 +70,7 @@ Obsoletes: gnome-volume-manager < 2.24.0-2.fc10 #Obsoletes: eel2 < 2.25.1-4.fc10 # Some changes to default config -Patch1: nautilus-2.5.7-rhconfig.patch +Patch1: nautilus-config.patch Patch5: nautilus-2.23.5-selinux.patch @@ -119,7 +119,7 @@ for developing nautilus extensions. %prep %setup -q -n %{name}-%{version} -%patch1 -p1 -b .rhconfig +%patch1 -p1 -b .config %patch5 -p1 -b .selinux %patch6 -p1 -b .dynamic-search %patch7 -p1 -b .rtl-fix @@ -268,6 +268,9 @@ fi %changelog +* Wed Aug 12 2009 Matthias Clasen - 2.27.4-5 +- Turn off autorun for x-content/software + * Mon Aug 3 2009 Matthias Clasen - 2.27.4-4 - Show icons for bookmarks and similar in menus