[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Sharable KCModules?
From:       Ben Cooksley <bcooksley () kde ! org>
Date:       2011-12-09 11:38:46
Message-ID: CA+XidOHeo9R89JJHXgfS8=k0m+vg+kK0UKfm_VdYGGSEb2WgHQ () mail ! gmail ! com
[Download RAW message or body]

On Fri, Dec 9, 2011 at 11:16 PM, David Baron <d_baron@012.net.il> wrote:
> On Friday 13 Kislev 5772 11:38:36 Sebastian K=FCgler wrote:
>> On Thursday, December 08, 2011 19:52:36 David Baron wrote:
>> > Is there a way, probably in the desktop file, to make a KCModule
>> > sharable? Right now, the first plasma object to get it owns it.
>> >
>> > I am not worried about syncronization between instances that modify da=
ta,
>> > but =A0would be interested in that eventually is this thing be possibl=
e at
>> > all.
>> >
>> > Thanks in advance.
>>
>> What exactly are you trying to achieve?
>
> I have a krunner and viewer which can access the configuration dialog.
>
> There is now a plasmoid that will also execure runners using RunnerManage=
r.
>
> Whichever one launches first, plasmoid in plasma-desktop or krunner and
> afterwards I add the plasmoid, will "own" the KCModule. The other one wil=
l get
> the dialog as "already open in ...."

Once you have finished with the control module (ie. when closing the
configuration dialog) you need to free it by deleting it.
Then it will be usable in both locations.

This is what System Settings does when returning to the module selection sc=
reen.

>
> Since users may well be using both, I would like to avoid this problem.

Regards,
Ben

> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic