[rkward-cvs] SF.net SVN: rkward: [838] trunk/rkward

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Oct 9 15:42:37 UTC 2006


Revision: 838
          http://svn.sourceforge.net/rkward/?rev=838&view=rev
Author:   tfry
Date:     2006-10-09 08:42:32 -0700 (Mon, 09 Oct 2006)

Log Message:
-----------
Improvment to previous commit: Offer "Search Help" option on all types of objects outside .GlobalEnv

Modified Paths:
--------------
    trunk/rkward/ChangeLog
    trunk/rkward/rkward/robjectbrowser.cpp

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2006-10-09 15:27:23 UTC (rev 837)
+++ trunk/rkward/ChangeLog	2006-10-09 15:42:32 UTC (rev 838)
@@ -1,4 +1,4 @@
-- RMB option to search help on function objects in object browser
+- RMB option to search help on objects from packages in object browser
 - show tooltip information on objects in object browser
 - do not crash on call to "browser ()"
 - the object browser is updated automatically when needed

Modified: trunk/rkward/rkward/robjectbrowser.cpp
===================================================================
--- trunk/rkward/rkward/robjectbrowser.cpp	2006-10-09 15:27:23 UTC (rev 837)
+++ trunk/rkward/rkward/robjectbrowser.cpp	2006-10-09 15:42:32 UTC (rev 838)
@@ -170,7 +170,7 @@
 		return;
 	}
 
-	menu->setItemVisible (Help, object->isType (RObject::Function));
+	menu->setItemVisible (Help, !object->isInGlobalEnv ());
 	menu->setItemVisible (Edit, object->canEdit () && RKWorkplace::mainWorkplace ()->canEditObject (object));
 	menu->setItemVisible (View, object->canRead ());
 	menu->setItemVisible (Rename, object->canRename ());


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list