[Sugar-devel] [PATCH sugar] Control Panel "About my Computer": show information on XO 1.75 OLPC #11232
simon at schampijer.de
Wed Sep 28 12:30:23 EDT 2011
On 09/28/2011 06:24 PM, Walter Bender wrote:
> On Wed, Sep 28, 2011 at 10:24 AM, Simon Schampijer<simon at schampijer.de> wrote:
>> '/ofw' has been removed on the XOs now. We need to refine the
>> check if the machine is an XO in order to display the
>> information accordingly.
> Can we finally agree to create a toolkit method for this? As an
> activity maintainer who needs to occasionally do things differently on
> an XO than other HW, it would be really nice to not have to keep
> changing my XO detection methods as the system changes under me.
We discussed this a bit briefly the other day with Gonzalo and Daniel.
The pro is, that code is not duplicated in activities. The con is, that
activities should not depend on any hardware and use other methods to
determine specific hardware (camera detection etc) and maybe there
should be guidelines about good practices.
Good topic, we should see what makes sense and what we can agree on.
More information about the Sugar-devel