aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-06-21 23:53:15 +0000
committerGuy Harris <guy@alum.mit.edu>2008-06-21 23:53:15 +0000
commit4745bbf0d58202dde2a4851c3c7d16614374bf9d (patch)
tree3dd06c7dafd6e40a4551a6343e3e7f56bab4f9e9
parent2443329e0c30e5ff8d5355e678398db73bb78eeb (diff)
Add stuff to a comment, and move stuff to that comment from elsewhere,
discussing the fun of launching on UNIX+X11. svn path=/trunk/; revision=25519
-rw-r--r--gtk/webbrowser.c22
1 files changed, 15 insertions, 7 deletions
diff --git a/gtk/webbrowser.c b/gtk/webbrowser.c
index 50b6a2dfd2..e2496886a1 100644
--- a/gtk/webbrowser.c
+++ b/gtk/webbrowser.c
@@ -26,6 +26,21 @@
* \plug-ins\common\webbrowser.c
*
* It was modified to suit the Wireshark environment (#if 0)!
+ *
+ * For the UNIX+X11 launcher, see this blog post:
+ *
+ * http://blogs.gnome.org/timj/2006/11/24/24112006-how-to-start-a-web-browser/
+ *
+ * for a discussion of how Beast launches a browser, a link that shows
+ * the rather complicated code it uses, and some information on why it
+ * goes through all that pain. We might want to do something similar to
+ * that.
+ *
+ * For GNOME 2.x, we might be able to use "gnome_url_show()" (when we offer
+ * the ability to build a GNOMEified Wireshark as well as a GTK+-only
+ * Wireshark). However, GNOME might be moving towards running one of
+ * the launchers listed in the Beast code, or might have moved there
+ * already.
*/
#ifdef HAVE_CONFIG_H
@@ -42,13 +57,6 @@
#include "gtk/webbrowser.h"
-
-/*
- * For GNOME 2.x, we might be able to use "gnome_url_show()" (when we offer
- * the ability to build a GNOMEified Wireshark as well as a GTK+-only
- * Wireshark).
- */
-
#if defined(G_OS_WIN32)
/* Win32 - use Windows shell services to start a browser */
#include <windows.h>