Re: [Sugar-devel] [IAEP] copy files to/from server

2011-05-18 Thread Sascha Silbe
Excerpts from Martin Langhoff's message of Tue May 17 18:34:09 +0200 2011:

 Unfortuntely, there's no easy way to do it with CIFS or NFS -- it
 would be an interesting addition to Sugar (possibly to the Journal)
 but it's a big project.

NFS mounts do turn up as storage devices in the Journal (at least on
Debian Squeeze). They will be treated exactly the same as other storage
devices, i.e. USB sticks and SD cards. I would expect CIFS mounts to
behave the same way. Don't forget to tweak the mount options to avoid
processes from going zombie-like on connection loss.

If you had an XS, you could probably use the DataManager activity [1].

A properly configured HTTP server will at least allow you serve
a) any kind of content with a proper Content-Type (- mime_type)
   directly (but without other metadata) and
b) Journal Entry Bundles [2] including full metadata.

There's currently no way to create a (single-entry) JEB directly from
within Sugar. Writing an activity that does so shouldn't be hard; you
can copy the bundle generation parts from Backup [3].

Sascha

[1] http://activities.sugarlabs.org/en-US/sugar/addon/4208
[2] http://wiki.laptop.org/go/Journal_entry_bundles
[3] http://activities.sugarlabs.org/en-US/sugar/addon/4326
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/


signature.asc
Description: PGP signature
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [OLPC-AU] Search in Favourites View is disabled

2011-05-18 Thread Bastien
James Cameron qu...@laptop.org writes:

 It would be useful both in the list view and in the Home circle view --
 if the search field is to become usable one day (which I hope).

 Of course.

Anyone willing to take action on this?

 My proposal is to distinguish sticky activities from favorite
 activities: the former are the one deployments and teachers want 
 always in the Home view, the latter are the ones the children want 
 for some reason, for some time.

 Sounds interesting, but I really don't know if it would be interesting
 to the design team.  If there's now two reasons for an activity to be
 present, this makes it more complex for the learner.

 I don't have a strong opinion either way.

Me neither.  I was more pointing something that sounded conceptually
relevant, whether it is ergonomically relevant is yet another question,
that's right.

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


Re: [Sugar-devel] [ASLO] Release Get Books-7

2011-05-18 Thread Bastien
Sugar Labs Activities activit...@sugarlabs.org writes:

 Download Now:
 http://activities.sugarlabs.org/downloads/file/27365/get_books-7.xo

Thanks for this new release.

 Release notes:
 Display summary of books bassed in configuration (Daniel Castelo)
 Don't show link in book description (Daniel Castelo)
 Cancel previous download image threads (Daniel Castelo)
 Arrange the text in the description to better fit in the widget space

Can I safely infer that Daniel is the new maintainer?   

(There is no AUTHORS file, I cannot find the right person to contact.)

James Simmons told me that I could use GetBooks with a local OPDS xml
file and a set of .ePub.  

Did anyone already do so?  

Can anyone point me at some existing (simple) OPDS file so that I can
take a stab at this?

My goal is to provide a library of ePub readable with GetBooks in a
place where there is no internet connection.

Thanks!

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


Re: [Sugar-devel] [OLPC-AU] Search in Favourites View is disabled

2011-05-18 Thread James Cameron
On Wed, May 18, 2011 at 10:05:22AM +0200, Bastien wrote:
 James Cameron qu...@laptop.org writes:
 
  It would be useful both in the list view and in the Home circle view --
  if the search field is to become usable one day (which I hope).
 
  Of course.
 
 Anyone willing to take action on this?

Not I.

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


Re: [Sugar-devel] [sugar-devel] It is Python2.6 and GTK2.0

2011-05-18 Thread laurent bernabe
I could not find any line relating to pygtk in my trisquel image,
so that's why i were advised to search for python and gtk separately.

Regards

2011/5/18 James Cameron qu...@laptop.org

 Please don't change the subject line and start a new thread in the
 middle of a discussion.  It confuses readers and wastes time.

 On Tue, May 17, 2011 at 05:51:43PM +0200, laurent bernabe wrote:
  Thanks,
 
  my python version is 2.6
  and my gtk version is 2.0

 Okay, but that wasn't what you were asked.

 What is the python-gtk version?

 (I could download the image myself, but that's a big job for where I
 am).

 --
 James Cameron
 http://quozl.linux.org.au/

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


Re: [Sugar-devel] [sugar-devel] It is Python2.6 and GTK2.0

2011-05-18 Thread laurent bernabe
I forgot to reply to CC (apologizes)

2011/5/18 laurent bernabe laurent.bern...@gmail.com

 Sorry for the subject changes (i am new in mailing-lists),
 in my knew subject, i posted the informations i got from image :
 = +++   Name VersionDescription
 un   python-gtk  No description  No description
 un   python-gtk-1.2No description  No description
 ii python-gtk22.17.0-0ubuntu2   Python bindings
 for GTK Widgets

 (the 2 other lines are about python-gtk2-doc and python-gtksourceview2, so
 i did not put details for these)

 Regards



 2011/5/18 laurent bernabe laurent.bern...@gmail.com

 I could not find any line relating to pygtk in my trisquel image,
 so that's why i were advised to search for python and gtk separately.

 Regards


 2011/5/18 James Cameron qu...@laptop.org

 Please don't change the subject line and start a new thread in the
 middle of a discussion.  It confuses readers and wastes time.

 On Tue, May 17, 2011 at 05:51:43PM +0200, laurent bernabe wrote:
  Thanks,
 
  my python version is 2.6
  and my gtk version is 2.0

 Okay, but that wasn't what you were asked.

 What is the python-gtk version?

 (I could download the image myself, but that's a big job for where I
 am).

 --
 James Cameron
 http://quozl.linux.org.au/




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


[Sugar-devel] C5 2012 Call for Papers

2011-05-18 Thread Bert Freudenberg
Sugar would be right on topic. Very nice conference, I've attended a couple of 
times. Hope to see you there :)

Please spread widely.

- Bert -


The 10th International Conference on Creating, 
Connecting and Collaborating through Computing (C5 2012)

   18-20 January 2012
  Playa Vista, CA USA
 http://www.cm.is.ritsumei.ac.jp/c5-12/

   Hosted by the USC Institute for Creative Technologies
 http://www.ict.usc.edu   

  
Computers, networks, and other forms of technology are pervasive in our 
information-based society. Unfortunately, most users of this technology use 
it for passive consumption of information and entertainment.  To evolve into a
true knowledge society it is critical that we transform computer-based human 
activities to engage users in the active process of creating, connecting, and 
collaborating together.

The C5 conference is for anyone interested in the use of computers as tools to
develop and enable user-oriented creation, connection, and collaboration 
processes.  Researchers, developers, educators and users come together at C5 
to present new and ongoing work and to discuss future directions for creative 
computing and multimedia environments.  We welcome the submission of 
theoretical and technical papers, practitioner/experience reports, and papers
that bridge the gap between theory and practice or that encourage inter- and 
cross-disciplinary study.

   === Keynote Speakers ===

  Helping Everyone Create with Computing
  Dr. Mark Guzdial
Georgia Institute of Technology
 
  C2P3: Creating and Controlling Personalisation 
and Privacy in Pervasive Digital Ecosystems
   Dr. Judy Kay
University of Sydney

   === Topics ===

C5 invites submissions of full papers in (but not limited to) the following 
areas:

- Technology-enhanced human-computer and human-human interaction
 and collaboration
- Virtual worlds and immersive environments
- Educational environments for classroom, field work and online/distance 
 learning
- New technologies for literature, music and the visual arts
- Technologies for collaborative and self-empowered learning
- Multimedia authoring environments
- Gaming/entertainment platforms, virtual characters, and software
 infrastructure
- Social networks and social networking
- Novel programming paradigms and languages for implementors
- Scripting or visual paradigms and languages for end-users
- Creating and maintaining online communities
- Tools for creating/managing online services/environments
- Distributed and collaborative working
- Social and cultural implications of new technologies

Papers should be submitted electronically in PDF format via EasyChair at:

 https://www.easychair.org/conferences/?conf=c512

Submissions must be written in English (the official language of the
conference) and must not exceed eight (8) pages.  They should use the IEEE
10-point two-column format, templates for which are available at:

 http://www.computer.org/portal/web/cscps/home

=== Proceedings ===

A preliminary version of the proceedings will be distributed during the
conference.  The formal version of the proceedings will be published by the
Conference Publishing Services (CPS) and sent to authors after the conference.
For each accepted paper, at least one of the authors needs to attend the
conference and deliver the presentation; otherwise the paper will not be
included in the formal proceedings.

   === Dates ===

 Submission of papers:  October 7, 2011
 Author notification:   November 18, 2011
 Camera-ready copy: December 16, 2011
 Conference:January 18-20, 2012


 http://people.ict.usc.edu/~lane/C5/C5-12-CFP.pdf

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


Re: [Sugar-devel] gtk.RadioToolButton active property not recognized

2011-05-18 Thread James Cameron
On Sat, May 14, 2011 at 11:51:05AM +0200, laurent bernabe wrote:
   * in my application, i'm using two gtk.RadioToolButton
   * the clicked handlers of the two RadioToolButton test the active
   property of the event source (so, the RadioToolButton itself)
   * but the SugarOLPC image logs reports me the error 
   'gtk.RadioToolButton' has no attribute 'active' 
   * however, the PyGTK reference manual says that 'active' is a
   property of gtk.ToggleToolButton, from which RadioToolButton is
   inherited and therefore, handlers are not properly executed
 
 So, what is my error ?

You are using GTK+ version 2.0, according to your mail in another thread.

You are using PyGTK version 2.17.0, according to your mail in another
thread.

The PyGTK 2.24.0 documentation for ToggleToolButton at
http://developer.gnome.org/pygtk/stable/class-gtktoggletoolbutton.html
has a note to the right of the active property which says This
property is available in GTK+ 2.8 and above.  The implication is that
the property is not available below GTK+ 2.8.  Since you have GTK+
version 2.0, the property is expected to be unavailable.

But it is surprising that you are using GTK+ version 2.0 ... could you
please check this version number?  It would be easy for you to misread
the output:

COLUMNS=120 dpkg --list libgtk\*-dev

Here I see:

ii libgtk2.0-dev 2.24.3-1~sid1 Development files for the GTK+ library

Which means I am using version 2.24.3.  The 2.0 in the package name is
not a version number.  This is an easy mistake to make.

Assuming you are using a version of GTK+ of 2.8 or later, I see no
explanation for your error.  I would need to see the source.  Please
post a pointer to your git repository, or web page containing the
source.

By the way, you can obtain matching version documentation for PyGTK on
your system by installing the package python-gtk2-doc, and then opening
the files on the system rather than on internet.

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


Re: [Sugar-devel] [sugar-devel] It is Python2.6 and GTK2.0

2011-05-18 Thread James Cameron
On Wed, May 18, 2011 at 10:56:41AM +0200, laurent bernabe wrote:
 I forgot to reply to CC (apologizes)

Answered in your original mail thread ... I'm hoping that you have the
same problem that you reported.  ;-}

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


Re: [Sugar-devel] [ASLO] Release Get Books-7

2011-05-18 Thread Daniel Castelo
On Wed, May 18, 2011 at 5:08 AM, Bastien b...@altern.org wrote:

 Sugar Labs Activities activit...@sugarlabs.org writes:

  Download Now:
  http://activities.sugarlabs.org/downloads/file/27365/get_books-7.xo

 Thanks for this new release.

  Release notes:
  Display summary of books bassed in configuration (Daniel Castelo)
  Don't show link in book description (Daniel Castelo)
  Cancel previous download image threads (Daniel Castelo)
  Arrange the text in the description to better fit in the widget space

 Can I safely infer that Daniel is the new maintainer?


godiart is the maintainer. I am collaborating with some fixes.



 (There is no AUTHORS file, I cannot find the right person to contact.)

 James Simmons told me that I could use GetBooks with a local OPDS xml
 file and a set of .ePub.

 Did anyone already do so?

 Can anyone point me at some existing (simple) OPDS file so that I can
 take a stab at this?


http://www.feedbooks.com/books/search.atom?query=wilde



 My goal is to provide a library of ePub readable with GetBooks in a
 place where there is no internet connection.


If you have a school server you could use pathagar. Is a simple book server.

I think that this is the repository https://github.com/manuq/pathagar.
Manuel Quiñones is improving this book server.
You could get more information here
http://en.flossmanuals.net/e-book-enlightenment/ch026_the-pathagar-book-server/
http://wiki.sugarlabs.org/go/Book_Server



 Thanks!

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




-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcast...@plan.ceibal.edu.uy
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [ASLO] Release Get Books-7

2011-05-18 Thread Gonzalo Odiard
On Wed, May 18, 2011 at 5:08 AM, Bastien b...@altern.org wrote:

 Sugar Labs Activities activit...@sugarlabs.org writes:

  Download Now:
  http://activities.sugarlabs.org/downloads/file/27365/get_books-7.xo

 Thanks for this new release.

  Release notes:
  Display summary of books bassed in configuration (Daniel Castelo)
  Don't show link in book description (Daniel Castelo)
  Cancel previous download image threads (Daniel Castelo)
  Arrange the text in the description to better fit in the widget space

 Can I safely infer that Daniel is the new maintainer?


I am maintaining it, (Shh, i have not convinced Daniel, yet ;) )


(There is no AUTHORS file, I cannot find the right person to contact.)

 James Simmons told me that I could use GetBooks with a local OPDS xml
 file and a set of .ePub.


There are old code in the activity to read a catalog.xml file in a pendrive.
(see devicemanager.py)
I thing you can create this file with Calibre but I have not tested it, and
I could not find documentation.
Anyway, may be is better deploy one local book server
http://wiki.sugarlabs.org/go/Book_Server

Gonzalo




 Did anyone already do so?

 Can anyone point me at some existing (simple) OPDS file so that I can
 take a stab at this?

 My goal is to provide a library of ePub readable with GetBooks in a
 place where there is no internet connection.

 Thanks!

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

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


Re: [Sugar-devel] [OLPC-AU] Search in Favourites View is disabled

2011-05-18 Thread Gonzalo Odiard
I have code to enable using alpha in the icons,
and I think a good solution can be change the alpha of the icons not
selected in the search
to may be 20 or 30%

It's not difficult to do. Is more difficult to have a agreement about the
feature.

Gonzalo

On Wed, May 18, 2011 at 5:05 AM, Bastien b...@altern.org wrote:

 James Cameron qu...@laptop.org writes:

  It would be useful both in the list view and in the Home circle view --
  if the search field is to become usable one day (which I hope).
 
  Of course.

 Anyone willing to take action on this?

  My proposal is to distinguish sticky activities from favorite
  activities: the former are the one deployments and teachers want
  always in the Home view, the latter are the ones the children want
  for some reason, for some time.
 
  Sounds interesting, but I really don't know if it would be interesting
  to the design team.  If there's now two reasons for an activity to be
  present, this makes it more complex for the learner.
 
  I don't have a strong opinion either way.

 Me neither.  I was more pointing something that sounded conceptually
 relevant, whether it is ergonomically relevant is yet another question,
 that's right.

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

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


Re: [Sugar-devel] [OLPC-AU] Search in Favourites View is disabled

2011-05-18 Thread Bastien
Gonzalo Odiard gonz...@laptop.org writes:

 I have code to enable using alpha in the icons,
 and I think a good solution can be change the alpha of the icons not
 selected in the search
 to may be 20 or 30%

Neat.

 It's not difficult to do. Is more difficult to have a agreement about
 the feature.

100% agreed :)

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


[Sugar-devel] Browse activity

2011-05-18 Thread Gonzalo Odiard
According to git, nobody is working in Browse master.
Who is the actual maintainer?
Any plans?

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


Re: [Sugar-devel] gtk.RadioToolButton active property not recognized

2011-05-18 Thread laurent bernabe
Ok, here the result :

Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version  Description
+++---=
un  libgtksourceview2.0-dev  none   (no description
available)


2011/5/18 James Cameron qu...@laptop.org

 On Sat, May 14, 2011 at 11:51:05AM +0200, laurent bernabe wrote:
* in my application, i'm using two gtk.RadioToolButton
* the clicked handlers of the two RadioToolButton test the active
property of the event source (so, the RadioToolButton itself)
* but the SugarOLPC image logs reports me the error 
'gtk.RadioToolButton' has no attribute 'active' 
* however, the PyGTK reference manual says that 'active' is a
property of gtk.ToggleToolButton, from which RadioToolButton is
inherited and therefore, handlers are not properly executed
 
  So, what is my error ?

 You are using GTK+ version 2.0, according to your mail in another thread.

 You are using PyGTK version 2.17.0, according to your mail in another
 thread.

 The PyGTK 2.24.0 documentation for ToggleToolButton at
 http://developer.gnome.org/pygtk/stable/class-gtktoggletoolbutton.html
 has a note to the right of the active property which says This
 property is available in GTK+ 2.8 and above.  The implication is that
 the property is not available below GTK+ 2.8.  Since you have GTK+
 version 2.0, the property is expected to be unavailable.

 But it is surprising that you are using GTK+ version 2.0 ... could you
 please check this version number?  It would be easy for you to misread
 the output:

COLUMNS=120 dpkg --list libgtk\*-dev

 Here I see:

ii libgtk2.0-dev 2.24.3-1~sid1 Development files for the GTK+
 library

 Which means I am using version 2.24.3.  The 2.0 in the package name is
 not a version number.  This is an easy mistake to make.

 Assuming you are using a version of GTK+ of 2.8 or later, I see no
 explanation for your error.  I would need to see the source.  Please
 post a pointer to your git repository, or web page containing the
 source.

 By the way, you can obtain matching version documentation for PyGTK on
 your system by installing the package python-gtk2-doc, and then opening
 the files on the system rather than on internet.

 --
 James Cameron
 http://quozl.linux.org.au/

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


Re: [Sugar-devel] Browse activity

2011-05-18 Thread Nicholas Doiron

I would be interested in continuing development of the Browse activity. 
We could connect with Mozilla's program to teach the web to kids, called
Hackasaurus ( http://hackasaurus.org ).  I have a quick hack to add their
X-Ray Goggles, a kid-friendly HTML inspector, to the Edit toolbar:
http://mapadelsur.blogspot.com/2011/03/hackasaurus-xo.html

Or maybe that's a separate activity idea.  I suppose most people won't
need that in their browser.

Regards,
Nick Doiron

On Wed, May 18, 2011 9:46 am, Gonzalo Odiard wrote:
 According to git, nobody is working in Browse master.
 Who is the actual maintainer?
 Any plans?


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




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


Re: [Sugar-devel] Browse activity

2011-05-18 Thread Gonzalo Odiard
I am more interested in trying to know who is interested in work in the 155
tickets open against Browse.([1] and [2])
You know, the dirty work ;)
Or a least, receive patches and do releases.
If nobody is doing it, we must found a new maintainer, Browse is the most
used activity,
and have more open tickets than any other activity.

Gonzalo

[1]
http://dev.laptop.org/query?status=assignedstatus=newstatus=reopenedcomponent=browse-activityorder=prioritycol=idcol=summarycol=statuscol=ownercol=typecol=milestone
[2]
http://bugs.sugarlabs.org/query?status=acceptedstatus=assignedstatus=newstatus=reopenedcomponent=Browseorder=prioritycol=idcol=summarycol=prioritycol=statuscol=ownercol=typecol=milestone

On Wed, May 18, 2011 at 10:56 AM, Nicholas Doiron ndoi...@andrew.cmu.eduwrote:


 I would be interested in continuing development of the Browse activity.
 We could connect with Mozilla's program to teach the web to kids, called
 Hackasaurus ( http://hackasaurus.org ).  I have a quick hack to add their
 X-Ray Goggles, a kid-friendly HTML inspector, to the Edit toolbar:
 http://mapadelsur.blogspot.com/2011/03/hackasaurus-xo.html

 Or maybe that's a separate activity idea.  I suppose most people won't
 need that in their browser.

 Regards,
 Nick Doiron

 On Wed, May 18, 2011 9:46 am, Gonzalo Odiard wrote:
  According to git, nobody is working in Browse master.
  Who is the actual maintainer?
  Any plans?
 
 
  Gonzalo
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 



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


Re: [Sugar-devel] gtk.RadioToolButton active property not recognized

2011-05-18 Thread laurent bernabe
Oups ! Forgotten CC reply

2011/5/18 laurent bernabe laurent.bern...@gmail.com

 Oh, i've forgotten

- i have not put source online yet : going to use git as soon as
possible (newbie here again)
- going to install pygtk2-doc package on my sugar : is the best way to
consult it is a text editor such as nano ?

 Regards


 2011/5/18 laurent bernabe laurent.bern...@gmail.com

 Ok, here the result :

 Desired=Unknown/Install/Remove/Purge/Hold
 |
 Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
 |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
 ||/ Name Version  Description

 +++---=
 un  libgtksourceview2.0-dev  none   (no description
 available)



 2011/5/18 James Cameron qu...@laptop.org

  On Sat, May 14, 2011 at 11:51:05AM +0200, laurent bernabe wrote:
* in my application, i'm using two gtk.RadioToolButton
* the clicked handlers of the two RadioToolButton test the active
property of the event source (so, the RadioToolButton itself)
* but the SugarOLPC image logs reports me the error 
'gtk.RadioToolButton' has no attribute 'active' 
* however, the PyGTK reference manual says that 'active' is a
property of gtk.ToggleToolButton, from which RadioToolButton is
inherited and therefore, handlers are not properly executed
 
  So, what is my error ?

 You are using GTK+ version 2.0, according to your mail in another thread.

 You are using PyGTK version 2.17.0, according to your mail in another
 thread.

 The PyGTK 2.24.0 documentation for ToggleToolButton at
 http://developer.gnome.org/pygtk/stable/class-gtktoggletoolbutton.html
 has a note to the right of the active property which says This
 property is available in GTK+ 2.8 and above.  The implication is that
 the property is not available below GTK+ 2.8.  Since you have GTK+
 version 2.0, the property is expected to be unavailable.

 But it is surprising that you are using GTK+ version 2.0 ... could you
 please check this version number?  It would be easy for you to misread
 the output:

COLUMNS=120 dpkg --list libgtk\*-dev

 Here I see:

ii libgtk2.0-dev 2.24.3-1~sid1 Development files for the GTK+
 library

 Which means I am using version 2.24.3.  The 2.0 in the package name is
 not a version number.  This is an easy mistake to make.

 Assuming you are using a version of GTK+ of 2.8 or later, I see no
 explanation for your error.  I would need to see the source.  Please
 post a pointer to your git repository, or web page containing the
 source.

 By the way, you can obtain matching version documentation for PyGTK on
 your system by installing the package python-gtk2-doc, and then opening
 the files on the system rather than on internet.

 --
 James Cameron
 http://quozl.linux.org.au/




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


Re: [Sugar-devel] [ASLO] Release Get Books-7

2011-05-18 Thread James Simmons
The Rural Design Collective made a system for creating an offline
catalog which is described here:

http://en.flossmanuals.net/e-book-enlightenment/ch027_gen-collection-interface-gci/

Rebecca Malamud or Scotty Auble may be able to give you some guidance
on how to set this up.  It looks like you need to create a USB drive
with the label LIB.  If GetBooks sees this mounted on /media it will
try and find the OPDS file so you can browse the collection on the
drive and copy entries to the Journal.  I haven't tried this myself,
but that's how it is described in the chapter, which Rebecca
contributed.

James Simmons


On Wed, May 18, 2011 at 8:13 AM, Gonzalo Odiard gonz...@laptop.org wrote:


 On Wed, May 18, 2011 at 5:08 AM, Bastien b...@altern.org wrote:

 Sugar Labs Activities activit...@sugarlabs.org writes:

  Download Now:
  http://activities.sugarlabs.org/downloads/file/27365/get_books-7.xo

 Thanks for this new release.

  Release notes:
  Display summary of books bassed in configuration (Daniel Castelo)
  Don't show link in book description (Daniel Castelo)
  Cancel previous download image threads (Daniel Castelo)
  Arrange the text in the description to better fit in the widget space

 Can I safely infer that Daniel is the new maintainer?


 I am maintaining it, (Shh, i have not convinced Daniel, yet ;) )


 (There is no AUTHORS file, I cannot find the right person to contact.)

 James Simmons told me that I could use GetBooks with a local OPDS xml
 file and a set of .ePub.


 There are old code in the activity to read a catalog.xml file in a pendrive.
 (see devicemanager.py)
 I thing you can create this file with Calibre but I have not tested it, and
 I could not find documentation.
 Anyway, may be is better deploy one local book server
 http://wiki.sugarlabs.org/go/Book_Server

 Gonzalo




 Did anyone already do so?

 Can anyone point me at some existing (simple) OPDS file so that I can
 take a stab at this?

 My goal is to provide a library of ePub readable with GetBooks in a
 place where there is no internet connection.

 Thanks!

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


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


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


Re: [Sugar-devel] Browse activity

2011-05-18 Thread Anish Mangal
On Wed, May 18, 2011 at 10:12, Gonzalo Odiard gonz...@laptop.org wrote:

 I am more interested in trying to know who is interested in work in the 155
 tickets open against Browse.([1] and [2])
 You know, the dirty work ;)


Yep, I'll 'unconditionally bow' / 'buy a beer' / 'you get the idea' to
anyone who fixes them ;-)

I was at a gathering of kids and teachers identified as sugar power users in
Caacupe, Paraguay yesterday. Almost all of them said they used Browse. So
the bugs are a real pain :/


 Or a least, receive patches and do releases.
 If nobody is doing it, we must found a new maintainer, Browse is the most
 used activity,
 and have more open tickets than any other activity.

 Gonzalo

 [1]
 http://dev.laptop.org/query?status=assignedstatus=newstatus=reopenedcomponent=browse-activityorder=prioritycol=idcol=summarycol=statuscol=ownercol=typecol=milestone
 [2]
 http://bugs.sugarlabs.org/query?status=acceptedstatus=assignedstatus=newstatus=reopenedcomponent=Browseorder=prioritycol=idcol=summarycol=prioritycol=statuscol=ownercol=typecol=milestone


 On Wed, May 18, 2011 at 10:56 AM, Nicholas Doiron 
 ndoi...@andrew.cmu.eduwrote:


 I would be interested in continuing development of the Browse activity.
 We could connect with Mozilla's program to teach the web to kids, called
 Hackasaurus ( http://hackasaurus.org ).  I have a quick hack to add their
 X-Ray Goggles, a kid-friendly HTML inspector, to the Edit toolbar:
 http://mapadelsur.blogspot.com/2011/03/hackasaurus-xo.html

 Or maybe that's a separate activity idea.  I suppose most people won't
 need that in their browser.

 Regards,
 Nick Doiron

 On Wed, May 18, 2011 9:46 am, Gonzalo Odiard wrote:
  According to git, nobody is working in Browse master.
  Who is the actual maintainer?
  Any plans?
 
 
  Gonzalo
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 




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




-- 
Anish | an...@sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Browse activity

2011-05-18 Thread Art Hunkins
Yes, this is particularly crucial as there is no Browse in 0.92 Sugar. (I 
gather it is currently inoperable.) Thus there is no easy way of downloading 
Activities from the web. (I download them on another computer, copy to a USB 
drive, then drag to the Journal on the first computer.)

Art Hunkins
  - Original Message - 
  From: Gonzalo Odiard 
  To: Nicholas Doiron 
  Cc: Sugar-dev Devel 
  Sent: Wednesday, May 18, 2011 10:12 AM
  Subject: Re: [Sugar-devel] Browse activity


  I am more interested in trying to know who is interested in work in the 155 
tickets open against Browse.([1] and [2])
  You know, the dirty work ;)
  Or a least, receive patches and do releases.
  If nobody is doing it, we must found a new maintainer, Browse is the most 
used activity,
  and have more open tickets than any other activity. 

  Gonzalo

  [1] 
http://dev.laptop.org/query?status=assignedstatus=newstatus=reopenedcomponent=browse-activityorder=prioritycol=idcol=summarycol=statuscol=ownercol=typecol=milestone
  [2] 
http://bugs.sugarlabs.org/query?status=acceptedstatus=assignedstatus=newstatus=reopenedcomponent=Browseorder=prioritycol=idcol=summarycol=prioritycol=statuscol=ownercol=typecol=milestone


  On Wed, May 18, 2011 at 10:56 AM, Nicholas Doiron ndoi...@andrew.cmu.edu 
wrote:


I would be interested in continuing development of the Browse activity.
We could connect with Mozilla's program to teach the web to kids, called
Hackasaurus ( http://hackasaurus.org ).  I have a quick hack to add their
X-Ray Goggles, a kid-friendly HTML inspector, to the Edit toolbar:
http://mapadelsur.blogspot.com/2011/03/hackasaurus-xo.html

Or maybe that's a separate activity idea.  I suppose most people won't
need that in their browser.

Regards,
Nick Doiron


On Wed, May 18, 2011 9:46 am, Gonzalo Odiard wrote:
 According to git, nobody is working in Browse master.
 Who is the actual maintainer?
 Any plans?


 Gonzalo

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









--


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


Re: [Sugar-devel] Browse activity

2011-05-18 Thread Peter Robinson
On Wed, May 18, 2011 at 3:49 PM, Art Hunkins abhun...@uncg.edu wrote:
 Yes, this is particularly crucial as there is no Browse in 0.92 Sugar. (I
 gather it is currently inoperable.) Thus there is no easy way of downloading
 Activities from the web. (I download them on another computer, copy to a USB
 drive, then drag to the Journal on the first computer.)

Yes, it needs to be ported to the changes for xulrunner2 (firefox 4)
but we now ship Surf instead for the interim at least.

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


Re: [Sugar-devel] Browse activity

2011-05-18 Thread Gonzalo Odiard
On Wed, May 18, 2011 at 11:58 AM, Peter Robinson pbrobin...@gmail.comwrote:

 On Wed, May 18, 2011 at 3:49 PM, Art Hunkins abhun...@uncg.edu wrote:
  Yes, this is particularly crucial as there is no Browse in 0.92 Sugar. (I
  gather it is currently inoperable.) Thus there is no easy way of
 downloading
  Activities from the web. (I download them on another computer, copy to a
 USB
  drive, then drag to the Journal on the first computer.)

 Yes, it needs to be ported to the changes for xulrunner2 (firefox 4)
 but we now ship Surf instead for the interim at least.


Yes? It's decided? Surf can replace Browse or we are replacing a mountain of
bugs by another different mountain?

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


Re: [Sugar-devel] Browse activity

2011-05-18 Thread Thomas C Gilliard



Art Hunkins wrote:
Yes, this is particularly crucial as there is no Browse in 0.92 Sugar. (I gather it is currently inoperable.) 

surf-115 is the browser used in f15 Soas atm (Sugar 0.92.1)
It is in the repository. It also downloads as a non-favorite from yum 
install surf or yum install @sugar-desktop

The sub-menus work here for me.

Thus there is no easy way of downloading Activities from the web. (I download 
them on another computer, copy to a USB drive, then drag to the Journal on the 
first computer.)

Art Hunkins
  - Original Message - 
  From: Gonzalo Odiard 
  To: Nicholas Doiron 
  Cc: Sugar-dev Devel 
  Sent: Wednesday, May 18, 2011 10:12 AM

  Subject: Re: [Sugar-devel] Browse activity


  I am more interested in trying to know who is interested in work in the 155 
tickets open against Browse.([1] and [2])
  You know, the dirty work ;)
  Or a least, receive patches and do releases.
  If nobody is doing it, we must found a new maintainer, Browse is the most 
used activity,
  and have more open tickets than any other activity. 


  Gonzalo

  [1] 
http://dev.laptop.org/query?status=assignedstatus=newstatus=reopenedcomponent=browse-activityorder=prioritycol=idcol=summarycol=statuscol=ownercol=typecol=milestone
  [2] 
http://bugs.sugarlabs.org/query?status=acceptedstatus=assignedstatus=newstatus=reopenedcomponent=Browseorder=prioritycol=idcol=summarycol=prioritycol=statuscol=ownercol=typecol=milestone


  On Wed, May 18, 2011 at 10:56 AM, Nicholas Doiron ndoi...@andrew.cmu.edu 
wrote:


I would be interested in continuing development of the Browse activity.
We could connect with Mozilla's program to teach the web to kids, called
Hackasaurus ( http://hackasaurus.org ).  I have a quick hack to add their
X-Ray Goggles, a kid-friendly HTML inspector, to the Edit toolbar:
http://mapadelsur.blogspot.com/2011/03/hackasaurus-xo.html

Or maybe that's a separate activity idea.  I suppose most people won't
need that in their browser.

Regards,
Nick Doiron


On Wed, May 18, 2011 9:46 am, Gonzalo Odiard wrote:
 According to git, nobody is working in Browse master.
 Who is the actual maintainer?
 Any plans?


 Gonzalo

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









--


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

  



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


Re: [Sugar-devel] Browse activity

2011-05-18 Thread Gonzalo Odiard
 No its not decided. I decided to use it for SoaS for SoaSv5 so we
 could have some form of working browser.

 Peter


Thanks.

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


Re: [Sugar-devel] [OLPC-AU] another Favorites View proposal

2011-05-18 Thread Walter Bender
I don't want to coop the current thread about search, but I have one
concrete proposal (for which I volunteer to write a patch if we have
consensus) and one long-standing feature request that we should dust off.

(1) I propose that whenever you go to the Home View, you end up in the
standard view. The only way to get to the list view would be by selecting it
from the standard view. I'd even go so far as to suggest that if you
navigate away, you would return to the standard view.

This simple change would take some pressure off the need to distinguish the
list view from the Journal and make it really just for organizing favorites
and nothing else, which keeps it simple. (Even an experience Sugar user such
as myself gets confused sometimes when I end up in the list view... I
repeatedly hit the home view button and type F3 to no effect and think there
must be something broken.)

(2) Multiple groups beyond just the binary favorites/not favorites
selection. Lots of teacher (and kid) feedback about wanting multiple home
view collections. This is more invasive, but if we really think about list
view more narrowly, then adding this would be seemingly doable from the UI
perspective. (One home view could be *all*, meaning we could even eliminate
the need to launch activities from the list view).

-walter

-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [OLPC-AU] another Favorites View proposal

2011-05-18 Thread Tabitha Roder
Plus one to having home view always show favourites not list view, we get
confused with list versus journal view too.
Second part also looks interesting. Will follow the discussion.

Tabitha
On May 19, 2011 3:22 AM, Walter Bender walter.ben...@gmail.com wrote:
 I don't want to coop the current thread about search, but I have one
 concrete proposal (for which I volunteer to write a patch if we have
 consensus) and one long-standing feature request that we should dust off.

 (1) I propose that whenever you go to the Home View, you end up in the
 standard view. The only way to get to the list view would be by selecting
it
 from the standard view. I'd even go so far as to suggest that if you
 navigate away, you would return to the standard view.

 This simple change would take some pressure off the need to distinguish
the
 list view from the Journal and make it really just for organizing
favorites
 and nothing else, which keeps it simple. (Even an experience Sugar user
such
 as myself gets confused sometimes when I end up in the list view... I
 repeatedly hit the home view button and type F3 to no effect and think
there
 must be something broken.)

 (2) Multiple groups beyond just the binary favorites/not favorites
 selection. Lots of teacher (and kid) feedback about wanting multiple home
 view collections. This is more invasive, but if we really think about list
 view more narrowly, then adding this would be seemingly doable from the UI
 perspective. (One home view could be *all*, meaning we could even
eliminate
 the need to launch activities from the list view).

 -walter

 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [OLPC-AU] another Favorites View proposal

2011-05-18 Thread Bert Freudenberg
On 18.05.2011, at 17:22, Walter Bender wrote:

 I don't want to coop the current thread about search, but I have one concrete 
 proposal (for which I volunteer to write a patch if we have consensus) and 
 one long-standing feature request that we should dust off.
 
 (1) I propose that whenever you go to the Home View, you end up in the 
 standard view. The only way to get to the list view would be by selecting it 
 from the standard view. I'd even go so far as to suggest that if you navigate 
 away, you would return to the standard view.

+0.5

 This simple change would take some pressure off the need to distinguish the 
 list view from the Journal and make it really just for organizing favorites 
 and nothing else, which keeps it simple. (Even an experience Sugar user such 
 as myself gets confused sometimes when I end up in the list view... I 
 repeatedly hit the home view button and type F3 to no effect and think there 
 must be something broken.)

I proposed (but failed to provide a patch) to make F3 in the list view go to 
the standard view. 

- Bert -

 (2) Multiple groups beyond just the binary favorites/not favorites selection. 
 Lots of teacher (and kid) feedback about wanting multiple home view 
 collections. This is more invasive, but if we really think about list view 
 more narrowly, then adding this would be seemingly doable from the UI 
 perspective. (One home view could be *all*, meaning we could even eliminate 
 the need to launch activities from the list view).
 
 -walter
 
 -- 
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org
 
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



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


Re: [Sugar-devel] [OLPC-AU] another Favorites View proposal

2011-05-18 Thread Gonzalo Odiard
On Wed, May 18, 2011 at 12:22 PM, Walter Bender walter.ben...@gmail.comwrote:

 I don't want to coop the current thread about search, but I have one
 concrete proposal (for which I volunteer to write a patch if we have
 consensus) and one long-standing feature request that we should dust off.

 (1) I propose that whenever you go to the Home View, you end up in the
 standard view. The only way to get to the list view would be by selecting it
 from the standard view. I'd even go so far as to suggest that if you
 navigate away, you would return to the standard view.

 This simple change would take some pressure off the need to distinguish the
 list view from the Journal and make it really just for organizing favorites
 and nothing else, which keeps it simple. (Even an experience Sugar user such
 as myself gets confused sometimes when I end up in the list view... I
 repeatedly hit the home view button and type F3 to no effect and think there
 must be something broken.)


+1


 (2) Multiple groups beyond just the binary favorites/not favorites
 selection. Lots of teacher (and kid) feedback about wanting multiple home
 view collections. This is more invasive, but if we really think about list
 view more narrowly, then adding this would be seemingly doable from the UI
 perspective. (One home view could be *all*, meaning we could even eliminate
 the need to launch activities from the list view).


May be a good idea for 0.94, trying to design a good holistic design for
tags, including the tags in the Journal ideas [1]

Gonzalo

[1] http://wiki.sugarlabs.org/go/Journal_NewUI
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Browse activity

2011-05-18 Thread Lucian Branescu
On 18 May 2011 16:00, Gonzalo Odiard gonz...@laptop.org wrote:
 On Wed, May 18, 2011 at 11:58 AM, Peter Robinson pbrobin...@gmail.com
 wrote:
 On Wed, May 18, 2011 at 3:49 PM, Art Hunkins abhun...@uncg.edu wrote:
  Yes, this is particularly crucial as there is no Browse in 0.92 Sugar.
  (I
  gather it is currently inoperable.) Thus there is no easy way of
  downloading
  Activities from the web. (I download them on another computer, copy to a
  USB
  drive, then drag to the Journal on the first computer.)

 Yes, it needs to be ported to the changes for xulrunner2 (firefox 4)
 but we now ship Surf instead for the interim at least.


 Yes? It's decided? Surf can replace Browse or we are replacing a mountain of
 bugs by another different mountain?

Right now Surf is incomplete. I haven't had any time to work on either
fixing Browse bugs or finishing Surf.

I do think the future is with webkit, not xulrunner2. Especially since
Mozilla care little about embedding.

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


Re: [Sugar-devel] Browse activity

2011-05-18 Thread Rafael Ortiz
On Wed, May 18, 2011 at 10:59 AM, Lucian Branescu lucian.brane...@gmail.com
 wrote:

 On 18 May 2011 16:00, Gonzalo Odiard gonz...@laptop.org wrote:
  On Wed, May 18, 2011 at 11:58 AM, Peter Robinson pbrobin...@gmail.com
  wrote:
  On Wed, May 18, 2011 at 3:49 PM, Art Hunkins abhun...@uncg.edu wrote:
   Yes, this is particularly crucial as there is no Browse in 0.92 Sugar.
   (I
   gather it is currently inoperable.) Thus there is no easy way of
   downloading
   Activities from the web. (I download them on another computer, copy to
 a
   USB
   drive, then drag to the Journal on the first computer.)
 
  Yes, it needs to be ported to the changes for xulrunner2 (firefox 4)
  but we now ship Surf instead for the interim at least.
 
 
  Yes? It's decided? Surf can replace Browse or we are replacing a mountain
 of
  bugs by another different mountain?

 Right now Surf is incomplete. I haven't had any time to work on either
 fixing Browse bugs or finishing Surf.

 I do think the future is with webkit, not xulrunner2. Especially since
 Mozilla care little about embedding.

 For what I understand from Lucian and others with more technical knowledge
of browse, we should be aiming to do maintain releases fixing critical bugs
of browse and shifting the development efforts to surf.

But the question remains as who is going to make the releases and all the
bug fixing.


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

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


Re: [Sugar-devel] Clock patches

2011-05-18 Thread Gary Martin
Thanks Gonzalo,

I've been watching the tickets, but just a quick ACK (so you don't think I'm 
ignoring you). Will try make some releases of the activities I maintain soonish 
(to pick up new translations as well).

-G

On 17 May 2011, at 14:57, Gonzalo Odiard wrote:

 Hi Gary,
 Attached I send you patches from Manuel Quiñones to implement the new 
 toolbars in Clock
 and resolve a issue where clock is not displayed at start (Tickets [1], [2] 
 and [3])
 I have reviewed and tested the patches.
 
 Gonzalo
 
 [1] http://dev.laptop.org/ticket/10853
 [2] http://bugs.sugarlabs.org/ticket/2719
 [3] http://bugs.sugarlabs.org/ticket/2196
 0001-Show-clock-at-start-SL-2196-SL-2719-OLPC-10853.patch0002-Implement-new-toolbars-OLPC-10862.patch0003-Make-clock.py-pep8-complaint.patch

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


Re: [Sugar-devel] Clock patches

2011-05-18 Thread Gonzalo Odiard
Thanks Gary.

Gonzalo

On Wed, May 18, 2011 at 2:02 PM, Gary Martin garycmar...@googlemail.comwrote:

 Thanks Gonzalo,

 I've been watching the tickets, but just a quick ACK (so you don't think
 I'm ignoring you). Will try make some releases of the activities I maintain
 soonish (to pick up new translations as well).

 -G

 On 17 May 2011, at 14:57, Gonzalo Odiard wrote:

  Hi Gary,
  Attached I send you patches from Manuel Quiñones to implement the new
 toolbars in Clock
  and resolve a issue where clock is not displayed at start (Tickets [1],
 [2] and [3])
  I have reviewed and tested the patches.
 
  Gonzalo
 
  [1] http://dev.laptop.org/ticket/10853
  [2] http://bugs.sugarlabs.org/ticket/2719
  [3] http://bugs.sugarlabs.org/ticket/2196
 
 0001-Show-clock-at-start-SL-2196-SL-2719-OLPC-10853.patch0002-Implement-new-toolbars-OLPC-10862.patch0003-Make-clock.py-pep8-complaint.patch

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

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


Re: [Sugar-devel] [IAEP] copy files to/from server

2011-05-18 Thread Martin Langhoff
On Tue, May 17, 2011 at 5:15 PM, Martin Abente
martin.abente.lah...@gmail.com wrote:
 I still didn't make up my mind about which technical approach should I
 take in order to get this working, but I guess people already started
 sharing some ideas. And I would appreciate more ideas and discussion
 before I get to that point.

ok - some notes from me on this topic

For file management, I very strongly recommend using WebDAV. It is a
bit less efficient than real network file system protocols, but the
benefits are many:
   - more flexibilty
   - closer to you and me in the stack - you can easily find WebDAV
toolkits in HLLs that allow you to expose your data as files and
directories over WebDAV, as well as client implementations
   - it deals reasonably gracefully with intermittent connectivity
(SMB/CIFS, NFS, etc get you nasty system freezes if the server
disappears)
   - wide range of (fairly well behaved) client and server implementations
   - a good test suite for the server side
   - On the XS side... Moodle has a WebDAV implementation and Apache
has one too.

From the department of optimizations to keep in mind early (but
implement late...) -- if ds-backup is working correctly, you'll have
most of the content already on the XS. Might be a nice optimisation to
skip transferring it -- if you have a msg exchange *before* the WebDAV
(or other) file transfer.

 The very basic requirement is: each children must have its private
 cloud volume, where they can drop their files in the same way they
 interact with physical external storage devices.

Why would I drop the file there? In my understanding, what you want to
do with it is *publish* it.

 On top of that we can do a lot of things that might be very useful for
 teachers daily in the classrooms.

Yeah - *publish it to my classroom group* -- via Moodle. I've worked
for ~10 years with teachers and that's what they want to do 99.9% of
the time -- publish it to the group. If we do that nicely, we're
golden.

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [OLPC-AU] another Favorites View proposal

2011-05-18 Thread Art Hunkins
Your first suggestion is a particularly good one. +1

Art Hunkins
  - Original Message - 
  From: Walter Bender 
  To: Bastien ; Gonzalo Odiard ; sugar-devel ; OLPC Australia list ; James 
Cameron ; Gary C Martin 
  Sent: Wednesday, May 18, 2011 11:22 AM
  Subject: Re: [Sugar-devel] [OLPC-AU] another Favorites View proposal


  I don't want to coop the current thread about search, but I have one concrete 
proposal (for which I volunteer to write a patch if we have consensus) and one 
long-standing feature request that we should dust off.

  (1) I propose that whenever you go to the Home View, you end up in the 
standard view. The only way to get to the list view would be by selecting it 
from the standard view. I'd even go so far as to suggest that if you navigate 
away, you would return to the standard view.

  This simple change would take some pressure off the need to distinguish the 
list view from the Journal and make it really just for organizing favorites and 
nothing else, which keeps it simple. (Even an experience Sugar user such as 
myself gets confused sometimes when I end up in the list view... I repeatedly 
hit the home view button and type F3 to no effect and think there must be 
something broken.)

  (2) Multiple groups beyond just the binary favorites/not favorites selection. 
Lots of teacher (and kid) feedback about wanting multiple home view 
collections. This is more invasive, but if we really think about list view more 
narrowly, then adding this would be seemingly doable from the UI perspective. 
(One home view could be *all*, meaning we could even eliminate the need to 
launch activities from the list view).

  -walter

  -- 
  Walter Bender
  Sugar Labs
  http://www.sugarlabs.org




--


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


Re: [Sugar-devel] [OLPC-AU] Search in Favourites View is disabled

2011-05-18 Thread Mikus Grinbergs

Blue sky suggestion:

When hovering over second-from-right icon in top bar of Home View, open 
a palette with TWO OR MORE favorites-list icons.  Clicking on one of 
these favorites-list icons brings up a set of activity-icons (which 
have been associated with *that* favorites list).  Clicking on a 
different one of those favorites-list icons brings up a DIFFERENT set 
of activity-icons (which have been associated with *that* list).


Thus you could have one set of favorites for Science_curriculum;  a 
second set of favorites for Languages_curriculum; etc., etc.


mikus

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


Re: [Sugar-devel] gtk.RadioToolButton active property not recognized

2011-05-18 Thread James Cameron
On Wed, May 18, 2011 at 04:25:29PM +0200, laurent bernabe wrote:
 + going to install pygtk2-doc package on my sugar : is the best way to
 consult it is a text editor such as nano ?

No.

On a Debian derived system, the package name is python-gtk2-doc, and
when it is installed the files can be listed with

dpkg --listfiles python-gtk2-doc

There are example Python source files as well as reference and tutorial
in HTML format.  To open the HTML documentation in a way that makes it
easiest to use, start your web browser and navigate to the page

file:///usr/share/gtk-doc/html/pygtk/index.html

For example

firefox file:///usr/share/gtk-doc/html/pygtk/index.html

Regarding the version of GTK+ the advice I gave you was wrong ... I was
asleep.  There was no reason for the -dev package to be present.  Try
this:

dpkg-query -W -f='${Package} ${Version}\n' libgtk2.0\*

Another way to find the version is with a Python program:

 print gtk.gtk_version
(2, 24, 3)

And if you are writing code that depends on a particular version, you
can call check_version

 gtk.check_version(2, 8, 0)
 gtk.check_version(0, 0, 0)
'Gtk+ version too new (major mismatch)'
 gtk.check_version(44,44,44)
'Gtk+ version too old (major mismatch)'

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


Re: [Sugar-devel] [OLPC-AU] another Favorites View proposal

2011-05-18 Thread Sridhar Dhanapalan
On 19 May 2011 01:22, Walter Bender walter.ben...@gmail.com wrote:
 I don't want to coop the current thread about search, but I have one
 concrete proposal (for which I volunteer to write a patch if we have
 consensus) and one long-standing feature request that we should dust off.

 (1) I propose that whenever you go to the Home View, you end up in the
 standard view. The only way to get to the list view would be by selecting it
 from the standard view. I'd even go so far as to suggest that if you
 navigate away, you would return to the standard view.

 This simple change would take some pressure off the need to distinguish the
 list view from the Journal and make it really just for organizing favorites
 and nothing else, which keeps it simple. (Even an experience Sugar user such
 as myself gets confused sometimes when I end up in the list view... I
 repeatedly hit the home view button and type F3 to no effect and think there
 must be something broken.)

+1. I sometimes have the same problem.


 (2) Multiple groups beyond just the binary favorites/not favorites
 selection. Lots of teacher (and kid) feedback about wanting multiple home
 view collections. This is more invasive, but if we really think about list
 view more narrowly, then adding this would be seemingly doable from the UI
 perspective. (One home view could be *all*, meaning we could even eliminate
 the need to launch activities from the list view).

+1 in principle. I'm concerned that we're moving towards an
old-fashioned 'folder' type organisational structure. The devil's in
the implementation.

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


Re: [Sugar-devel] gtk.RadioToolButton active property not recognized

2011-05-18 Thread James Cameron
On Sat, May 14, 2011 at 11:51:05AM +0200, laurent bernabe wrote:
   * in my application, i'm using two gtk.RadioToolButton

Looking at your source code, and simplifying it for discussion, you do
this:

def add():
foo = gtk.RadioToolButton(None, gtk.STOCK_MEDIA_RECORD)
foo.set_active(True)
foo.connect(clicked, bar)

def bar(foo):
if foo.get_active():
...

   * the clicked handlers of the two RadioToolButton test the active
   property of the event source (so, the RadioToolButton itself)

The clicked signal name is not in RadioToolButton widget class but in
ancestor widget class ToolButton.  I don't think that is the problem,
but I mention it for clarity.

For simplicity one might use the toggled signal of the less distant
ancestor class ToggleToolButton.

I suggest you try using toggled ... which would require a different
signal function.

   * but the SugarOLPC image logs reports me the error 
   'gtk.RadioToolButton' has no attribute 'active' 

It is as if the active attribute has been removed by the initialiser
of the higher class.

   * however, the PyGTK reference manual says that 'active' is a
   property of gtk.ToggleToolButton, from which RadioToolButton is
   inherited and therefore, handlers are not properly executed

Yes, and this is only available in GTK+ 2.8 and above.  I'm sure you'll
eventually work out what version you are using.

If it still does not work, then it sounds like a PyGTK or GTK+ bug that
you might raise with those projects ... after checking to see if it is
fixed in the latest versions.  Otherwise, try using toggled and see if
it works.

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


Re: [Sugar-devel] [OLPC-AU] another Favorites View proposal

2011-05-18 Thread Mikus Grinbergs

(One home view could be *all*, meaning we could even eliminate
the need to launch activities from the list view)


I personally prefer the list view to remain -- it provides a convenient 
place where to erase installed Activities that one no longer wants.
[I think Activities should NOT be removable-from-storage through Home 
View Ring, etc.]


Further, I myself have over 100 Activities installed on my XO (their 
code physically resides on an SD card).  To show *all* of them in one 
screen makes their icons very small.  But list view, since it is 
scrollable, provides the visual room to list What all *is* there? 
(both label and decent-sized icon) for the person looking at that XO.


mikus

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


[Sugar-devel] Patch for Jukebox: New toolbar

2011-05-18 Thread manuel quiñones
Hello,

Here is a patch to use the new toolbar for the Jukebox activity.  A
few notes about the changes below:

You will notice that I renamed the ControlToolbar class to just
Control, that's because it doesn't inherit anymore from gtk.Toolbar,
now the toolbar is a property of that class, that can be the old one
or the new one.

I moved the fullscreen button to a View subtoolbar for consistency
with other activities.

Regards,

-- 
.. manuq ..


0001-New-toolbar.patch
Description: Binary data
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Patch for Jukebox: New toolbar

2011-05-18 Thread Rafael Ortiz
Hi Manu.

2011/5/18 manuel quiñones manuel.por@gmail.com

 Hello,

 Here is a patch to use the new toolbar for the Jukebox activity.  A
 few notes about the changes below:

 You will notice that I renamed the ControlToolbar class to just
 Control, that's because it doesn't inherit anymore from gtk.Toolbar,
 now the toolbar is a property of that class, that can be the old one
 or the new one.

 I moved the fullscreen button to a View subtoolbar for consistency
 with other activities.

 Regards,


I think that Sebastian Silva (on cc) has a merge request to fix this issue
also.

http://git.sugarlabs.org/jukebox/mainline/merge_requests/2

 Would be nice if you two work with kushal to have this merged into mainline
and packaged into a new release.

Thanks for your patch, gonzalo has a list of activities that
need a new toolbar if you want to work on those :).

http://dev.laptop.org/query?status=assignedstatus=newstatus=reopenedsummary=~has+old+toolbarcol=idcol=summarycol=statuscol=typecol=prioritycol=milestonecol=componentorder=priority




--
 .. manuq ..

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


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