[Sugar-devel] Fwd: One instance activity

Rafael Enrique Ortiz Guerrero dirakx at gmail.com
Mon Dec 8 17:45:50 EST 2008


Rafael Ortiz


---------- Forwarded message ----------
From: Pablo Posada <pablo.posada at tcs.com>
Date: Mon, Dec 8, 2008 at 9:33 AM
Subject: One instance activity
To: devel at lists.laptop.org



Hello list,
 I was wondering if someone has tried something to handle a one instance
activity.
What i want to do is cancel if someone tries to open the same activity from
the journal, and show the previous one with the document requested.

I try to handle the request in the sugarActivity file, i can find out if it
is already running and cancel the second. But the activity starts and stays
"initializing..."

Any ideas will help.
Thanks
Pablo Posada
____________________________________________

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you



_______________________________________________
Devel mailing list
Devel at lists.laptop.org
http://lists.laptop.org/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20081208/518d65f3/attachment.htm 


More information about the Sugar-devel mailing list