Index: gcalctool/gtk.c
===================================================================
RCS file: /cvs/gnome/gcalctool/gcalctool/gtk.c,v
retrieving revision 1.166
diff -u -r1.166 gtk.c
--- gcalctool/gtk.c	6 Apr 2005 15:33:43 -0000	1.166
+++ gcalctool/gtk.c	6 Apr 2005 17:18:10 -0000
@@ -227,8 +227,10 @@
     { "Insert", NULL, N_("_Insert ASCII Value..."), "<control>I",
       N_("Insert ASCII value"), G_CALLBACK(mb_proc) },
 
+#ifndef DISABLE_GNOME
     { "Contents", GTK_STOCK_HELP, N_("_Contents"), "F1",
       N_("Show help contents"), G_CALLBACK(mb_proc) },
+#endif /*DISABLE_GNOME*/
     { "About", GTK_STOCK_ABOUT, N_("_About"), NULL,
       N_("Show the About Gcalctool dialog"), G_CALLBACK(about_cb) },
 
@@ -375,7 +377,9 @@
 "      <menuitem action='ArithmeticPrecedence'/>"
 "    </menu>"
 "    <menu action='HelpMenu'>"
+#ifndef DISABLE_GNOME
 "      <menuitem action='Contents'/>"
+#endif /*DISABLE_GNOME*/
 "      <menuitem action='About'/>"
 "    </menu>"
 "  </menubar>"
@@ -1040,7 +1044,10 @@
     GSList *p = NULL;
     gint i = 0;
     static gchar *action_image[] = { "Quit", "Copy", "Paste", 
-                                     "Contents", "About", NULL };
+#ifndef DISABLE_GNOME
+                                     "Contents", 
+#endif /*DISABLE_GNOME*/
+                                     "About", NULL };
 
     while (action_image[i]) {
         act = gtk_action_group_get_action (X->actions, action_image[i]);
