Index: gtk.c
===================================================================
RCS file: /cvs/gnome/gcalctool/gcalctool/gtk.c,v
retrieving revision 1.124
diff -u -p -r1.124 gtk.c
--- gtk.c	9 Jun 2004 17:18:45 -0000	1.124
+++ gtk.c	11 Jun 2004 17:46:49 -0000
@@ -2152,7 +2152,8 @@ set_error_state(int error)
     SET_MENUBAR_ITEM_STATE("/MenuBar/ViewMenu/Basic",      !v->error); 
     SET_MENUBAR_ITEM_STATE("/MenuBar/ViewMenu/Financial",  !v->error); 
     SET_MENUBAR_ITEM_STATE("/MenuBar/ViewMenu/Scientific", !v->error); 
-    SET_MENUBAR_ITEM_STATE("/MenuBar/ViewMenu/Trailing",   !v->error); 
+    SET_MENUBAR_ITEM_STATE("/MenuBar/ViewMenu/Trailing",
+                           !v->error && (v->modetype == SCIENTIFIC)); 
     SET_MENUBAR_ITEM_STATE("/MenuBar/ViewMenu/Thousands",  !v->error); 
     SET_MENUBAR_ITEM_STATE("/MenuBar/ViewMenu/Memory",     !v->error); 
     SET_MENUBAR_ITEM_STATE("/MenuBar/HelpMenu/About",      !v->error);
