[Sugar-devel] #306 Mirror arrow icons when running in RTL mode

2010-10-02 Thread Anubhav Aggarwal
Team,

Patches have been been uploaded for the bug SL #306(Mirror arrow icons when
running in RTL mode
link:http://bugs.sugarlabs.org/ticket/306).There
are 4 different patches refletion changes in 5 different files.
There are multiple patches because there are toolbars of different
activities that needs to be modified.

This patch inserts a if condition in the intiallization of the the class of
the toolbar.Which check for the direction of
the language is right to left or left to right thus reverting the buttons of
toolbar (in the case of rtl )

 Activity --  File
--- Patches

1.write  /source/write/toolbar.py
20001-Mirror-arrow-icons-when-running-in-RTL-mode-306

2.log /source/log/logviewer.py
10001-Mirror-arrow-icons-when-running-in-RTL-mode-306

3.Browse  /source/browse/edittoolbar.py
30001-Mirror-arrow-icons-when-running-in-RTL-mode-306
   /source/browse/webtoolbar.py


4.Read/source/read/readtoolbar.py
40001-Mirror-arrow-icons-when-running-in-RTL-mode-306



Wish if the patches could be reviewed.


Looking forward to your feedback

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


Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)

2010-10-02 Thread Dipankar Patro
Hi all,

I am currently facing some problem with XS setup. I downloaded the image and
installed it on VMware. But that did not work.
So I moved on to the three pointers that Bernie provided.

I have removed the use of re and am searching for a filter the input of the
gtk Entry widget.
I also searched for first time boot check (jarabe/intro/) [Thanks to Aleskey
who helped me with the first time boot code.]


Bernie,
Since the school server setup may take up a day or two, I can definitely
work on the bug #1976 in the meantime. I will send the patch as soon as it
is ready and tested.

Sascha,
I agree with you, there should be ready-made Live CD kind of thing for XS.
Just plug and test! :-)

Regards,
Dipankar

On Sat, Oct 2, 2010 at 1:53 PM, Sascha Silbe <
sascha-ml-reply-to-201...@silbe.org> wrote:

> Excerpts from Dipankar Patro's message of Fri Oct 01 21:00:57 +0200 2010:
>
> > Thanks Sascha for the patch.
>
> The credit belongs to Tim McNamara, not me. :)
>
> Sascha
>
> --
> http://sascha.silbe.org/
> http://www.infra-silbe.de/
>
> ___
> 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] Shutdown and Logout menu items should activate the busy cursor (or provide some other visual feedback) (Ticket #2151)

2010-10-02 Thread Anurag Chowdhury
Hi

I had made the Patch for the Bug #2151

*http://patchwork.sugarlabs.org/patch/281/*

Please review the Patch and provide suggestions on any change required.

regards

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


[Sugar-devel] need documentation, both in-activity and on the wiki (Ticket #2372)

2010-10-02 Thread Anurag Chowdhury
Hi

I had made the documentation for the Bug #2372 and provided the upload
link details at
*http://bugs.sugarlabs.org/ticket/2372*

Please review the document and provide suggestions on any change required.

regards

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


[Sugar-devel] need documentation, both in-activity and on the wiki (Ticket #2371)

2010-10-02 Thread Anurag Chowdhury
Hi

I had made the documentation for the Bug #2371 and provided the upload
link details at
*http://bugs.sugarlabs.org/ticket/2371*

Please review the document and provide suggestions on any change required.

regards

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


[Sugar-devel] [ASLO] Release Abacus-19

2010-10-02 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4293

Sugar Platform:
0.82 - 0.90

Download Now:
http://activities.sugarlabs.org/downloads/file/27054/abacus-19.xo

Release notes:
* when you switch between different abaci, the value propagates from one to the 
next (so you can see how the same value is represented on different abaci with 
a single button click.) Thanks to Tony Forester for coming up with that feature 
request.
* type values into abacus
* supports copy/paste thanks to Shanjit Singh Jajmann


Sugar Labs Activities
http://activities.sugarlabs.org

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


[Sugar-devel] [ASLO] Release Sliderule-21

2010-10-02 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4222

Sugar Platform:
0.82 - 0.90

Download Now:
http://activities.sugarlabs.org/downloads/file/27053/sliderule-21.xo

Release notes:
* respect for locale decimal point convention, e..g, period or comma



Sugar Labs Activities
http://activities.sugarlabs.org

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


[Sugar-devel] [ASLO] Release Visual Match-26

2010-10-02 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4246

Sugar Platform:
0.82 - 0.90

Download Now:
http://activities.sugarlabs.org/downloads/file/27052/visual_match-26.xo

Release notes:
Import custom cards from Journal


Sugar Labs Activities
http://activities.sugarlabs.org

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


[Sugar-devel] Sugar Digest 2010-10-02

2010-10-02 Thread Walter Bender
==Sugar Digest==

1. Simon Schampijer (erikos) and the Release Team have made the
Sucrose 0.90 tarballs available (See
[http://lists.sugarlabs.org/archive/sugar-devel/2010-September/027357.html]).
The release notes are available at
[[http://wiki.sugarlabs.org/go/0.90/Notes]]. 0.90 represents a
significant improvement over 0.88, most notably in regard to dozens of
new learning activities; support for ad hoc networks and a more stable
collaboration experience; a new Home view configuration able to
display more activity icons; improved filtering options in the
Journal; and addition key bindings for using Sugar on non-OLPC-XO
hardware.  None of these changes are dramatic: our goal is steady
improvement, without requiring schools to make any major changes to
their current Sugar processes. Kudos to the Design, Developer, and
Testing teams for all their contributions.

0.90 will be incorporated into the upcoming Sugar-on-a-Stick release.
It undoubtedly has some bugs, so any testing you can provide would be
appreciated. See...

2. I've been spending way too much time in airplanes and airports of
late: two trips to Europe in two weeks. I was on a review committee at
KTK in Stockholm at the beginning of last week and gave a keynote at
the Open World Forum in Paris at the end of this week. I head to Costa
Rica to run a Sugar/OLPC workshop with Claudia Urrea next week.

The good news is that I get a lot of code written on the airplane. I
have been working on some significant enhancements to Turtle Blocks,
Sliderule, Abacus, and Visual Match (AKA, Dimensions).

Turtle Blocks v99, which will be released this week, includes
re-skinable turtles, which means you can use the turtle as a sprite to
do animations. I also fixed up a number of small bugs, such as a
problem with the upper bound of the Random block. The Set XY block now
honors pen up and pen down. And most blocks that take two arguments
will auto-expand to prevent overlapping. I also added locale support
for the form of the decimal point when using number blocks, e.g., in
German, a comma is used to designate the decimal point; in English, a
period is used.

Sliderule v21 now supports copy/paste so that you can copy the results
of your calculations to the clip board and paste numbers into the
slide and reticule. It also has undergone a major refactoring with the
intension of making it easier to create custom slides and to make
further modifications to the code.

Abacus v19 also supports copy/paste and, perhaps more interesting,
when you switch between different abaci, the value propagates from one
to the next, so you can see how the same value is represented on
different abaci with a single button click. (Thanks to Tony Forester
for coming up with that feature request. Also thanks to Shanjit Singh
Jajmann for adding the copy/paste tool bar.)

Visual Match v26 lets you load custom card sets from the Journal. You
can create cards using Paint, Turtle Art, Record, Browse, etc. (Any
tool that lets you find or create images.) The only requirement is
that you number your images 1 to 9, or 27, or 81, depending upon how
many dimensions you are rendering.

3. Reminder: we will be holding our mid-term election this month to
fill three oversight board positions. Ballots will be issued to all
Sugar Labs members. We have five great candidates – Chris Ball, Adam
Holt, Steven Parrish, Rosamel Norma Ramirez Mendez, and Gerald Ardito
– who represent the breadth of the Sugar community: developers,
teachers, packagers, and community outreach. No matter whom we elect,
the community will be richer because of their participation.

===In the community===

4. There will be an OLPC/Sugar/Realness summit October 21 – 24 in San
Francisco. The summit is being hosted by the San Francisco Bay Area
OLPC community. More details are available at
[http://olpcsf.org/CommunitySummit2010/].

===Sugar Labs===

Gary Martin has generated a SOM from the past week of discussion on
the IAEP mailing list.

http://wiki.sugarlabs.org/go/File:2010-Sept-18-24-som.jpg (32 emails)
http://wiki.sugarlabs.org/go/File:2010-Sept-11-17-som.jpg (56 emails)

Visit our planet [http://planet.sugarlabs.org] for more updates about
Sugar and Sugar deployments.

-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] [PATCH] Copy and Paste feature in Abacus Activity (#2324)

2010-10-02 Thread Walter Bender
On Sat, Oct 2, 2010 at 2:30 AM,   wrote:
> From: Shanjit Singh Jajmann 
>
> Values can now be copied to the clipboard. Values can also now be pasted from 
> the clipboard to the abacus activity.

I think that the essence of your patch will work, but you seem to have
generated from a version of the code that was slightly out of date and
hence it also includes the undoing of many recent changes, which I
don't think is your intension. Comments in line.

> ---
>  AbacusActivity.py |   77 +++
>  abacus_window.py  |   62 ++-
>  sprites.py        |  222 
> +++--
>  3 files changed, 168 insertions(+), 193 deletions(-)
>
> diff --git a/AbacusActivity.py b/AbacusActivity.py
> index d14f58a..480e351 100644
> --- a/AbacusActivity.py
> +++ b/AbacusActivity.py
> @@ -38,11 +38,11 @@ import locale
>  import logging
>  _logger = logging.getLogger("abacus-activity")
>
> -from abacus_window import Abacus, Custom, Suanpan, Soroban, Schety,\
> +from abacus_window import Abacus,AbacusGeneric , Custom, Suanpan, Soroban, 
> Schety,\
>                           Nepohualtzintzin, Binary, Hex, Decimal, Fractions,\
>                           Caacupe, Cuisenaire

Why are you importing AbacusGeneric?

(Also, throughout, please add a space after a comma.)

>
> -def _button_factory(icon_name, tooltip, callback, toolbar):
> +def _button_factory(icon_name, tooltip, callback, toolbar, accelerator = 
> None):
>     """Factory for making toolbar buttons"""
>     my_button = ToolButton( icon_name )
>     my_button.set_tooltip(tooltip)
> @@ -100,7 +100,7 @@ class AbacusActivity(activity.Activity):
>
>         _abacus_toolbar = gtk.Toolbar()
>         _custom_toolbar = gtk.Toolbar()
> -
> +        edit_toolbar = gtk.Toolbar()

Whether or not the current naming convention of using an _ for local
variable names is correct, you should be consistent.

>         if _new_sugar_system:
>             # Use 0.86 toolbar design
>             toolbox = ToolbarBox()
> @@ -127,6 +127,14 @@ class AbacusActivity(activity.Activity):
>             toolbox.toolbar.insert(_custom_toolbar_button, -1)
>             _custom_toolbar_button.show()
>
> +            edit_toolbar_button = ToolbarButton(label=_('Edit'),
> +                                                page=edit_toolbar,
> +                                                icon_name='toolbar-edit')
> +            edit_toolbar_button.show()
> +            toolbox.toolbar.insert(edit_toolbar_button, -1)
> +            edit_toolbar_button.show()
> +
> +

Why two newlines?

>             _separator_factory(toolbox.toolbar, True, False)
>
>             stop_button = StopButton(self)
> @@ -136,6 +144,7 @@ class AbacusActivity(activity.Activity):
>
>             self.set_toolbox(toolbox)
>             _abacus_toolbar_button.set_expanded(True)
> +            edit_toolbar_button.set_expanded(True)

The set_expanded call here is to circumvent a bug with activation of
the accelerator keys. (I don't recall the bug number, but you should
reference it with comment. Also, you need to expand the edit toolbar
before you expand the abacus toolbar or the wrong toolbar will be open
upon launch.

>             toolbox.show()
>
>         else:
> @@ -145,7 +154,8 @@ class AbacusActivity(activity.Activity):
>
>             toolbox.add_toolbar( _('Project'), _abacus_toolbar )
>             toolbox.add_toolbar( _('Custom'), _custom_toolbar )
> -
> +            toolbox.add_toolbar(_('Edit'), edit_toolbar)
> +
>             self._basic_abacus(_abacus_toolbar)
>
>             toolbox.set_current_toolbar(1)
> @@ -156,18 +166,19 @@ class AbacusActivity(activity.Activity):
>             elif hasattr(toolbox, 'props'):
>                toolbox.props.visible = False
>
> +        self.copyme = ' '

Where is this used?

>         # Add the buttons and spinners to the toolbars
>         self.japanese = _button_factory("soroban-off", _('Soroban'),
>                                         self._japanese_cb, _abacus_toolbar)
> +        self.russian = _button_factory("schety-off", _('Schety'),
> +                                       self._russian_cb, _abacus_toolbar)
>         self.mayan = _button_factory("nepohualtzintzin-off",
>                                      _('Nepohualtzintzin'),
>                                      self._mayan_cb, _abacus_toolbar)
> -        self.hex = _button_factory("hexadecimal-off", _('Hexadecimal'),
> -                                   self._hex_cb, _abacus_toolbar)
>         self.binary = _button_factory("binary-off", _('Binary'),
>                                       self._binary_cb, _abacus_toolbar)
> -        self.russian = _button_factory("schety-off", _('Schety'),
> -                                       self._russian_cb, _abacus_toolbar)
> +        self.hex = _button_factory("hex-off", _('Hexadecimal'),self._hex_cb,
> +                                   _abacus_toolbar)
>         self.fraction = _button_factory("fraction-of

Re: [Sugar-devel] Unwanted characters in mail to sugar-devel list serv when sending patch.

2010-10-02 Thread Sascha Silbe
Excerpts from Shanjit Singh Jajmann's message of Sat Oct 02 08:54:39 +0200 2010:

> I just made patch for Issue 2324, and forwarded it to the list. A lot of
> unwanted characters seem to have crept in, however when i send it to my
> inbox, or any other, no such thing happens.
> 
> Could some pointers be provided to resolve this problem?

Not without knowing what exactly you did and what problems (i.e. what
"unwanted characters") you encountered.

Sascha

--
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] Fwd: making patches and sending email using git-email

2010-10-02 Thread Sascha Silbe
Excerpts from Ishan Bansal's message of Fri Oct 01 19:58:23 +0200 2010:

> 2. To do the git email configuration for your system refer to
> http://paste.ubuntu.com/488777/

From there:

> 17 git send-email --to "sugar-devel@lists.sugarlabs.org" patchname.patch

FWIW, you don't need to create the patch (using format-patch) first,
git-send-email can do that for you:

git send-email HEAD^..HEAD

You can configure the destination address so you don't need to specify
it manually every time:

git config sendemail.to "sugar-devel "

You need to do this for each of the repositories you are working on
(e.g. sugar + sugar-toolkit).

Sascha

--
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] Replacing Illegal character ':' in username (SL #2152)

2010-10-02 Thread Sascha Silbe
Excerpts from Dipankar Patro's message of Fri Oct 01 21:00:57 +0200 2010:

> Thanks Sascha for the patch.

The credit belongs to Tim McNamara, not me. :)

Sascha

--
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] Replacing Illegal character ':' in username (SL #2152)

2010-10-02 Thread Sascha Silbe
Excerpts from Bernie Innocenti's message of Sat Oct 02 00:03:35 +0200 2010:

> > > In the absense of a real test schoolserver, [...]
> > 
> > It would be nice if somebody could prepare a VM image containing an XS
> > installation.
> 
> We already have one: schoolserver.sugarlabs.org. Unfortunately, the
> schoolserver 0.6 is an old F-9.

That's a VM instance running on our servers. What I meant was a
ready-to-run VM image that anybody wanting to test against a school
server could just run locally.

> We also have jabber-testing.sugarlabs.org which was intended to be our
> new collaboration server, but nobody setup jabber on it yet. Dave, would
> you have time to work on it?

Bine showed some interest in working on it, but we won't have time until
mid/end-october.

Sascha

--
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] #1169 NORM: Drop down menus give no indication of their existence, also are too slow to load.

2010-10-02 Thread Shanjit Singh Jajmann
Hi,

Appropriate changes have now been made to the issue and the patches have
also been uploaded. Changes have been made as suggested by FGrose in his
comment.

Wish if the patch could be reviewed.


Suggestions are welcome.


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