Bug 75102 - hardcode gnome-libs to htmlview
Summary: hardcode gnome-libs to htmlview
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gnome-libs
Version: 8.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Havoc Pennington
QA Contact: David Lawrence
: 71327 74669 76201 80128 (view as bug list)
Depends On:
Blocks: 79578
TreeView+ depends on / blocked
Reported: 2002-10-04 15:41 UTC by Sven Neuhaus
Modified: 2007-04-18 16:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-02-07 14:07:31 UTC

Attachments (Terms of Use)

Description Sven Neuhaus 2002-10-04 15:41:57 UTC
evolution opens mozilla when I click hyperlinks in it instead of my favourite

When I change my preferred browser with the 
"gnome-default-applications-properties" program, the file ~/.gnome/Gnome is 
not updated. The section [URL Handlers] still contains the entry
default-show=gnome-moz-remote --newwin "%s"
which is what evolution uses for hyperlinks clicked in emails and in the summary.

I found no other tool that edited this file.
Why isn't the default browser in the file "htmlview" instead of gnome-moz-remote?

It seems that "gnome-default-applications-properties" only puts the browser
choice in the file

Is evolution supposed to use this file instead of ~/.gnome/Gnome ?

Comment 1 Havoc Pennington 2002-10-04 16:34:02 UTC
Evolution isn't quite caught up to the newer GNOME control panel.

Comment 2 Havoc Pennington 2002-12-19 23:03:01 UTC
Didn't someone make htmlview read a config setting?

If so we could just hardwire the GNOME 1.4 stuff to htmlview and then 
it would track GNOME 2.

Comment 3 Jeremy Katz 2002-12-20 00:03:00 UTC
Yes, twaugh made htmlview look at the gconf setting

Comment 4 Havoc Pennington 2002-12-20 00:17:04 UTC
OK, moving to gnome-libs; we'll ignore the .gnome config file, and hardwire
htmlview for GNOME 1 apps.

Comment 5 Havoc Pennington 2002-12-21 20:37:35 UTC
*** Bug 80128 has been marked as a duplicate of this bug. ***

Comment 6 Havoc Pennington 2002-12-21 20:39:52 UTC
Bug 80128 points out that we need to handle mailto: as well, is it total crack
to make htmlview do that? Or does it already?

The Preferred Applications control panel doesn't seem to have a choice 
for email, though. We could add one pretty quickly I suppose.

Comment 7 Tim Waugh 2002-12-23 13:11:06 UTC
It doesn't, currently.  It could easily be added if you like.  As to whether or
not it's total crack, I'm not sure. ;-)

The htmlview magic is just this at the moment:

  if [ "x`/sbin/pidof gnome-session`" != "x" ]; then
+         GCONF=$(gconftool-2 -g /desktop/gnome/url-handlers/unknown/command \
+                 2>/dev/null | sed -e 's/%s//')

It isn't particularly robust or anything.  Hope %s is at the end, etc.

Comment 8 Havoc Pennington 2003-01-07 21:05:40 UTC
*** Bug 71327 has been marked as a duplicate of this bug. ***

Comment 9 Havoc Pennington 2003-01-07 21:46:01 UTC
*** Bug 74669 has been marked as a duplicate of this bug. ***

Comment 10 Havoc Pennington 2003-01-07 21:48:09 UTC
*** Bug 76201 has been marked as a duplicate of this bug. ***

Comment 11 Havoc Pennington 2003-01-31 20:53:13 UTC
Clicking links in GNOME 1.4 apps such as evolution should now always run 

Comment 12 Jay Turner 2003-02-07 14:07:31 UTC
Fix confirmed with gnome-libs-

Note You need to log in before you can comment on or make changes to this bug.