[Sugar-devel] i18n improvement experiment
Dear Activity developers, I'm not 100% sure if this will work, but I'd like to try it out with one activity to test it. Generally, the first line of any POT file is the Actviity name, which is typically picked up from the activity.info file (specifically activity/activity.info:2), although it sometimes also appears elsewhere in the activity's code . e.g. #: activity/activity.info:2 exporthtml.py:96 PortfolioActivity.py:295 msgid "Portfolio" msgstr " #: activity/activity.info:2 msgid "Calculate" msgstr "" What I am wondering is if it is possible to insert a TRANS comment in the activity.info file that would contain the link to the Activity's homepage on the Sugar Labs wiki. #. TRANS: http://wiki.sugarlabs.org/go/Activities/Portfolio #. TRANS: http://wiki.sugarlabs.org/go/Activities/Calculate What I am basically getting at is a way to associating the wiki homepage information with the Actvity name string in the PO file in order to give localizers additional textual context to review before doing the localization. In an ideal world, localizers would play around with the actifvity itself before localizing to get context, but until we get a better SOAS version available, we have to accept that not all localizers will have an XO laptop at hand or be Linux gurus pulling Sugar packages from their distros. As an example of a truly informative activity.info file, see the activity.info file of the TamTamSuite: http://git.sugarlabs.org/tamtam/tamtam/blobs/master/activity/activity.info Walter, you may want to do something like this if/when you roll multiple TurtleArt-related components into one PO file the way Aleksey did with TamTamSuite. I don't see the "homepage" field described on the page below, but it doesn't seem to break anything, but I wouldn't know how to parse it int oa translators' comment. http://wiki.sugarlabs.org/go/Development_Team/Almanac/Activity_Bundles If anyone can describe a better way of accomplishing the same goal, I would love to hear about it, otherwise, I would like to collaborate with an activty developer to experiment with attempting to insert a developer's comment for translators into an acitvity.info file to see if we can provide an enhanced reference link in the PO file for localizers. Testing to include making hte edits, regenerating the POT, pulling to Poolte, refreshing langs in Pootle and testing rebuilt activity to make sure this insertion doesn't have unintended side-effects. Any volunteers? If we can make this work, I'd like to make this an "i18n best practice" for activity.info files. cjl ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Statically Built Chromium for my XO
replying to this thread with the output of $ ldd path/to/chromium-binary would be interesting to see as well. That would tell you and us what libraries the linker can't resolve. On Wed, Aug 10, 2011 at 11:38 AM, Lucian Branescu wrote: > It's likely that those libraries already exist on your machine, but > with slightly different names. You could install them, too. > > Try making symlinks in the chromium dir to the real libs. > > On 10 August 2011 10:23, Basanta Shrestha > wrote: >> Hi, >> I am looking to install chromium on my XO. Recently I downloaded a >> build from http://build.chromium.org/f/chromium/snapshots/ and tried >> to run it under the XO. Without much surprise, it complained about lot >> of missing libraries. What I am looking for now is a chromium which >> has been build statically. Can anyone point me a link to such a file >> or a process to do so. >> >> Specifications: >> XO-1 >> Sugar: 0.82.1 >> OLPC release 9 ( Joyride) >> >> -- >> Basanta Shrestha >> ___ >> 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] Statically Built Chromium for my XO
It's likely that those libraries already exist on your machine, but with slightly different names. You could install them, too. Try making symlinks in the chromium dir to the real libs. On 10 August 2011 10:23, Basanta Shrestha wrote: > Hi, > I am looking to install chromium on my XO. Recently I downloaded a > build from http://build.chromium.org/f/chromium/snapshots/ and tried > to run it under the XO. Without much surprise, it complained about lot > of missing libraries. What I am looking for now is a chromium which > has been build statically. Can anyone point me a link to such a file > or a process to do so. > > Specifications: > XO-1 > Sugar: 0.82.1 > OLPC release 9 ( Joyride) > > -- > Basanta Shrestha > ___ > 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] Statically Built Chromium for my XO
It sounds like you have an old build. You will probably have a lot more luck with the latest release, as its based on F14: http://wiki.laptop.org/go/Release_notes/11.2.0 yours, Bobby On Wed, Aug 10, 2011 at 5:23 AM, Basanta Shrestha wrote: > Hi, > I am looking to install chromium on my XO. Recently I downloaded a > build from http://build.chromium.org/f/chromium/snapshots/ and tried > to run it under the XO. Without much surprise, it complained about lot > of missing libraries. What I am looking for now is a chromium which > has been build statically. Can anyone point me a link to such a file > or a process to do so. > > Specifications: > XO-1 > Sugar: 0.82.1 > OLPC release 9 ( Joyride) > > -- > Basanta Shrestha > ___ > 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] [PATCH] adding new customize icon used when copying bundle source
On Wed, Aug 10, 2011 at 10:40 AM, si...@schampijer.de wrote: > > > > Walter Bender hat am 10. August 2011 um 16:07 > geschrieben: > > > On Wed, Aug 10, 2011 at 9:52 AM, si...@schampijer.de > > wrote: > > > > > Thanks for the icon! Has the design team talked about it already? > Attached > > > is a > > > screen shot after duplicating the Memorize activity in the case they > > > haven't. Do > > > you intend to place the icon in the palette option as well where you do > the > > > actual cloning as well? About the naming, maybe something like > > > 'activity-customize' or 'activity-duplicate' makes sense, what do you > > > think? > > > > > > > The intention of the icon is to make it clear that the activity is a > > modified version of the original. Manuq is the one who came up with the > hand > > overlay concept, which was given an OK by the design team, although Manaq > > had said he may try to fine-tune it somewhat. > > > > > > Regarding the name, I had started off with something along the lines of > your > > suggestion, a generic name indicating a clone, but decided instead that > > using the nick as part of the name was a better option: If both of us > clone > > memorize and then share our modifications, we won't have a naming > conflict: > > I'll get erikos_memorize and you'll get walter_memorize. A generic name > > would result in a conflict. > > Hmm, maybe we misunderstood here. I just meant how to name the icon in > sugar-artwork. Instead of 'customize.svg' 'activity-customize.svg' might be > better. Hmmm, while writing this, as it is only an overlay, maybe > 'customize.svg' is the best name... > Got it. Perhaps customize-overlay.svg would be better? > > > regards. > > > > -walter > > > > PS: regarding the other changes to view source, I have made patches to > (1) > > update the title when you switch between the activity source and the > > sugar-toolkit source; and (2) loading activity.py by default into the > viewer > > for sugar-toolkit source. However, in regard to #2, I am not sure how to > > tell the TreeView what node is currently selected. Is there some standard > > approach you can point me to: I have the file name, and need to associate > it > > with a node. > > Yes, I will have a look at that as well. > thanks. -walter > > Cheers, >Simon > -- 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] adding new customize icon used when copying bundle source
Walter Bender hat am 10. August 2011 um 16:07 geschrieben: > On Wed, Aug 10, 2011 at 9:52 AM, si...@schampijer.de > wrote: > > > Thanks for the icon! Has the design team talked about it already? Attached > > is a > > screen shot after duplicating the Memorize activity in the case they > > haven't. Do > > you intend to place the icon in the palette option as well where you do the > > actual cloning as well? About the naming, maybe something like > > 'activity-customize' or 'activity-duplicate' makes sense, what do you > > think? > > > > The intention of the icon is to make it clear that the activity is a > modified version of the original. Manuq is the one who came up with the hand > overlay concept, which was given an OK by the design team, although Manaq > had said he may try to fine-tune it somewhat. > > > Regarding the name, I had started off with something along the lines of your > suggestion, a generic name indicating a clone, but decided instead that > using the nick as part of the name was a better option: If both of us clone > memorize and then share our modifications, we won't have a naming conflict: > I'll get erikos_memorize and you'll get walter_memorize. A generic name > would result in a conflict. Hmm, maybe we misunderstood here. I just meant how to name the icon in sugar-artwork. Instead of 'customize.svg' 'activity-customize.svg' might be better. Hmmm, while writing this, as it is only an overlay, maybe 'customize.svg' is the best name... > regards. > > -walter > > PS: regarding the other changes to view source, I have made patches to (1) > update the title when you switch between the activity source and the > sugar-toolkit source; and (2) loading activity.py by default into the viewer > for sugar-toolkit source. However, in regard to #2, I am not sure how to > tell the TreeView what node is currently selected. Is there some standard > approach you can point me to: I have the file name, and need to associate it > with a node. Yes, I will have a look at that as well. Cheers, Simon ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [PATCH] adding new customize icon used when copying bundle source
On Wed, Aug 10, 2011 at 9:52 AM, si...@schampijer.de wrote: > Thanks for the icon! Has the design team talked about it already? Attached > is a > screen shot after duplicating the Memorize activity in the case they > haven't. Do > you intend to place the icon in the palette option as well where you do the > actual cloning as well? About the naming, maybe something like > 'activity-customize' or 'activity-duplicate' makes sense, what do you > think? > The intention of the icon is to make it clear that the activity is a modified version of the original. Manuq is the one who came up with the hand overlay concept, which was given an OK by the design team, although Manaq had said he may try to fine-tune it somewhat. Regarding the name, I had started off with something along the lines of your suggestion, a generic name indicating a clone, but decided instead that using the nick as part of the name was a better option: If both of us clone memorize and then share our modifications, we won't have a naming conflict: I'll get erikos_memorize and you'll get walter_memorize. A generic name would result in a conflict. regards. -walter PS: regarding the other changes to view source, I have made patches to (1) update the title when you switch between the activity source and the sugar-toolkit source; and (2) loading activity.py by default into the viewer for sugar-toolkit source. However, in regard to #2, I am not sure how to tell the TreeView what node is currently selected. Is there some standard approach you can point me to: I have the file name, and need to associate it with a node. > > > Regards, >Simon > > > > Walter Bender hat am 2. August 2011 um 01:08 > geschrieben: > > > From: Walter Bender > > > > > > This patch provides a new icon to the Sugar toolkit that is used by the > > cloning enhancement to View Source. The icon, in the shape of a hand, is > > superimposed on to the activity icon that is being cloned to indicate > that is > > has been modified by the end user. Manuq was instrumental in the design. > > > > --- > > icons/scalable/actions/Makefile.am |1 + > > icons/scalable/actions/customize.svg |8 > > 2 files changed, 9 insertions(+), 0 deletions(-) > > create mode 100644 icons/scalable/actions/customize.svg > > > > diff --git a/icons/scalable/actions/Makefile.am > > b/icons/scalable/actions/Makefile.am > > index 9df018b..17d771c 100644 > > --- a/icons/scalable/actions/Makefile.am > > +++ b/icons/scalable/actions/Makefile.am > > @@ -11,6 +11,7 @@ icon_DATA = > \ > > cell-width.svg\ > > column-insert.svg\ > > column-remove.svg\ > > +customize.svg\ > > dialog-cancel.svg\ > > dialog-ok.svg\ > > document-save.svg\ > > diff --git a/icons/scalable/actions/customize.svg > > b/icons/scalable/actions/customize.svg > > new file mode 100644 > > index 000..712b173 > > --- /dev/null > > +++ b/icons/scalable/actions/customize.svg > > @@ -0,1 +1,42 @@ > > + > 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [ > > + > > + > > +]> > xmlns="http://www.w3.org/2000/svg"; xmlns:xlink=" > http://www.w3.org/1999/xlink"; > > stroke-linecap="round" stroke-linejoin="round" stroke-width="3.5" > > stroke="&stroke_color;" fill="&fill_color;"> > > + > + d="m -12.724351,-24.479403 0,80.02 > > + 80.02,0 0,-80.02 -80.02,0 z m 46.954547,5.318182 c > > + 0.400232,-0.02895 0.797687,-0.01309 1.136363,0.04553 1.230124,0.211855 > > + 2.382488,1.717688 2.272728,2.636364 -1.1416,9.5547639 > > + -5.151535,18.4166114 -5.318182,27.136364 -0.01309,0.69219 > > + 1.315898,1.693208 1.727272,1.136364 5.256728,-7.1156365 > > + 6.55747,-15.9348804 12.045455,-24.363637 0.733397,-1.126386 > > + 2.770822,-0.998415 4,-0.454545 1.640306,0.725774 2.528335,2.559578 > > + 2.09091,3.863636 -3.670473,10.942284 -7.777455,17.0466187 > > + -10.636364,25.409092 -0.257048,0.751883 0.420538,1.638109 1,2.181818 > > + 0.864611,0.811258 2.137629,1.427578 3.318182,1.318182 > > + 6.140858,-0.568989 9.650953,-8.763535 15.727273,-9.8181823 > > + 1.113236,-0.1932218 2.582167,-0.1670109 3.272727,0.7272723 > > + 0.704742,0.912655 0.719055,2.681339 -0.136291,3.454546 > > + -5.272073,4.765397 -10.671433,8.236931 -15.409091,12.545455 > > + -3.947055,3.589498 -4.95936,9.466197 -8.045455,13.818182 > > + -1.969731,2.17 -3.827738,5.847317 -6.636364,7.772728 > > + -1.677949,1.150283 -3.740334,2.089629 -5.772727,2 -2.21072,-0.0976 > > + -3.892728,-2.214866 -6.045455,-2.727273 -2.196858,-0.522927 > > + -4.549106,0.121161 -6.772727,-0.27273 C 13.86589,46.861399 > > + 11.527286,46.500046 9.730268,45.20249 5.6900056,42.285166 > > + 4.0990964,36.980046 0.95754,33.111581 -2.5132238,28.837733 > > + -5.2707511,
Re: [Sugar-devel] [PATCH] adding new customize icon used when copying bundle source
Thanks for the icon! Has the design team talked about it already? Attached is a screen shot after duplicating the Memorize activity in the case they haven't. Do you intend to place the icon in the palette option as well where you do the actual cloning as well? About the naming, maybe something like 'activity-customize' or 'activity-duplicate' makes sense, what do you think? Regards, Simon Walter Bender hat am 2. August 2011 um 01:08 geschrieben: > From: Walter Bender > > > This patch provides a new icon to the Sugar toolkit that is used by the > cloning enhancement to View Source. The icon, in the shape of a hand, is > superimposed on to the activity icon that is being cloned to indicate that is > has been modified by the end user. Manuq was instrumental in the design. > > --- > icons/scalable/actions/Makefile.am | 1 + > icons/scalable/actions/customize.svg | 8 > 2 files changed, 9 insertions(+), 0 deletions(-) > create mode 100644 icons/scalable/actions/customize.svg > > diff --git a/icons/scalable/actions/Makefile.am > b/icons/scalable/actions/Makefile.am > index 9df018b..17d771c 100644 > --- a/icons/scalable/actions/Makefile.am > +++ b/icons/scalable/actions/Makefile.am > @@ -11,6 +11,7 @@ icon_DATA = \ > cell-width.svg \ > column-insert.svg \ > column-remove.svg \ > + customize.svg \ > dialog-cancel.svg \ > dialog-ok.svg \ > document-save.svg \ > diff --git a/icons/scalable/actions/customize.svg > b/icons/scalable/actions/customize.svg > new file mode 100644 > index 000..712b173 > --- /dev/null > +++ b/icons/scalable/actions/customize.svg > @@ -0,1 +1,42 @@ > + 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [ > + > + > +]> xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; > stroke-linecap="round" stroke-linejoin="round" stroke-width="3.5" > stroke="&stroke_color;" fill="&fill_color;"> > + + d="m -12.724351,-24.479403 0,80.02 > + 80.02,0 0,-80.02 -80.02,0 z m 46.954547,5.318182 c > + 0.400232,-0.02895 0.797687,-0.01309 1.136363,0.04553 1.230124,0.211855 > + 2.382488,1.717688 2.272728,2.636364 -1.1416,9.5547639 > + -5.151535,18.4166114 -5.318182,27.136364 -0.01309,0.69219 > + 1.315898,1.693208 1.727272,1.136364 5.256728,-7.1156365 > + 6.55747,-15.9348804 12.045455,-24.363637 0.733397,-1.126386 > + 2.770822,-0.998415 4,-0.454545 1.640306,0.725774 2.528335,2.559578 > + 2.09091,3.863636 -3.670473,10.942284 -7.777455,17.0466187 > + -10.636364,25.409092 -0.257048,0.751883 0.420538,1.638109 1,2.181818 > + 0.864611,0.811258 2.137629,1.427578 3.318182,1.318182 > + 6.140858,-0.568989 9.650953,-8.763535 15.727273,-9.8181823 > + 1.113236,-0.1932218 2.582167,-0.1670109 3.272727,0.7272723 > + 0.704742,0.912655 0.719055,2.681339 -0.136291,3.454546 > + -5.272073,4.765397 -10.671433,8.236931 -15.409091,12.545455 > + -3.947055,3.589498 -4.95936,9.466197 -8.045455,13.818182 > + -1.969731,2.17 -3.827738,5.847317 -6.636364,7.772728 > + -1.677949,1.150283 -3.740334,2.089629 -5.772727,2 -2.21072,-0.0976 > + -3.892728,-2.214866 -6.045455,-2.727273 -2.196858,-0.522927 > + -4.549106,0.121161 -6.772727,-0.27273 C 13.86589,46.861399 > + 11.527286,46.500046 9.730268,45.20249 5.6900056,42.285166 > + 4.0990964,36.980046 0.95754,33.111581 -2.5132238,28.837733 > + -5.2707511,24.294984 -10.133369,20.884307 c -1.434328,-1.006036 > + -0.591099,-4.205498 0.863636,-5.181818 2.697804,-1.810574 > + 6.6717819,0.53712 9.502,2.136364 2.8962183,1.637731 > + 3.5830256,7.313658 6.9090911,7.227273 C 9.486864,25.00518 > + 10.852071,21.92582 11.730268,19.747944 13.743809,14.75446 > + 12.911664,8.9863435 12.593904,3.6115797 12.230529,-2.5345732 > + 12.333962,-8.358355 13.775722,-14.842966 c 0.284378,-1.279011 > + 2.157949,-2.052306 3.454546,-1.863637 1.276436,0.185717 > + 2.42224,1.473978 2.727273,2.727273 1.808756,7.4321603 > + -1.073717,14.5794914 0.863636,21.0454552 0.33888,1.1310546 > + 2.822298,2.7155928 3.181818,1.5909092 2.412669,-7.5470548 > + 3.371709,-17.6644664 7.272728,-26.3181824 0.423694,-0.939898 > + 1.753847,-1.413397 2.954545,-1.5 z" > + style="fill:&fill_color;;fill-opacity:1;stroke:none" /> > + > \ No newline at end of file > -- > 1.7.4.4 > > ___ > 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] [ASLO] Release Log-25
That burden shouldn't be on the packager. We discussed this already several times, the outcome was afair : allow on aslo to upload as well a source tarball to make it as easy as possible for the dev and for the packager. Regards, Simon Gonzalo Odiard hat am 10. August 2011 um 15:05 geschrieben: > http://dev.laptop.org/~gonzalo/Log-25.tar.bz > > There are not a automatic way to generate the tar.bz from the xo? > You can unzip the xo and execute > ./setuo.py dist_source > Is this not good enough? > > Gonzalo > > > > On Wed, Aug 10, 2011 at 7:28 AM, Peter Robinson wrote: > > > On Tue, Aug 9, 2011 at 9:38 PM, Sugar Labs Activities > > wrote: > > > Activity Homepage: > > > http://activities.sugarlabs.org/addon/4056 > > > > > > Sugar Platform: > > > 0.82 - 0.92 > > > > > > Download Now: > > > http://activities.sugarlabs.org/downloads/file/27500/log-25.xo > > > > > > Release notes: > > > Updated translations > > > Create a file with the collected logs in the Journal - OLPC #6746 (James > > Cameron) > > > Disable send information to server no longer available (James Cameron) > > > Avoid creating Journal objects (Gonzalo Odiard) > > > service_name deprecated (Rafael Ortiz) > > > > Can we have a tar file release please :) > > > > Peter > > ___ > > 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] [ANNOUNCE] Sucrose 0.94 Feature Freeze the 15th of August
Hi, following our schedule for the 0.94 release [1], with the 15th of August we will switch into the feature freeze period. No new modules or features will be accepted for this release period. "Feature" should be interpreted as "Functionality" or "Ability". Bug fixes of existing features are not affected [2]. If your feature did not land yet and has been accepted please make sure it is on the radar of the involved parties and help to land it in time. The freeze allows developers to concentrate on refining the new features instead of adding yet more functionality. The feature freeze affects all the modules included in the release and comprise also ABI for public libraries. Exceptions might be considered by the release team but they will be extremely rare. To request an exception send mail to sugar-devel@lists.sugarlabs.org, referencing the patches you would like to land. It will have to be granted by two members of the release team, on the base of community feedback. On behalf of the Release Team, Simon Schampijer [1] http://wiki.sugarlabs.org/go/0.94/Roadmap#Schedule [2] http://wiki.sugarlabs.org/go/Development_Team/Release#Feature_freeze ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [ASLO] Release Log-25
http://dev.laptop.org/~gonzalo/Log-25.tar.bz There are not a automatic way to generate the tar.bz from the xo? You can unzip the xo and execute ./setuo.py dist_source Is this not good enough? Gonzalo On Wed, Aug 10, 2011 at 7:28 AM, Peter Robinson wrote: > On Tue, Aug 9, 2011 at 9:38 PM, Sugar Labs Activities > wrote: > > Activity Homepage: > > http://activities.sugarlabs.org/addon/4056 > > > > Sugar Platform: > > 0.82 - 0.92 > > > > Download Now: > > http://activities.sugarlabs.org/downloads/file/27500/log-25.xo > > > > Release notes: > > Updated translations > > Create a file with the collected logs in the Journal - OLPC #6746 (James > Cameron) > > Disable send information to server no longer available (James Cameron) > > Avoid creating Journal objects (Gonzalo Odiard) > > service_name deprecated (Rafael Ortiz) > > Can we have a tar file release please :) > > Peter > ___ > 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] [PATCH Browse] Use a standard gtk.Entry instead of the custom AddressEntry from the toolkit
The GtkEntry widget in version 2.16 has support for displaying a progress bar inside of an entry widget. This allows us to remove our custom widget. Signed-off-by: Simon Schampijer --- webtoolbar.py | 8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/webtoolbar.py b/webtoolbar.py index a5e2c6e..0454449 100644 --- a/webtoolbar.py +++ b/webtoolbar.py @@ -26,7 +26,6 @@ from xpcom import components from sugar.graphics.toolbutton import ToolButton from sugar.graphics.menuitem import MenuItem -from sugar._sugarext import AddressEntry from sugar.graphics.toolbarbox import ToolbarBox from sugar.activity.widgets import ActivityToolbarButton from sugar.activity.widgets import StopButton @@ -37,7 +36,7 @@ import places _MAX_HISTORY_ENTRIES = 15 -class WebEntry(AddressEntry): +class WebEntry(gtk.Entry): _COL_ADDRESS = 0 _COL_TITLE = 1 @@ -371,7 +370,10 @@ class PrimaryToolbar(ToolbarBox): self._set_progress(progress_listener.progress) def _set_progress(self, progress): - self.entry.props.progress = progress + if progress == 1.0: + self.entry.set_progress_fraction(0.0) + else: + self.entry.set_progress_fraction(progress) def _set_address(self, uri): if uri is not None: -- 1.7.4.4 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [ASLO] Release Abacus-22
On Wed, Aug 10, 2011 at 8:10 AM, Peter Robinson wrote: > On Wed, Aug 10, 2011 at 12:51 PM, Walter Bender > wrote: > > > > > > On Wed, Aug 10, 2011 at 7:47 AM, Walter Bender > > wrote: > >> > >> > >> On Wed, Aug 10, 2011 at 6:26 AM, Peter Robinson > >> wrote: > >>> > >>> Hi Walter, > >>> > >>> Can we have an updated tar file release please? > >> > >> Peter, > >> > >> Alas, I could not ssh to or scp to doanload.sl.o yesterday. I'll try > again > >> today. > > > > Success!! > > Yes and no. I see Abacus-22.xo but not the tar file :) > please look again. (only halfway through my first cup of coffee) download.sl.o access is very very slow on my end, FWIW. -walter -walter > > Thanks, > Peter > -- 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] [ASLO] Release Abacus-22
On Wed, Aug 10, 2011 at 12:51 PM, Walter Bender wrote: > > > On Wed, Aug 10, 2011 at 7:47 AM, Walter Bender > wrote: >> >> >> On Wed, Aug 10, 2011 at 6:26 AM, Peter Robinson >> wrote: >>> >>> Hi Walter, >>> >>> Can we have an updated tar file release please? >> >> Peter, >> >> Alas, I could not ssh to or scp to doanload.sl.o yesterday. I'll try again >> today. > > Success!! Yes and no. I see Abacus-22.xo but not the tar file :) Thanks, Peter ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [ASLO] Release Abacus-22
On Wed, Aug 10, 2011 at 7:47 AM, Walter Bender wrote: > > > On Wed, Aug 10, 2011 at 6:26 AM, Peter Robinson wrote: > >> Hi Walter, >> >> Can we have an updated tar file release please? >> > > Peter, > > Alas, I could not ssh to or scp to doanload.sl.o yesterday. I'll try again > today. > Success!! > > Sorry for the inconvenience. > > regards. > > -walter > >> >> Peter >> >> On Wed, Aug 10, 2011 at 2:47 AM, Sugar Labs Activities >> wrote: >> > Activity Homepage: >> > http://activities.sugarlabs.org/addon/4293 >> > >> > Sugar Platform: >> > 0.82 - 0.92 >> > >> > Download Now: >> > http://activities.sugarlabs.org/downloads/file/27507/abacus-22.xo >> > >> > Release notes: >> > 22 >> > >> > ENHANCEMENTS >> > * new translations for de, hy, ku, nah, nl, and tzm >> > * updated toolbars and icons >> > * label text uses ellipsis instead of shrinking >> > >> > >> > >> > 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 mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel >> > > > > -- > Walter Bender > Sugar Labs > http://www.sugarlabs.org > > -- 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] [ASLO] Release Abacus-22
On Wed, Aug 10, 2011 at 6:26 AM, Peter Robinson wrote: > Hi Walter, > > Can we have an updated tar file release please? > Peter, Alas, I could not ssh to or scp to doanload.sl.o yesterday. I'll try again today. Sorry for the inconvenience. regards. -walter > > Peter > > On Wed, Aug 10, 2011 at 2:47 AM, Sugar Labs Activities > wrote: > > Activity Homepage: > > http://activities.sugarlabs.org/addon/4293 > > > > Sugar Platform: > > 0.82 - 0.92 > > > > Download Now: > > http://activities.sugarlabs.org/downloads/file/27507/abacus-22.xo > > > > Release notes: > > 22 > > > > ENHANCEMENTS > > * new translations for de, hy, ku, nah, nl, and tzm > > * updated toolbars and icons > > * label text uses ellipsis instead of shrinking > > > > > > > > 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 mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel > -- 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] [ASLO] Release Log-25
On Tue, Aug 9, 2011 at 9:38 PM, Sugar Labs Activities wrote: > Activity Homepage: > http://activities.sugarlabs.org/addon/4056 > > Sugar Platform: > 0.82 - 0.92 > > Download Now: > http://activities.sugarlabs.org/downloads/file/27500/log-25.xo > > Release notes: > Updated translations > Create a file with the collected logs in the Journal - OLPC #6746 (James > Cameron) > Disable send information to server no longer available (James Cameron) > Avoid creating Journal objects (Gonzalo Odiard) > service_name deprecated (Rafael Ortiz) Can we have a tar file release please :) Peter ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [ASLO] Release Abacus-22
Hi Walter, Can we have an updated tar file release please? Peter On Wed, Aug 10, 2011 at 2:47 AM, Sugar Labs Activities wrote: > Activity Homepage: > http://activities.sugarlabs.org/addon/4293 > > Sugar Platform: > 0.82 - 0.92 > > Download Now: > http://activities.sugarlabs.org/downloads/file/27507/abacus-22.xo > > Release notes: > 22 > > ENHANCEMENTS > * new translations for de, hy, ku, nah, nl, and tzm > * updated toolbars and icons > * label text uses ellipsis instead of shrinking > > > > 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 mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Statically Built Chromium for my XO
Hi, I am looking to install chromium on my XO. Recently I downloaded a build from http://build.chromium.org/f/chromium/snapshots/ and tried to run it under the XO. Without much surprise, it complained about lot of missing libraries. What I am looking for now is a chromium which has been build statically. Can anyone point me a link to such a file or a process to do so. Specifications: XO-1 Sugar: 0.82.1 OLPC release 9 ( Joyride) -- Basanta Shrestha ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Introspection Hackfest 2011
Hi, the Introspection Hackfest [1] started today. For those of you who can not attend in person the official irc channel is #introspection on GIMPNet. Regards, Simon [1] http://live.gnome.org/Hackfests/Introspection2011___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel