Tweak ProjectManagerViewPlugin's ContextMenu

Olivier JG olivier.jg at gmail.com
Fri Oct 15 06:41:21 UTC 2010


  Attached is a patch that updates the ContextMenu in 
projectmanagerviewplugin.cpp to do the following:

(1) Show only Actions that apply to *all* selected items
(2) Don't show remove action for targets or targets' subfiles

Point (1) should just make sense... I think.
Point (2) makes sense because remove never worked for them anyway, and 
it should actually be "Remove Target" and "Remove From Target" respectively.

Unless there are any objections I'll push this in ~6 hours.

-Olivier JG

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: contextmenu.diff
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101015/f23f229d/attachment.ksh>


More information about the KDevelop-devel mailing list