Package: devhelp
Version: 0.19.1-5
Severity: minor

Hi,
we can now browse w3-recs from within devhelp (bug #446876), and it's really
cool.
Some links of w3-recs html files are relatives; some are absolute, and point
to http:// urls. When activating those links, devhelps popups an alert
telling "http is not a registered protocol", and link cannot be followed. It's
quite frustrating, especially when we known that devhelp embeds web-browser
libraries. Here is a patch enabling http browsing inside devhelp.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22custom
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages devhelp depends on:
ii  libatk1.0-0                   1.22.0-1   The ATK accessibility toolkit
ii  libc6                         2.7-12     GNU C Library: Shared libraries
ii  libcairo2                     1.6.4-6    The Cairo 2D vector graphics libra
ii  libdevhelp-1-0                0.19.1-5   Library providing documentation br
ii  libgconf2-4                   2.22.0-1   GNOME configuration database syste
ii  libglib2.0-0                  2.16.4-2   The GLib library of C routines
ii  libgtk2.0-0                   2.12.11-1  The GTK+ graphical user interface 
ii  libpango1.0-0                 1.20.5-1   Layout and rendering of internatio

Versions of packages devhelp recommends:
ii  libglib2.0-doc                2.16.4-2   Documentation files for the GLib l
ii  libgtk2.0-doc                 2.12.11-1  Documentation for the GTK+ graphic
ii  libpango1.0-doc               1.20.5-1   Documentation files for the Pango

devhelp suggests no packages.

-- no debconf information
diff -Nur devhelp-0.19.1.old/src/default-prefs-common.js devhelp-0.19.1/src/default-prefs-common.js
--- devhelp-0.19.1.old/src/default-prefs-common.js	2008-05-25 18:55:37.000000000 +0200
+++ devhelp-0.19.1/src/default-prefs-common.js	2008-07-18 22:23:40.000000000 +0200
@@ -53,8 +53,8 @@
 pref("network.protocol-handler.external-default", true);
 pref("network.protocol-handler.warn-external-default", false);
 pref("network.protocol-handler.external.ftp", true);
-pref("network.protocol-handler.external.http", true);
-pref("network.protocol-handler.external.https", true);
+pref("network.protocol-handler.external.http", false);
+pref("network.protocol-handler.external.https", false);
 pref("network.protocol-handler.external.ftp", false);
 pref("network.protocol-handler.external.news", true);
 pref("network.protocol-handler.external.mailto", true);

Reply via email to