GNOME Bugzilla – Bug 119120
webbrowser plug-in depends on netscape
Last modified: 2004-12-22 21:47:04 UTC
The webbrowser plug-in found in '<Xtns>/Webbrowser' depends on netscape to be installed. I suggest we either: a) check for available browsers at compile time and hardcode either mozilla/netscape in plug-ins/webbrowser/webbrowser.c b) get rid of the webbrowser plug-in. it's a bit of a hack and not really needed/used(?). We can then add an entry like '<Help>/The GIMP Web Site' (but this would require us to check for available browser too?) c) change plug-ins/webbrowser/webbrowser.c to use 'mozilla' as default browser. This is the easy-fix. Please comment on this...
This is basically a duplicate of bug #51632. A standard for configuring the desktop-wide browser is being discussed at the free desktop mailing-list. We should use this standard when it becomes available.
I think we need to come up with at least a temporary solution to this problem before 2.0 is released... I suggest we remove the plug-in since it's a bit of a hack already. When freedesktop.org comes up with a standard we can consider adding a "<Help>/GIMP Online" menu entry. Which reminds me - we've discussed having the (hopefully?) upcoming gimp-help-browser offer a link directly to the neweste version of the shown help page online. For this functionality we need a way to communicate with an external browser process as well...
Fixed in CVS HEAD: 2003-09-22 Henrik Brix Andersen <brix@gimp.org> Replaced the netscape-dependent web browser plug-in with a user configureable plug-in. This fixes bug #119120: * app/config/gimpguiconfig.[ch]: added gchar *web_browser member * app/config/gimprc-blurbs.h: added web browser blurb * etc/gimprc * docs/gimprc-1.3.5.in: regenerated using gimpconfig-dump * app/gui/preferences-dialog.c (prefs_dialog_new): added UI for specifying external web browser * configure.in * plug-ins/Makefile.am * plug-ins/webbrowser/Makefile.am * plug-ins/webbrowser/README * plug-ins/webbrowser/web-browser.scm * plug-ins/webbrowser/webbrowser.c : removed the old netscape-dependent web browser plug-in * po-plug-ins/POTFILES.in * plug-ins/common/plugin-defs.pl * plug-ins/common/webbrowser.c: added a new web browser plug-in * plug-ins/common/.cvsignore * plug-ins/common/Makefile.am: regenerated * app/widgets/gimphelp.c * app/widgets/widget-enums.[ch] * plug-ins/helpbrowser/dialog.c * plug-ins/maze/maze_face.c: changed accordingly + whitespace clean-up * po-script-fu/POTFILES.in * plug-ins/script-fu/scripts/Makefile.am * plug-ins/script-fu/scripts/web-browser.scm: use the new web browser plug-in to add menu entries to <Toolbox>/Help/