? help/Makefile.in
? help/C/.epiphany.xml.swp
? help/C/Makefile.in
? help/C/epiphany-C.omf.out
? src/.prefs-dialog.c.swp
Index: help/C/epiphany.xml
===================================================================
RCS file: /cvs/gnome/epiphany/help/C/epiphany.xml,v
retrieving revision 1.1
diff -u -r1.1 epiphany.xml
--- help/C/epiphany.xml	26 Mar 2003 17:05:06 -0000	1.1
+++ help/C/epiphany.xml	28 Mar 2003 20:15:24 -0000
@@ -191,6 +191,42 @@
   </para>
   </sect1>
 
+<!-- ============= Settings =============================== -->
+
+  <sect1 id="ephy-preferences">
+      <title>Preferences Dialog</title>
+      <para>
+      Document the preferences dialog here
+      </para>
+
+        <sect2 id="ephy-preferences-appearance">
+          <title>Preferences - Appearance</title>
+          <para>
+          Document the preferences dialog - Appearance
+          </para>
+        </sect2>
+        <sect2 id="ephy-preferences-general">
+          <title>Preferences - General</title>
+          <para>
+          Document the preferences dialog - General
+          </para>
+        </sect2>
+        <sect2 id="ephy-preferences-ui">
+          <title>Preferences - UI</title>
+          <para>
+          Document the preferences dialog - UI 
+          </para>
+        </sect2>
+        <sect2 id="ephy-preferences-advanced">
+          <title>Preferences - Advanced</title>
+          <para>
+          Document the preferences dialog - Advanced
+          </para>
+        </sect2>
+
+ 
+  </sect1>
+
 <!-- ============= About ================================== -->
   <sect1 id="fr-about"> 
     <title>About &fr;</title> 
Index: src/prefs-dialog.c
===================================================================
RCS file: /cvs/gnome/epiphany/src/prefs-dialog.c,v
retrieving revision 1.6
diff -u -r1.6 prefs-dialog.c
--- src/prefs-dialog.c	24 Mar 2003 20:08:06 -0000	1.6
+++ src/prefs-dialog.c	28 Mar 2003 20:15:26 -0000
@@ -38,6 +38,8 @@
 #include <gtk/gtkimage.h>
 #include <gtk/gtklabel.h>
 #include <gtk/gtkstock.h>
+#include <gtk/gtkmessagedialog.h>
+#include <libgnome/gnome-help.h>
 
 static void
 prefs_dialog_class_init (PrefsDialogClass *klass);
@@ -236,13 +238,58 @@
 	gtk_notebook_set_current_page (GTK_NOTEBOOK (pd->priv->notebook), id);
 }
 
+static void 
+prefs_dialog_show_help (PrefsDialog *pd)
+{
+	GError *err;
+	gint id;
+	err = NULL;
+	gchar *help_preferences[] = {
+		"ephy-preferences-appearance",
+		"ephy-preferences-general",
+		"ephy-preferences-ui",
+		"ephy-preferences-advanced"
+	};
+
+	id = gtk_notebook_get_current_page (GTK_NOTEBOOK (pd->priv->notebook));
+
+	gnome_help_display ("epiphany", help_preferences [id], &err);
+	if (err != NULL) 
+	{
+		GtkWidget *err_dialog;
+		err_dialog = gtk_message_dialog_new (
+				GTK_WINDOW (pd), 
+				GTK_DIALOG_DESTROY_WITH_PARENT, 
+				GTK_MESSAGE_ERROR, 
+				GTK_BUTTONS_CLOSE,
+				_("Could not display help: %s"), 
+				  err->message);
+
+		g_signal_connect (G_OBJECT (err_dialog), "response", 
+				G_CALLBACK (gtk_widget_destroy),
+				NULL);
+		gtk_window_set_resizable (GTK_WINDOW (err_dialog), 
+				FALSE);
+		gtk_widget_show (err_dialog);
+		g_error_free (err);
+	}
+}
+
 static void
 prefs_dialog_response_cb (GtkDialog *dialog, gint response_id, gpointer data)
 {
+	GError *err;
+	
 	if (response_id == GTK_RESPONSE_CLOSE)
 	{
 		gtk_widget_destroy (GTK_WIDGET(dialog));
+	} 
+	else if (response_id == GTK_RESPONSE_HELP)
+	{
+		PrefsDialog *pd = (PrefsDialog *)data;
+		prefs_dialog_show_help (pd);	
 	}
+		
 }
 
 static void
@@ -268,9 +315,10 @@
 
 	gtk_dialog_add_button (GTK_DIALOG (pd), GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
 
+	gtk_dialog_add_button (GTK_DIALOG (pd), GTK_STOCK_HELP, GTK_RESPONSE_HELP);
 	g_signal_connect (pd, "response",
 			  G_CALLBACK (prefs_dialog_response_cb),
-			  NULL);
+			  pd);
 
 	gtk_container_set_border_width (GTK_CONTAINER (pd), 5);
 
Index: src/window-commands.c
===================================================================
RCS file: /cvs/gnome/epiphany/src/window-commands.c,v
retrieving revision 1.24
diff -u -r1.24 window-commands.c
--- src/window-commands.c	26 Mar 2003 17:05:04 -0000	1.24
+++ src/window-commands.c	28 Mar 2003 20:15:27 -0000
@@ -708,6 +708,7 @@
 	};
 
 	gchar *documenters[] = {
+		"Patanjali Somayaji <patanjali@codito.com>",
 		NULL
 	};
 
