Commit Graph

6096 Commits

Author SHA1 Message Date
Daniel Narvaez
1329531d2d Release 0.100.0 2013-11-01 00:42:45 +01:00
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>
2013-10-30 23:02:11 -03:00
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.
2013-10-07 23:31:49 +02:00
Daniel Narvaez
2d33c92299 Release 0.99.4 2013-10-03 13:08:46 +02:00
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.
2013-09-30 11:55:14 -03:00
Pootle daemon
0408c19365 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-09-19 01:13:28 +02:00
Daniel Narvaez
6d6469ee12 Remove now unused method 2013-09-15 16:34:03 +02:00
Daniel Narvaez
fd831931ad Remove duplicated code
And deprecate duplicated function.
2013-09-11 18:12:54 +02:00
Daniel Narvaez
a1b6b129aa Make the debug script profile aware 2013-09-11 17:33:27 +02:00
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.
2013-09-11 16:36:31 +02:00
Daniel Narvaez
e908aeb8ca Remove unused imports 2013-09-11 16:34:48 +02:00
Daniel Narvaez
6523ba1481 Bind the new toolkit domain 2013-09-11 16:04:13 +02:00
Daniel Narvaez
d12a1d5131 Fix translations domains to point to new toolkit 2013-09-11 16:02:47 +02:00
Daniel Narvaez
b83ddaefaf Revert "Fix translations domains to point to new toolkit"
This reverts commit abe0de3ef8.
2013-09-11 15:59:34 +02:00
Daniel Narvaez
7e6a2cc261 Update .gitignore 2013-09-11 15:29:22 +02:00
Daniel Narvaez
abe0de3ef8 Fix translations domains to point to new toolkit 2013-09-11 15:27:46 +02:00
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).
2013-09-10 22:55:11 +02:00
Pootle daemon
4259cc4fd1 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-09-10 00:50:35 +02:00
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
2013-09-08 22:51:00 +02:00
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.
2013-09-05 17:47:52 +02:00
Daniel Narvaez
2c225c0cee Release 0.99.3 2013-09-05 16:47:12 +02:00
Manuel Quiñones
fa7a765f4e Drop session.py
SessionManager has been moved to shell, and the other class has
nothing inside.
2013-09-02 21:38:49 +02:00
Pootle daemon
9a68351485 Commit from Sugar Labs: Translation System by user cjl.: 36 of 40 messages translated (4 fuzzy). 2013-09-01 01:47:51 +02:00
Pootle daemon
5ba632a34a Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3 2013-08-31 00:32:11 -04:00
Pootle daemon
15426ea9f7 Commit from Sugar Labs: Translation System by user cjl.: 30 of 40 messages translated (1 fuzzy). 2013-08-30 23:04:57 +02:00
Pootle daemon
3ab7d7dd1d Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-08-30 23:03:11 +02:00
Pootle daemon
2e6bdd2a6e Commit from Sugar Labs: Translation System by user cjl.: 37 of 40 messages translated (3 fuzzy). 2013-08-30 23:02:42 +02:00
Pootle daemon
26401eead9 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-08-30 22:54:40 +02:00
Pootle daemon
3224dd13de Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-08-30 22:53:37 +02:00
Pootle daemon
02c05d632e Commit from Sugar Labs: Translation System by user cjl.: 35 of 40 messages translated (0 fuzzy). 2013-08-30 20:03:33 +02:00
Pootle daemon
5d03c812b1 Commit from Sugar Labs: Translation System by user cjl.: 2 of 40 messages translated (0 fuzzy). 2013-08-30 20:03:18 +02:00
Pootle daemon
4cdbdf6a4e Commit from Sugar Labs: Translation System by user cjl.: 0 of 40 messages translated (0 fuzzy). 2013-08-30 20:02:49 +02:00
Pootle daemon
255fc7108c Commit from Sugar Labs: Translation System by user cjl.: 2 of 40 messages translated (0 fuzzy). 2013-08-30 20:02:18 +02:00
Pootle daemon
a37fd8f5f1 Commit from Sugar Labs: Translation System by user cjl.: 0 of 40 messages translated (0 fuzzy). 2013-08-30 20:02:01 +02:00
Pootle daemon
2a85cb84be Commit from Sugar Labs: Translation System by user cjl.: 33 of 40 messages translated (0 fuzzy). 2013-08-30 20:01:38 +02:00
Pootle daemon
35bb82f2e3 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-08-30 20:00:49 +02:00
Pootle daemon
f34e7c5165 Commit from Sugar Labs: Translation System by user cjl.: 0 of 40 messages translated (0 fuzzy). 2013-08-30 20:00:25 +02:00
Pootle daemon
4a9cb6a60a Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-08-30 17:51:25 +02:00
Pootle daemon
8dfb029db2 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-08-30 17:49:51 +02:00
Pootle daemon
dd424ac7a2 Commit from Sugar Labs: Translation System by user cjl.: 36 of 40 messages translated (4 fuzzy). 2013-08-30 17:49:13 +02:00
Pootle daemon
c78f3deaac Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-08-30 17:45:32 +02:00
Pootle daemon
6b75aa4f60 Commit from Sugar Labs: Translation System by user cjl.: 26 of 40 messages translated (0 fuzzy). 2013-08-30 17:44:41 +02:00
Pootle daemon
9bf29bcde9 Commit from Sugar Labs: Translation System by user cjl.: 34 of 40 messages translated (1 fuzzy). 2013-08-30 17:43:46 +02:00
Pootle daemon
1a3a6c5a3d Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-08-30 17:41:21 +02:00
Pootle daemon
35f6ca8a49 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-08-30 17:40:44 +02:00
Pootle daemon
4083b2bd40 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-08-30 17:40:03 +02:00
Pootle daemon
4c464cfaf6 Commit from Sugar Labs: Translation System by user cjl.: 29 of 40 messages translated (0 fuzzy). 2013-08-30 17:39:44 +02:00
Pootle daemon
bcd444d4b1 Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-08-30 17:39:28 +02:00
Pootle daemon
bfd2a07174 Commit from Sugar Labs: Translation System by user cjl.: 29 of 40 messages translated (1 fuzzy). 2013-08-30 17:38:17 +02:00
Pootle daemon
d49b5140df Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 2013-08-30 17:37:55 +02:00