Turn off autorun for x-content/software

This commit is contained in:
Matthias Clasen 2009-08-13 01:29:25 +00:00
parent d3587a57af
commit a06e2ad0ce
2 changed files with 36 additions and 3 deletions

30
nautilus-config.patch Normal file
View File

@ -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 @@
</schema>
<schema>
- <key>/schemas/apps/nautilus/preferences/media_autorun_never_</key>
+ <key>/schemas/apps/nautilus/preferences/media_autorun_never</key>
<applyto>/apps/nautilus/preferences/media_autorun_never</applyto>
<owner>nautilus</owner>
<type>bool</type>
@@ -169,7 +169,7 @@
<owner>nautilus</owner>
<type>list</type>
<list_type>string</list_type>
- <default>[x-content/software]</default>
+ <default>[]</default>
<locale name="C">
<short>List of x-content/* types where the preferred application will be launched</short>
<long>
@@ -187,7 +187,7 @@
<owner>nautilus</owner>
<type>list</type>
<list_type>string</list_type>
- <default>[]</default>
+ <default>[x-content/software]</default>
<locale name="C">
<short>List of x-content/* types set to "Do Nothing"</short>
<long>

View File

@ -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 <mclasen@redhat.com> - 2.27.4-5
- Turn off autorun for x-content/software
* Mon Aug 3 2009 Matthias Clasen <mclasen@redhat.com> - 2.27.4-4
- Show icons for bookmarks and similar in menus