From e9b13f82668e6e9c6a8ec1bdc69b0c96c972d1fe Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 4 Nov 2009 14:55:22 +0000 Subject: [PATCH] - Set a default media player application in the schemas --- ...Add-default-media-application-schema.patch | 49 +++++++++++++++++++ gnome-vfs2.spec | 10 +++- 2 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 0001-Add-default-media-application-schema.patch diff --git a/0001-Add-default-media-application-schema.patch b/0001-Add-default-media-application-schema.patch new file mode 100644 index 0000000..445b352 --- /dev/null +++ b/0001-Add-default-media-application-schema.patch @@ -0,0 +1,49 @@ +From bf78414abb7014966c4fefd49f6c25502bbc4f9d Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Wed, 4 Nov 2009 14:24:42 +0000 +Subject: [PATCH] Add default media application schema + +So that there is a default media player selected in the +"Default Applications" capplet. + +https://bugzilla.gnome.org/show_bug.cgi?id=435653 +--- + schemas/desktop_default_applications.schemas.in | 22 ++++++++++++++++++++++ + 1 files changed, 22 insertions(+), 0 deletions(-) + +diff --git a/schemas/desktop_default_applications.schemas.in b/schemas/desktop_default_applications.schemas.in +index 515aee0..aa47ba5 100644 +--- a/schemas/desktop_default_applications.schemas.in ++++ b/schemas/desktop_default_applications.schemas.in +@@ -24,6 +24,28 @@ + + + ++ /schemas/desktop/gnome/applications/media/exec ++ /desktop/gnome/applications/media/exec ++ gnome-vfs ++ string ++ totem ++ ++ Default media application ++ The default media application to use when media buttons are pressed. ++ ++ ++ ++ /schemas/desktop/gnome/applications/media/exec_arg ++ /desktop/gnome/applications/media/exec_arg ++ gnome-vfs ++ string ++ ++ ++ Exec argument for default media application ++ The exec argument to use for the default media application. ++ ++ ++ + /schemas/desktop/gnome/applications/component_viewer/exec + /desktop/gnome/applications/component_viewer/exec + gnome-vfs +-- +1.6.5.1 + diff --git a/gnome-vfs2.spec b/gnome-vfs2.spec index 143a842..4c38cef 100644 --- a/gnome-vfs2.spec +++ b/gnome-vfs2.spec @@ -14,7 +14,7 @@ Summary: The GNOME virtual file-system libraries Name: gnome-vfs2 Version: 2.24.2 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ and GPLv2+ # the daemon and the library are LGPLv2+ # the modules are LGPLv2+ and GPLv2+ @@ -82,6 +82,9 @@ Patch300: gnome-vfs-2.20.0-ignore-certain-mountpoints.patch # https://bugzilla.redhat.com/show_bug.cgi?id=486286 Patch404: gnome-vfs-2.24.xx-utf8-mounts.patch +# https://bugzilla.gnome.org/show_bug.cgi?id=435653 +Patch405: 0001-Add-default-media-application-schema.patch + %description GNOME VFS is the GNOME virtual file system. It is the foundation of @@ -135,6 +138,8 @@ shares (SMB) to applications using GNOME VFS. %patch404 -p1 -b .utf8-mounts +%patch405 -p1 -b .default-media + # for patch 10 and 4 autoheader autoconf @@ -256,6 +261,9 @@ fi %config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf %changelog +* Wed Nov 04 2009 Bastien Nocera 2.24.2-2 +- Set a default media player application in the schemas + * Thu Oct 8 2009 Alexander Larsson - 2.24.2-1 - update to 2.24.2 - fixes mimetypes