<div dir="ltr">First of all I'd like to say that I think this is very needed if we want to bring some central support for vcs.<br><br>I think that the proper way to implement it would be creating a plugin such as the Project Manager that added the context menu entries querying the vcs plugins (using the project management plugin hooks or adding new ones if necessary).<br>
<br>Hope this helps.<br>Aleix<br><br><div class="gmail_quote">On Sat, Aug 16, 2008 at 10:13 PM, Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I wanted to move the code that populates the "Version Control" context<br>
menu from the individual vcs plugins into a more central place.<br>
Unfortunately I couldn't quite figure out the apropriate place for it.<br>
<br>
My problem is mostly that in shell/ there's only plugin controller who<br>
can contribute to the context menus, but I don't want the VCS-code<br>
there.<br>
<br>
So I'm looking for ideas how to do this in a clean way, ideally<br>
something inside the vcs library would do this, but that would need<br>
either the vcs lib linking to shell or a public signal in the<br>
interfaces. I don't really like either of the options, but has anybody<br>
got a better idea?<br>
<br>
This might not be just for VCS context menu, I think in the future there<br>
maybe other things that could use this - if we find a proper API to do<br>
it.<br>
<br>
Oh, and I fixed the problem with the VC-Context menu having duplicate<br>
entries, the dvcsjob had a small bug.<br>
<br>
The reason to still have the VC-Menu populated in a central place<br>
instead of by the plugins individually is to make sure that any<br>
VCS-plugin provides some common base functionality with common widgets<br>
so users don't need to learn a completely different UI everytime they<br>
have to switch the VC-System.<br>
<br>
Andreas<br>
<font color="#888888"><br>
--<br>
You can do very well in speculation where land or anything to do with dirt<br>
is concerned.<br>
<br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</font></blockquote></div><br></div>