rpms/gnome-vfs2/devel 0001-Add-default-media-application-schema.patch, NONE, 1.1 gnome-vfs2.spec, 1.198, 1.199

Bastien Nocera hadess at fedoraproject.org
Wed Nov 4 14:55:22 UTC 2009


Author: hadess

Update of /cvs/pkgs/rpms/gnome-vfs2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6392

Modified Files:
	gnome-vfs2.spec 
Added Files:
	0001-Add-default-media-application-schema.patch 
Log Message:
* Wed Nov 04 2009 Bastien Nocera <bnocera at redhat.com> 2.24.2-2
- Set a default media player application in the schemas


0001-Add-default-media-application-schema.patch:
 desktop_default_applications.schemas.in |   23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

--- NEW FILE 0001-Add-default-media-application-schema.patch ---
>From bf78414abb7014966c4fefd49f6c25502bbc4f9d Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
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 @@
       </locale>
     </schema>
     <schema>
+      <key>/schemas/desktop/gnome/applications/media/exec</key>
+      <applyto>/desktop/gnome/applications/media/exec</applyto>
+      <owner>gnome-vfs</owner>
+      <type>string</type>
+      <default>totem</default>
+      <locale name="C">
+        <short>Default media application</short>
+        <long>The default media application to use when media buttons are pressed.</long>
+      </locale>
+    </schema>
+    <schema>
+      <key>/schemas/desktop/gnome/applications/media/exec_arg</key>
+      <applyto>/desktop/gnome/applications/media/exec_arg</applyto>
+      <owner>gnome-vfs</owner>
+      <type>string</type>
+      <default></default>
+      <locale name="C">
+        <short>Exec argument for default media application</short>
+        <long>The exec argument to use for the default media application.</long>
+      </locale>
+    </schema>
+    <schema>
       <key>/schemas/desktop/gnome/applications/component_viewer/exec</key>
       <applyto>/desktop/gnome/applications/component_viewer/exec</applyto>
       <owner>gnome-vfs</owner>
-- 
1.6.5.1



Index: gnome-vfs2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-vfs2/devel/gnome-vfs2.spec,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -p -r1.198 -r1.199
--- gnome-vfs2.spec	8 Oct 2009 15:13:56 -0000	1.198
+++ gnome-vfs2.spec	4 Nov 2009 14:55:22 -0000	1.199
@@ -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-certai
 # 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
 
 %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 <bnocera at redhat.com> 2.24.2-2
+- Set a default media player application in the schemas
+
 * Thu Oct  8 2009 Alexander Larsson <alexl at redhat.com> - 2.24.2-1
 - update to 2.24.2 - fixes mimetypes
 




More information about the scm-commits mailing list