From 4051271d09a6fec1c14cf7b91e764b5866dd4454 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Mon, 30 Mar 2009 14:10:06 +0000 Subject: [PATCH] Resolves: 492654 --- thunderbird-open-browser.sh | 6 +++--- thunderbird.spec | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/thunderbird-open-browser.sh b/thunderbird-open-browser.sh index 918ac80..c9cefb4 100644 --- a/thunderbird-open-browser.sh +++ b/thunderbird-open-browser.sh @@ -40,9 +40,9 @@ if [ -z $url ]; then url=about:blank fi -# Use gnome-open if it exists (Gnome 2.6+ only) -if [ -f /usr/bin/gnome-open ]; then - OUTPUT="$(/usr/bin/gnome-open "$url" 2>&1)" +# Use xdg-open if it exists (Gnome 2.6+ only) +if [ -f /usr/bin/xdg-open ]; then + OUTPUT="$(/usr/bin/xdg-open "$url" 2>&1)" if [ $? -ne 0 ]; then error_exit "$OUTPUT" fi diff --git a/thunderbird.spec b/thunderbird.spec index 1c611bf..018df3b 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -9,7 +9,7 @@ Summary: Mozilla Thunderbird mail/newsgroup client Name: thunderbird Version: 3.0 -Release: 2.1.beta2%{?dist} +Release: 2.2.beta2%{?dist} URL: http://www.mozilla.org/projects/thunderbird/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -298,6 +298,9 @@ fi #=============================================================================== %changelog +* Mon Mar 30 2009 Jan Horak - 3.0-2.2.beta2 +- Fixed open-browser.sh to use xdg-open instead of gnome-open + * Mon Mar 23 2009 Christopher Aillon - 3.0-2.1.beta2 - Disable the default app nag dialog