[Sugar-devel] Share button in the activity toolbar (from the toolbar redesign thread)

Aleksey Lim alsroot at member.fsf.org
Fri Jul 31 08:41:11 EDT 2009


On Fri, Jul 31, 2009 at 02:05:48PM +0200, Tomeu Vizoso wrote:
> On Fri, Jul 31, 2009 at 13:47, Simon Schampijer<simon at schampijer.de> wrote:
> > Another question that came up today:
> >
> > Should the activity toolbar contain the "share" option by default?
> > Disabled by default?
> 
> Maybe we could use the max_participants property to know when to
> disable the button?

So, the question is - what is default value for max_participants :)

In current code it equals to 0 but old sharing component compares it
with 1 thus share combo is visible by default.

btw all activities, I've seen before that don't want sharing, hide
share combo by share.props.visible not by max_participants, I guess
it signalizes about not consistency of current implementation where
user can hide/show share button by two different methods.

-- 
Aleksey


More information about the Sugar-devel mailing list