[Sugar-devel] question about jarabe/view/palette.py

Aleksey Lim alsroot at member.fsf.org
Mon Jul 12 15:18:36 EDT 2010


On Mon, Jul 12, 2010 at 06:43:48PM +0000, Sascha Silbe wrote:
> Excerpts from Walter Bender's message of Mon Jul 12 17:22:55 +0000 2010:
> 
> > I've attached a screen dump to show what I am trying accomplish.
> [Screenshot shows Activity icon in Frame with "Write to Journal" palette item]
> 
> Why don't you just tell the Journal to open the details screen of the current activity instance? That should be rather easy to implement (there's an existing DBus interface to do it and probably even a nice Python API). It would also avoid duplicating functionality. Additionally the same button could be shown inside the activity itself.

Just an additional info, using internal widgets could be not possible
for non-native activities e.g. TuxPaint is SDL based application and
trying to use gtk widgets or mimic to gtk widgets could be painful.
In this case, I just open details dialog in journal on activity shutdown
(only if new jobject was created).

-- 
Aleksey


More information about the Sugar-devel mailing list