5534 Commits (d35ce390ce91607effc0b93eee6b936534d640c4)
 

Author SHA1 Message Date
Pootle daemon d35ce390ce Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 2f3f13cf19 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 5b2e459c19 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon d875e2b64d Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 0556f5f364 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Daniel Drake 147d80aa78 ActivityFactory: don't run which to check for rainbow
One less thing to do in the common activity startup path.
Also, which might not be available.
11 years ago
Manuel Quiñones 9e766327b3 Merge branch 'master' of https://github.com/sugarlabs/sugar-toolkit-gtk3 11 years ago
Pootle daemon 2419746d77 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 6897d29d47 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Manuel Quiñones 0b47dd37b1 Merge branch 'objectchooser_preview-try2' of https://github.com/godiard/sugar-toolkit-gtk3 into godiard-objectchooser_preview-try2 11 years ago
Gonzalo Odiard 3e6507af6e Add a option to the objectchooser to show the object preview
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
11 years ago
Gonzalo Odiard 8e975bd5c9 Add a method to create a Pixbuf with the preview in the metadata
This code was moved from sugar expandedentry.py to be available to use
in other places. Some activities like Portfolio or JournalShare
have this code copied.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
11 years ago
Daniel Drake 670fc44b1a Icon: handle image loading errors
If the icon can't be found, fall back on showing a generic icon.

Useful when activity/content bundles specify a bad icon, which is
unfortunately true for most content bundles in current existance
(because the icon field was previously unused).
11 years ago
Daniel Drake f46ac7ba6a ContentBundle cleanups
Share get_installation_time() between all bundle types so that it works
with content bundles.

Add get_tags() stub, this is called by Sugar.

Remove unused fields: l10n, category, subcategory, etc.

We remove support for running OLPC's content bundle indexer.
This is assumed to go away now that Sugar will support content bundles
as first-class objects.

Some minor behavioural fixes and cleanups.

This now implements http://wiki.sugarlabs.org/go/Content_bundles
and when care is taken to include all the fields required by old
Sugar versions, there is no change in compatibility of existing or
new content bundles.

Required for http://wiki.sugarlabs.org/go/Features/Content_support
11 years ago
Daniel Narvaez 363eef5293 Fix pep8 11 years ago
surajgillespie 8c736d3870 Pass activity name to the webactivity 11 years ago
Manuel Quiñones 2643a0b25c Merge branch 'at' of https://github.com/dnarvaez/sugar-toolkit-gtk3 into dnarvaez-at 11 years ago
Daniel Drake efaf9f9b2f Avoid use of uuid module
Upon import of uuid, that module uses ctypes.util to find libuuid/libc,
which involves forking a shell process which then forks and runs ldconfig.

ldconfig performs a whole bunch of disk accesses. This is a slowdown.

uuid.getnode() is also documented to be slow. Lets avoid using it in
the activity launch path; we don't need such a high degree of
randomness.

This makes activities launch 1-2 seconds faster on XO-1.
11 years ago
Daniel Narvaez 6d2b97daec Fix pep8 errors
pep8 1.6.4 detects more issues
11 years ago
Pootle daemon b65be8d44b Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Daniel Drake 778b10f8d4 Allow override of user library path
This allows for override of ~/Library the same way that can be done
for ~/Activities. Useful for automated testing.
11 years ago
Pootle daemon 9d8290dc26 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 7350974958 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Daniel Drake be91f84a4b Avoid auto-import of bundle helpers (#4527)
The new bundle helpers were being auto-loaded with sugar3.bundle due
to their placement in __init__.py. This was causing Gi to be imported,
breaking GTK2 activity launches.

Move the helpers to a dedicated module.
11 years ago
Daniel Narvaez 058271a4d7 Release 0.99.0 11 years ago
Daniel Narvaez 8fff409046 Add missing headers
Fixes distcheck
11 years ago
Daniel Narvaez aa08f38a80 Implement only the test target, not check
At the moment our tests requires to be run inside a clean
dbus/xvfb session, which is not always available where the
check target is used (for example in distcheck). Also when
running distcheck in buildbot we don't really want to run
tests again, since we just run them in the check step.

We might revisit this in the future but using a non standard
target is the easiest solution for now.
11 years ago
Daniel Narvaez bfe17826cb Use xz for distribution
It has better compression.
11 years ago
Daniel Narvaez 9778f1d35f Don't set AT_SPI_CLIENT
This is not necessary anymore with latest at-spi2-atk
(See commit 683739dea15d7c02c217a404d8c5d9d7af076a57)
11 years ago
Daniel Narvaez 2476561bd0 Reapply pootle changes
Excluding the pot change
11 years ago
Daniel Narvaez 6316d3afcd Revert "Push several PO files"
This reverts commit 423278c88e.
11 years ago
Pootle daemon 423278c88e Push several PO files 11 years ago
Pootle daemon 4b1a0a1bda Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3 11 years ago
Daniel Drake 12476caa12 Improve bundle API for bundleregistry changes
The bundle API is a bit confusing and inconsistent. Fix up the
ActivityBundle and ContentBundle classes to be more consistent and to
work with the ongoing improvements being made in bundleregistry.
11 years ago
Daniel Drake f4c1bd152a Add bundle instantiation helpers
Add some helper functions for use by upcoming changes in the Sugar shell.
11 years ago
Gonzalo Odiard ad3c163023 Fix ObjectChooser backwards compatibility
The last change brak compatibility with the use in activities
without set the filter_type parameter, because None is not
a allowed value in the dbus call.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
11 years ago
Pootle daemon 5b497592ed Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3 11 years ago
Daniel Narvaez f54229efd2 Move setting AT_SPI_CLIENT to discover
It needs to be called as early as possible before unit tests
has a chance to import gtk.

Hopefully will fix random test failures we are seeing in buildbot.
11 years ago
Daniel Narvaez 6d319619f0 Factor out the discover logic to the test module
This avoids duplication in sugar and sugar-toolkit-gtk3
makefiles.
11 years ago
Pootle daemon 650c943c87 Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3 11 years ago
Gonzalo Odiard da3786d2fb Add filter_type optative parameter to objectchooser
Constants are defined to select the different filter_type
values. A comment was added to document the use.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
11 years ago
Pootle daemon 14a367aa25 Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3 11 years ago
Pootle daemon 08f6b4797d Commit from Sugar Labs: Translation System by user cjl.: 10 of 40 messages translated (1 fuzzy). 11 years ago
godiard b3e4a7ea8d Merge pull request #6 from dnarvaez/printui
Log the UI tree on error
11 years ago
Daniel Narvaez 19bc2268d4 Log the UI tree on error
The dump method doesn't actually print anything, just
returns the tree as a string.
11 years ago
Pootle daemon 63f2724206 Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3 11 years ago
Pootle daemon cf4f5845c0 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
manuq f9e80a90f7 Merge pull request #5 from dnarvaez/atspi
Set the AT_SPI_CLIENT variable in the tests
11 years ago
Daniel Narvaez 5bef5a82d2 Set the AT_SPI_CLIENT variable in the tests
This ensures the test itself is not recognized as a client
by the registry. I'm not sure how that happens since we are
not loading gtk, but it does. Not being a real gtk client with
a mainloop we wasn't answering dbus calls and causing the registry
to hang and fail.
11 years ago
Walter Bender 8c0f4c025c Merge branch 'unittest' of https://github.com/dnarvaez/sugar-toolkit-gtk3 into dnarvaez-unittest 11 years ago