- Set a default media player application in the schemas

f38
Bastien Nocera 15 years ago
parent 4bc4fd6118
commit e9b13f8266

@ -0,0 +1,49 @@
From bf78414abb7014966c4fefd49f6c25502bbc4f9d Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@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

@ -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 <bnocera@redhat.com> 2.24.2-2
- Set a default media player application in the schemas
* Thu Oct 8 2009 Alexander Larsson <alexl@redhat.com> - 2.24.2-1
- update to 2.24.2 - fixes mimetypes

Loading…
Cancel
Save