[Sugar-devel] [Design]: Issue SL 2164 (Downgrading activities not allowed)

2010-10-11 Thread Shanjit Singh Jajmann
Team,

I am currently working on issue #2164 (
http://bugs.sugarlabs.org/ticket/2164 ) . Send my revised patch for review a
few minutes ago. Wish to thank Aleksey for his feedback and reviews.

In reference to Aleksey's comment on my patch yesterday -

What about less invasive implementation, ie, instead of changing three
files, it could be only popping up an alert in AlreadyInstalledException
try..except block, misc.py is a part of Journal and raising an alert
from it, sounds reasonable.

We have arrived at two approaches towards enabling this feature -

1. Instead of calling misc.resume in Listview  and then emitting the signal
to JournalActivity. Creating JournalActivty.resume , having the exact same
functionality as misc.resume. and calling it from listview.py and
implementing alertbox from there. We would then not be calling
misc.resume in Listview  and emitting the signal to JournalActivity, which
happens at this juncture in the code.

2. Replacing misc.resume to JournalActivity.resume everywhere, where ever
called.( in all files). Appropriate importing of methods and files will be
required to do this.

Wish if you could share your recommendations on the above two approaches -

Appreciate your support and feedback.

Thanks

Regards
Shan
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Design]: Issue SL 2164 (Downgrading activities not allowed)

2010-10-11 Thread James Cameron
On Tue, Oct 12, 2010 at 01:17:07AM +0530, Shanjit Singh Jajmann wrote:
 Send (sic) my revised patch for review a few minutes ago. Wish to
 thank Aleksey for his feedback and reviews.

http://patchwork.sugarlabs.org/patch/309/ is the patchwork thread on
your revised patch.  There have been two reviews since.

 In reference to Aleksey's comment on my patch yesterday -

Please in future reply to the comment directly, so that the thread is
maintained.  I didn't take this new message of yours into consideration
when I reviewed just now, because it wasn't linked.

http://patchwork.sugarlabs.org/patch/296/ is the patchwork thread to
which Aleksey responded.  I've marked that patch superseded.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel