From 2b046ebf9f15136f701fa84a6ddb4450776f7607 Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Tue, 12 Apr 2011 16:07:51 -0700 Subject: [PATCH] Change the default http,https handler to gvfs-open Some applications are still using GConf or GnomeVFS for default applications instead of using GAppInfo or GSettings This is a workaround to mitigate the problem for the default browser until they do get ported. --- gnome-vfs-2.8.2-browser_default.patch | 4 ++-- gnome-vfs2.spec | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gnome-vfs-2.8.2-browser_default.patch b/gnome-vfs-2.8.2-browser_default.patch index 326e142..7df7f64 100644 --- a/gnome-vfs-2.8.2-browser_default.patch +++ b/gnome-vfs-2.8.2-browser_default.patch @@ -5,7 +5,7 @@ gnome string - epiphany %s -+ firefox %s ++ gvfs-open %s The handler for "http" URLs The command used to handle "http" URLs, if enabled. @@ -14,7 +14,7 @@ gnome string - epiphany %s -+ firefox %s ++ gvfs-open %s The handler for "https" URLs The command used to handle "https" URLs, if enabled. diff --git a/gnome-vfs2.spec b/gnome-vfs2.spec index f6934bb..ba074c2 100644 --- a/gnome-vfs2.spec +++ b/gnome-vfs2.spec @@ -3,7 +3,7 @@ Summary: The GNOME virtual file-system libraries Name: gnome-vfs2 Version: 2.24.4 -Release: 4%{?dist} +Release: 5%{?dist} License: LGPLv2+ and GPLv2+ # the daemon and the library are LGPLv2+ # the modules are LGPLv2+ and GPLv2+ @@ -36,6 +36,8 @@ BuildRequires: gettext BuildRequires: libacl-devel BuildRequires: libselinux-devel BuildRequires: keyutils-libs-devel +# For gvfs-open +Requires: gvfs Patch3: gnome-vfs-2.9.90-modules-conf.patch @@ -203,6 +205,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %config %{_sysconfdir}/gnome-vfs-2.0/modules/smb-module.conf %changelog +* Tue Apr 12 2011 Christopher Aillon - 2.24.4-5 +- Change the default http,https handler to gvfs-open + * Tue Feb 08 2011 Fedora Release Engineering - 2.24.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild