Thanks. This is very helpful. I have a couple of additional topics:
one trivial and one that needs some discussion.
1. Trivial: as per #2592, there is an issue with size of the icons on
the Random view. When I introduced the spiral, I increased the maximum
icon size to Medium when there are few ic
Aleksey, Simon,
after tearing my hair off a bit with an app that jumps through various
windows during its lifetime, I came up with what seems to be a
reasonable strategy for handling the situation
In brief summary:
- change the Activity.window property to an stack.
- new windows are append()ed
Excerpts from Dipankar Patro's message of Sat Sep 18 19:03:15 +0200 2010:
> Currently the message appears as an error whereas it is just
> a warning message. Developer should not get this message an error,
> so I have set the logging level to warning from exception.
Pushed (with a new patch descr
On 02/09/2011 11:20 AM, Walter Bender wrote:
There are a few design roadblocks in the race to 0.92 that could use
some input from the design team. Any chance we could have a meeting
some time soon? I could probably get on line from Lima on Sunday some
time if that works.
regards.
-walter
Hi W
Excerpts from Tim McNamara's message of Thu Jun 03 08:09:59 +0200 2010:
[Attached patch]
What's the status of this patch? I can see quite some activity in the
Calculate repository since you posted your patch, but nothing that
indicates it has been merged. Is it still applicable?
Sascha
--
ht
Excerpts from Erik Blankinship's message of Fri Feb 11 21:08:20 +0100 2011:
> I noticed there were two svg icons in the physics activity directory:
> application-x-physics-project.svg and activity-physics.svg.
>
> Is there now a way to assign an icon to the files generated/used by my
> activity
I don't know if is possible assign a icon to a mime type.
Gonzalo
On Fri, Feb 11, 2011 at 5:08 PM, Erik Blankinship wrote:
> Thanks Gonzalo! I think that solves my problem.
>
> I noticed there were two svg icons in the physics activity directory:
> application-x-physics-project.svg and activit
Activity Homepage:
http://activities.sugarlabs.org/addon/4313
Sugar Platform:
0.84 - 0.90
Download Now:
http://activities.sugarlabs.org/downloads/file/27208/gcompris-17.xo
Release notes:
* Workaround for #2600
Sugar Labs Activities
http://activities.sugarlabs.org
_
Excerpts from Erik Blankinship's message of Fri Feb 11 20:24:39 +0100 2011:
> I have created a mime-type for saved files in my video game:
> application/x-my-cool-game. Datastore entries' metadata are saved with this
> mime-type.
[...]
I'll repeat my recommendation [1] to read my explanations o
Thanks Gonzalo! I think that solves my problem.
I noticed there were two svg icons in the physics activity directory:
application-x-physics-project.svg and activity-physics.svg.
Is there now a way to assign an icon to the files generated/used by my
activity based on their extension type?
On Fr
Activity Homepage:
http://activities.sugarlabs.org/addon/4314
Sugar Platform:
0.84 - 0.90
Download Now:
http://activities.sugarlabs.org/downloads/file/27207/gcompris_administration-17.xo
Release notes:
* Workaround for #2600
Sugar Labs Activities
http://activities.sugarlabs.org
__
Excerpts from James Cameron's message of Wed Jun 02 08:38:15 +0200 2010:
> I've read your style guidelines on
> http://wiki.sugarlabs.org/go/Development_Team/Code_guidelines in
> particular the use of logging.debug('foo %r bar', x) instead of
> logging.debug('foo %r bar' % x) as you pointed out, b
You need add a mimetypes.xml file to your activity. look at Physics activity
Gonzalo
On Fri, Feb 11, 2011 at 4:24 PM, Erik Blankinship wrote:
> My video game runs in both gnome and sugar. I want kids to be able to move
> saved games back and forth between these platforms with ease.
>
> I have c
My video game runs in both gnome and sugar. I want kids to be able to move
saved games back and forth between these platforms with ease.
I have created a mime-type for saved files in my video game:
application/x-my-cool-game. Datastore entries' metadata are saved with this
mime-type.
When a vid
Since Python doesn't support pgettext, we need to teach xgettext to recognise
it.
Signed-off-by: Sascha Silbe
---
po/Makevars |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 po/Makevars
diff --git a/po/Makevars b/po/Makevars
new file mode 100644
index 000..da4
Some languages (e.g. Spanish) benefit from having the translation for the
"Remove" item in the Volumes palette different from the translation for the
"Remove" item in the Clipboard palette.
This builds on the pgettext() support in sugar-toolkit.
Signed-off-by: Sascha Silbe
---
src/jarabe/frame/
Use pgettext() to distinguish between different "Remove" strings so we
can translate them differently in some languages (e.g. Spanish)
Sascha Silbe (2):
recognise translations using pgettext
Allow "Remove" in Clipboard resp. Volumes palette to be translated
differently
po/Makevars
Python 2 will never have pgettext() [1], so we need to ship our own version.
sugar.activity.i18n is the best place for that.
[1] http://bugs.python.org/issue2504#msg122482
Signed-off-by: Sascha Silbe
---
src/sugar/activity/i18n.py |8
1 files changed, 8 insertions(+), 0 deletions(-
On Thu, Feb 10, 2011 at 1:20 PM, Samuel Greenfeld
wrote:
> As far as I know there really is no need; when your activity saves state
> (when exiting, etc.), it should save the copied file as part of the
> activity's journal entry.
>
> At least this is how it has always worked with Jukebox & Read.
Add a minimal test suite for the data store operating on public DBus API
level. Checks all public API calls, including some simple performance
measurements.
Signed-off-by: Sascha Silbe
create mode 100644 tests/.gitignore
create mode 100644 tests/Makefile
create mode 100644 tests/__init__.py
From: Sascha Silbe
Consistent results are important for the test suite.
Signed-off-by: Sascha Silbe
Signed-off-by: Sascha Silbe
---
src/carquinyol/indexstore.py |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/carquinyol/indexstore.py b/src/carquinyol/indexstore.
I've finally fixed the style issues, so it's ready for a round of review.
It has detected several data store bugs in the past, both in mainline and
in my version support branch.
v1->v2: fix race condition in the migration test case
Sascha Silbe (3):
find(): fix sort order in ambiguous cases
a
Signed-off-by: Sascha Silbe
---
src/carquinyol/datastore.py | 38 ++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/src/carquinyol/datastore.py b/src/carquinyol/datastore.py
index 12458fb..69d50f4 100644
--- a/src/carquinyol/datastore.py
+++
The timestamp property might be missing due to incomplete writes (out of
power, system crash) or software bugs.
Signed-off-by: Sascha Silbe
---
src/carquinyol/datastore.py |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/carquinyol/datastore.py b/src/carquinyol/datas
[Posting to sugar-devel only because it's not specific to dextrose]
Excerpts from Anish Mangal's message of Thu Feb 10 16:46:18 +0100 2011:
> Currently, the 'network' icon on the frame tells us whether we're
> connected to a network or not. Would it make sense for it to test for
> internet conn
25 matches
Mail list logo