--- gnome-panel/gnome-panel/ChangeLog	Tue Apr 23 02:49:25 2002
+++ gnome-panel-new/gnome-panel/ChangeLog	Wed Apr 24 00:23:58 2002
@@ -1,3 +1,8 @@
+2002-04-23  Satyajit Kanungo  <satyajit.kanungo@wipro.com>
+	* help/Makefile.am changed the docname to gnome-panel
+	* applet.c passed sectids to panel_show_help() to open the correct document
+	* panel-util.cchanged panel_show_help to call gnome_help_display()		
+
 2002-04-22  Padraig O'Briain  <padraig.obriain@sun.com>
 
 	* basep-widget.c foobar-widget.c panel-widget.c:
--- gnome-panel/gnome-panel/menu.c	Fri Apr 19 02:49:18 2002
+++ gnome-panel-new/gnome-panel/menu.c	Wed Apr 24 00:00:14 2002
@@ -3213,7 +3213,7 @@ setup_remove_this_panel(GtkWidget *menu,
 static void
 show_panel_help (GtkWidget *w, gpointer data)
 {
-	panel_show_help ("panel", NULL);
+	panel_show_help ("panel", "gospanel-5");
 }
 
 static void
--- gnome-panel/gnome-panel/help/C/Makefile.am	Wed Mar  6 02:12:27 2002
+++ gnome-panel-new/gnome-panel/help/C/Makefile.am	Wed Apr 24 00:46:33 2002
@@ -24,9 +24,9 @@ figs = \
 	figures/swallow_applet.png \
 	figures/typical_menu.png \
 	figures/tasklist_applet.png
-docname = panel
+docname = gnome-panel
 lang = C
 omffile = panel-C.omf
-entities = legal.xml
+entities = panel.xml
 include $(top_srcdir)/xmldocs.make
 dist-hook: app-dist-hook
--- gnome-panel/gnome-panel/panel-util.c	Sun Apr 14 02:40:52 2002
+++ gnome-panel-new/gnome-panel/panel-util.c	Wed Apr 24 00:03:02 2002
@@ -44,7 +44,7 @@ panel_show_help (const char *doc_name, c
 {
 	GError *error = NULL;
 
-	if (!gnome_help_display_desktop (NULL, "panel", doc_name, linkid, &error)) {
+	if (!gnome_help_display(doc_name, linkid, &error)) {
 		panel_error_dialog ("cannot_show_help",
 				    _("<b>Cannot display help document</b>\n\n"
 				      "Details: %s"), error != NULL ? error->message : "");
--- gnome-panel/gnome-panel/applet.c	Thu Apr 18 02:46:53 2002
+++ gnome-panel-new/gnome-panel/applet.c	Wed Apr 24 00:07:25 2002
@@ -194,7 +194,7 @@ applet_callback_callback(GtkWidget *widg
 		if (strcmp (menu->name, "properties") == 0) {
 			launcher_properties (menu->info->data);
 		} else if (strcmp (menu->name, "help") == 0) {
-			panel_show_help ("launchers", NULL);
+			panel_show_help ("panel", "gospanel-52");
 		} else if (strcmp (menu->name, "help_on_app") == 0) {
 			Launcher * launcher = menu->info->data;
 			if (launcher->ditem != NULL) {
@@ -217,7 +217,7 @@ applet_callback_callback(GtkWidget *widg
 			g_assert(drawer);
 			panel_config(drawer->drawer);
 		} else if (strcmp (menu->name, "help") == 0) {
-			panel_show_help ("drawers", NULL);
+			panel_show_help ("panel", "gospanel-18");
 		}
 		break;
 	case APPLET_MENU:
@@ -252,7 +252,7 @@ applet_callback_callback(GtkWidget *widg
 		char *command = NULL;
 		gboolean freeit = FALSE;
 		if (strcmp (menu->name, "help") == 0)
-			panel_show_help ("specialobjects", "LOCKBUTTON");
+			panel_show_help ("panel", "gospanel-21");
 		else if (!strcmp (menu->name, "restart")) {
 			command = "xscreensaver-command -exit ; xscreensaver &";
 		} else if (!strcmp (menu->name, "prefs")) {
@@ -270,11 +270,11 @@ applet_callback_callback(GtkWidget *widg
 	}
 	case APPLET_LOGOUT:
 		if (strcmp (menu->name, "help") == 0)
-			panel_show_help ("specialobjects", "LOGOUTBUTTON");
+			panel_show_help ("panel", "gospanel-20");
 		break;
 	case APPLET_STATUS:
 		if (strcmp (menu->name, "help") == 0)
-			panel_show_help ("specialobjects", "STATUSDOC");
+			panel_show_help ("panel", "gospanel-22");
 		break;
 	case APPLET_BONOBO:
 		/*
