Settings Button in Plugin Selector

Andreas Pakulat apaku at gmx.de
Tue Nov 24 08:14:32 UTC 2009


On 24.11.09 07:19:54, Niko Sams wrote:
> On Mon, Nov 23, 2009 at 21:24, Andreas Pakulat <apaku at gmx.de> wrote:
> > On 23.11.09 19:14:07, Niko Sams wrote:
> >> On Fri, Nov 20, 2009 at 00:09, Andreas Pakulat <apaku at gmx.de> wrote:
> >> > On 19.11.09 17:56:58, Niko Sams wrote:
> >> >> Hi,
> >> >>
> >> >> The Upload plugin shows a Settings-Button in the Plugin Selector. This
> >> >> button should
> >> >> not be here. How can I hide it?
> >> >> It must come from kcm_kdev_upload.desktop - that should be used in
> >> >> Project Configuration only.
> >> >
> >> > No, that happens because the plugin exposes itself as a Global plugin
> >> > (see kdevupload.desktop) and the kcm tells the service-stuff that its
> >> > parent component is that plugin. If you want this plugin to be a
> >> > project-plugin use X-KDevelop-Category=Project instead.
> >> But then it doesn't show up at all in plugin configuration.
> >> It should be possible to deactivate - especially because of it's limited
> >> use when doing C++ development.
> >
> > Thats not how things work. There are project and global plugins and
> > project plugins are not possible to disable currently (and won't be for
> > 4.0)
> Ok, Category Project is not a solution.
> How to hide the configure button in the plugin selector.then?

You could try not mentioning the plugin component name in the kcm's
.desktop file. Not sure what other side-effects that might have though.

Andreas
 
-- 
You are sick, twisted and perverted.  I like that in a person.




More information about the KDevelop-devel mailing list