[Sugar-devel] One instance activity
Bert Freudenberg
bert at freudenbergs.de
Tue Dec 9 14:39:52 EST 2008
On 09.12.2008, at 18:55, Eben Eliason wrote:
> Are you sure? Browse makes use of shared code, but still presents the
> user with the appearance of multiple instances.
Right.
The way to do it would be to create a unique D-Bus service in your
activity. When the second instance tries to create that service it
will notice that it already exists. It could then notify its first
instance via said D-Bus service.
> It seems to me that
> the request here to prevent instances entirely goes against the Sugar
> HIG, but I might be misunderstanding.
>
> Pablo, for what reasons do you desire to prevent multiple instances
> from running?
Hope there's a better reason than "it's too easy to create unwanted
instances" ... (still waiting for the home view icons to resume by
default)
- Bert -
More information about the Sugar-devel
mailing list