Package: grip
Version: 3.3.1-11
Severity: wishlist
Tags: patch
Hello,
In the About tab, if gnome-moz-remote is not available (gnome-bin is not
installed), the link to Grip homepage does not work with the following
error message:
sh: gnome-moz-remote: command not found
I think it should then try to call x-www-browser (and www-browser if
it fails).
The following patch does just that:
diff -urNad grip-3.3.1~/src/grip.c grip-3.3.1/src/grip.c
--- grip-3.3.1~/src/grip.c 2005-06-25 20:00:55.000000000 +0200
+++ grip-3.3.1/src/grip.c 2007-03-10 14:51:06.000000000 +0100
@@ -625,7 +625,9 @@
static void Homepage(void)
{
- system("gnome-moz-remote http://www.nostatic.org/grip");
+ if (system("gnome-moz-remote http://www.nostatic.org/grip")!=0)
+ if (system("x-www-browser http://www.nostatic.org/grip")!=0)
+ system("www-browser http://www.nostatic.org/grip");
}
static void LoadImages(GripGUI *uinfo)
Greetings,
Fred
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.2
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages grip depends on:
ii libart-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1. 1.12.4-2 The ATK accessibility toolkit
ii libaudio 0.2.6-6 Open-source version of SGI's audio
ii libavahi 0.6.16-3 Avahi client library
ii libavahi 0.6.16-3 Avahi common library
ii libavahi 0.6.16-3 Avahi glib integration library
ii libbonob 2.14.0-3 Bonobo CORBA interfaces library
ii libbonob 2.14.0-5 The Bonobo UI library
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libcairo 1.2.4-4 The Cairo 2D vector graphics libra
ii libcdpar 3.10+debian~pre0-4 audio extraction tool for sampling
ii libcomer 1.39+1.40-WIP-2006.11.14+dfsg-2 common error description library
ii libcurl3 7.15.5-1 Multi-protocol file transfer libra
ii libdbus- 1.0.2-1 simple interprocess messaging syst
ii libesd0 0.2.36-3 Enlightened Sound Daemon - Shared
ii libfontc 2.4.2-1.2 generic font configuration library
ii libfreet 2.2.1-5 FreeType 2 font engine, shared lib
ii libgcc1 1:4.1.1-21 GCC support library
ii libgconf 2.16.1-1 GNOME configuration database syste
ii libgcryp 1.2.3-2 LGPL Crypto library - runtime libr
ii libglib2 2.12.6-2 The GLib library of C routines
ii libgnome 0.6.0-3 GNOME keyring services library
ii libgnome 2.16.0-2 The GNOME 2 library - runtime file
ii libgnome 2.14.0-2 A powerful object-oriented display
ii libgnome 2.14.1-2 The GNOME 2 libraries (User Interf
ii libgnome 1:2.14.2-6 GNOME virtual file-system (runtime
ii libgnutl 1.4.4-3 the GNU TLS library - runtime libr
ii libgpg-e 1.4-2 library for common error values an
ii libgtk2. 2.8.20-7 The GTK+ graphical user interface
ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library
ii libid3-3 3.8.3-6 Library for manipulating ID3v1 and
ii libidn11 0.6.5-1 GNU libidn library, implementation
ii libjpeg6 6b-13 The Independent JPEG Group's JPEG
ii libkrb53 1.4.4-7 MIT Kerberos runtime libraries
ii libncurs 5.5-5 Shared libraries for terminal hand
ii liborbit 1:2.14.4-1 libraries for ORBit2 - a CORBA ORB
ii libpango 1.14.8-5 Layout and rendering of internatio
ii libpng12 1.2.15~beta5-1 PNG library - runtime
ii libpopt0 1.10-3 lib for parsing cmdline parameters
ii libsm6 1:1.0.1-3 X11 Session Management library
ii libstdc+ 4.1.1-21 The GNU Standard C++ Library v3
ii libtasn1 0.3.6-2 Manage ASN.1 structures (runtime)
ii libvte4 1:0.12.2-5 Terminal emulator widget for GTK+
ii libx11-6 2:1.0.3-6 X11 client-side library
ii libxcurs 1.1.7-4 X cursor management library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxfixe 1:4.0.1-5 X11 miscellaneous 'fixes' extensio
ii libxft2 2.1.8.2-8 FreeType-based font drawing librar
ii libxi6 1:1.0.1-4 X11 Input extension library
ii libxiner 1:1.0.1-4.1 X11 Xinerama extension library
ii libxml2 2.6.27.dfsg-1 GNOME XML library
ii libxrand 2:1.1.0.2-5 X11 RandR extension library
ii libxrend 1:0.9.1-3 X Rendering Extension client libra
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages grip recommends:
ii vorbis-tools 1.1.1-11 several Ogg Vorbis tools
pn yelp <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]