Sublime: how to implement "add toolview" context menu?

Milian Wolff mail at milianw.de
Sat Oct 31 03:39:13 UTC 2009


On Wednesday 28 October 2009 03:05:22 Milian Wolff wrote:
> Hey there,
> 
> especially Adymo, hope you read this mail and can answer it!
> 
> I tried to implement a - on first sight simple - context menus for
>  KDevelop:
> 
> When requested anywhere on the bar that holds these buttons, offer a list
>  of tool views to add to this bar.
> 
> Well, I failed. Once again it seems because of the added complexity due to
> Sublime/Shell differentiation.
> 
> Any ideas how I could get the list of loadable ToolViews? Right now they
>  are all in the UiController.
> 
> Or do I have to jump through hoops again, i.e. bubble the signal to the
>  shell until I can add the actions, similar to the way I did with the
>  tabbar context menu?

hacked something together. works. please review - not sure about one or two 
parts.
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20091031/75b10213/attachment.sig>


More information about the KDevelop-devel mailing list