5657 Commits (f43d5f8d24819fa19f2e49bd14cd1b51ee44c2cc)
 

Author SHA1 Message Date
Sam f43d5f8d24 Fixes #4634, issue where spaces in bundle ids crashed sugar 11 years ago
Gonzalo Odiard dee29c0e75 Be able to click in a tooltip - Fixes #991
This issue was reported many times, when new users see a tooltip
try to click, and are confused when there are no action.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
11 years ago
Gonzalo Odiard f52b4e1a96 Make webactivity compatible with webkit1
If a env variable SUGAR_USE_WEBKIT1 exists,
uses a different module to start the activity using a local webserver,
borrowed from wikipedia activity.
When use webkit1 the web inspector is not enabled, because do not work.

Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
11 years ago
Daniel Narvaez ee88193186 Release 0.101.0 11 years ago
Gonzalo Odiard c47b842fb9 Fix mistake in the last commit
Error detected by the tests.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
11 years ago
Gonzalo Odiard b8074549f6 Fix cloning activity in sugar - SL #4608
Probably this code was not included in the initial port from gtk2 to
gtk3, because is only used by Sugar, but now we need it.

I changed the way the parameter dist_name is used,
then a complementary patch in sugar is needed

Fixes #4608

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
11 years ago
Walter Bender cd5292881e Add single_instance field to activity bundle
This field can be used by activities that need to be restricted to a
single open instance. Usage is:

single_instance = yes

jarabe/model/shell.py has been modified look for this field in a
separate patch to Sugar.

Together these two patches constitute the implementation of Sugar
feature Launch Limits [1]

[1] http://wiki.sugarlabs.org/go/Features/Launch_Limits
11 years ago
Manuel Quiñones 1baebb2051 Merge branch 'gir' of https://github.com/dnarvaez/sugar-toolkit-gtk3 into dnarvaez-gir 11 years ago
Diego Naula ddd566c847 Fixes #3665: add is_fullscreen() method to Window class
Signed-off-by: Diego Naula <dnaula1997@gmail.com>
11 years ago
Ezequiel Pereira f13a14a2b3 Add journal filter for .xo bundles
Fix #1712
11 years ago
Daniel Narvaez 28423249f6 Make gir files depend on their library
Otherwise with parallel builds we might try to build gir files
before the library causing an error. This happened once in the
buildbot.

Fix #4606
11 years ago
Daniel Narvaez 1329531d2d Release 0.100.0 11 years ago
Gonzalo Odiard 32f97b48c3 Workaround to enable start of activities still using service_name
While we deprecated service_name a long time ago, still there are activities
using it, and is a source of frequent problems.

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
11 years ago
Daniel Narvaez cf392735a0 Ensure logs path exists when initializing logs
Otherwise, for example, if we start datastore alone
like we do in the tests, we try to create logs without
the directory and traceback.
11 years ago
Daniel Narvaez 2d33c92299 Release 0.99.4 11 years ago
Daniel Narvaez 6fdf5f208a Use python2 shebang
Some distributions have switched to python3 as default and our code
breaks because it's python2 specific. Follow the PEP 394
recommendation.
11 years ago
Pootle daemon 0408c19365 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Daniel Narvaez 6d6469ee12 Remove now unused method 11 years ago
Daniel Narvaez fd831931ad Remove duplicated code
And deprecate duplicated function.
11 years ago
Daniel Narvaez a1b6b129aa Make the debug script profile aware 11 years ago
Daniel Narvaez fe192be798 Add a SUGAR_HOME environment variable
We should really use XDG directories but that will be a bit
more complicated and require migration scripts. This is a
short time solution to "expose" the dot sugar directory in
sugar-build.
11 years ago
Daniel Narvaez e908aeb8ca Remove unused imports 11 years ago
Daniel Narvaez 6523ba1481 Bind the new toolkit domain 11 years ago
Daniel Narvaez d12a1d5131 Fix translations domains to point to new toolkit 11 years ago
Daniel Narvaez b83ddaefaf Revert "Fix translations domains to point to new toolkit"
This reverts commit abe0de3ef8.
11 years ago
Daniel Narvaez 7e6a2cc261 Update .gitignore 11 years ago
Daniel Narvaez abe0de3ef8 Fix translations domains to point to new toolkit 11 years ago
Daniel Narvaez 9717e5954b Fix translations in non standard prefix
This drops a lot of code at the same time. The code in
__init__ was:

* Using a SUGAR_PREFIX environment variable that is not
defined anywhere
* Hardcoding prefix to /usr
* Setting up the sugar-base domain which doesn't exist anymore

The i18n module code was overcomplex because it was thought
for language packs which we don't support anymore, it was
not handling correctly locales with a country prefix, it
was hard coding the python prefix and it was not sorting
the directories as it intended too anyway.

The logic is very simple now. Use the locale directory in
the same prefix sugar-toolkit-gtk3 was installed, unless
SUGAR_LOCALEDIR is defined (for self contained bundles).
11 years ago
Pootle daemon 4259cc4fd1 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Walter Bender ec5f064c10 Ensure entity value is type str
There are times when the entity value passed in for substitution
is of type unicode. This causes Rsvg to fail when processing the
SVG. This patch checks for unicode and converts it to utf-8.

Fixes #4621
11 years ago
Daniel Drake e01837f8be Drop use of deprecated dbus.glib
When writing Python apps that will use asynchronous DBus calls and
signals, python-dbus must be initialised with the appropriate main
loop.

sugar currently does this by importing the datastore module from
sugar-toolkit-gtk3, and the datastore module uses the deprecated
and confusing dbus.glib module (which automatically and non-obviously
sets the default GLib main context as the DBus mainloop).

Eliminate the dbus.glib usage from sugar-toolkit-gtk3 as part
of the effort to make sugar initialised the DBus mainloop in a
more explicit and non-deprecated fashion.
11 years ago
Daniel Narvaez 2c225c0cee Release 0.99.3 11 years ago
Manuel Quiñones fa7a765f4e Drop session.py
SessionManager has been moved to shell, and the other class has
nothing inside.
11 years ago
Pootle daemon 9a68351485 Commit from Sugar Labs: Translation System by user cjl.: 36 of 40 messages translated (4 fuzzy). 11 years ago
Pootle daemon 5ba632a34a Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3 11 years ago
Pootle daemon 15426ea9f7 Commit from Sugar Labs: Translation System by user cjl.: 30 of 40 messages translated (1 fuzzy). 11 years ago
Pootle daemon 3ab7d7dd1d Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 2e6bdd2a6e Commit from Sugar Labs: Translation System by user cjl.: 37 of 40 messages translated (3 fuzzy). 11 years ago
Pootle daemon 26401eead9 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 3224dd13de Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 02c05d632e Commit from Sugar Labs: Translation System by user cjl.: 35 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 5d03c812b1 Commit from Sugar Labs: Translation System by user cjl.: 2 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 4cdbdf6a4e Commit from Sugar Labs: Translation System by user cjl.: 0 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 255fc7108c Commit from Sugar Labs: Translation System by user cjl.: 2 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon a37fd8f5f1 Commit from Sugar Labs: Translation System by user cjl.: 0 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 2a85cb84be Commit from Sugar Labs: Translation System by user cjl.: 33 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 35bb82f2e3 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon f34e7c5165 Commit from Sugar Labs: Translation System by user cjl.: 0 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 4a9cb6a60a Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago
Pootle daemon 8dfb029db2 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 11 years ago