Commit Graph
37 Commits
Author SHA1 Message Date
Martin Abente Lahaye a1371b5f94 Release 0.108.0 2016-02-13 10:09:28 -03:00
Martin Abente Lahaye e048f6c3e8 Release 0.107.2 2016-01-23 09:22:57 -03:00
Martin Abente Lahaye 0494f704fb collaboration: handle tubes channel failure gracefully
CHANNEL_TYPE_TUBES was deprecated since telepathy-gabble 0.17.25 and
is no longer present on modern distributions. This breaks collaboration
for _all_ activities, regardless if they use tubes or not.

Therefore, check if the channel creation failed due to support and allow
channel creation process to continue.

This patch fixes collaboration for the activities that do not use tubes
channel in modern distributions, but also allow to use tubes when running
on older distributions.

Signed-off-by: Martin Abente Lahaye <[email protected]>
2016-01-04 18:08:32 -03:00
Martin Abente Lahaye 0af1ce7b97 Release 0.107.1 2015-12-28 13:01:17 -03:00
Martin Abente Lahaye d8205de316 Release 0.107.0 2015-10-19 09:18:14 -03:00
Martin Abente Lahaye f215d20508 Release 0.106.0 2015-07-06 07:46:32 -04:00
Martin Abente Lahaye 797130baed Release 0.105.3 2015-06-30 16:34:47 -04:00
tch 2ba05304f8 Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0 need review). 2015-06-30 14:33:39 +00:00
Martin Abente Lahaye a3946f7c19 translations: add Guarani to LINGUAS
A group of kids from the OLPC project in Caacupe have translated both
the sugar shell and the sugar gtk3 toolkit to Guarani. They are also in
the process of translating sugar activities [1].

This patch add the gn entry to the LINGUAS file so the gn.po file can be
properly installed, as already is being done with the sugar shell.

[1] http://translate.sugarlabs.org/gn/

Signed-off-by: Martin Abente Lahaye <[email protected]>
2015-06-22 18:38:20 -04:00
tch 68058cf8a4 Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0 need review). 2015-06-22 19:34:42 +00:00
Martin Abente Lahaye 5d0e06f07d Release 0.105.2 2015-06-01 09:10:14 -04:00
Martin Abente Lahaye e8553c13a1 Add skip-install-mime option to bundlebuilder
Historically, distro packagers have been using bunblebuilder, via
"setup.py install", to populate packages directories and files.

The install procedure uses ActivityBundle.install_mime_type to install
custom mime types, by creating symlinks and updating the system mime
types database via the update-mime-database tool.

When ActivityBundle.install_mime_type is executed during packages
creation, the symlinks end-up broken in the final package and the use
of update-mime-database populates the final packages with a new copy
of the database files which could clash with the system copy.

This patch adds a new option, called --skip-install-mime to "setup.py
install" to skip the execution of ActivityBundle.install_mime_type and
avoid the issues mentioned above.

Activity packagers should use this new option. The creation of symlinks
and the execution of update-mime-database should be done in post install
packaging steps.

Signed-off-by: Martin Abente Lahaye <[email protected]>
2015-05-28 16:30:04 -04:00
Martin Abente Lahaye 9e34750ffd Release 0.105.1 2015-05-18 08:38:30 -04:00
Martin Abente Lahaye b8cca638d6 Release 0.105.0 2015-04-20 13:52:25 -04:00
Martin Abente Lahaye 06c3f01998 Revert "Add ability to launch a bundle"
This reverts commit 8fcb0b48d3.
2015-04-12 10:11:59 -04:00
Martin Abente Lahaye 3c88e987e4 Release 0.104.1 2015-03-10 11:03:17 -03:00
Martin Abente Lahaye 12a6d2bccb Update Igbo translations from ibo.po
Signed-off-by: Martin Abente Lahaye <[email protected]>
2015-03-10 10:58:03 -03:00
tch 88881e8261 Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0 need review). 2015-03-05 22:25:21 +00:00
tch da550253b3 Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0 need review). 2015-03-05 22:03:32 +00:00
tch 504aa5a574 Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0 need review). 2015-02-26 13:17:36 +00:00
tch d6a0b5bdef Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0 need review). 2015-02-26 13:16:22 +00:00
tch 68ba00ae48 Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0 need review). 2015-02-26 13:15:14 +00:00
tch da6b4f34f9 Commit from Sugar Labs by user tch.: 1 of 109 strings translated (0 need review). 2015-02-25 17:18:04 +00:00
Martin Abente Lahaye a10da70102 Release 0.104.0 2015-02-13 09:00:08 -03:00
tch 00ee27df63 Commit from Sugar Labs by user tch.: 109 of 109 strings translated (0 need review). 2015-01-22 13:40:04 +00:00
Martin Abente Lahaye f9bfab273d Release 0.103.2 2015-01-16 08:26:47 -03:00
Martin Abente Lahaye 7739336fb6 Provide access to Gtk.Clipboard.set_with_data
As described in SL#4307 Gtk.Clipboard.set_with_data is not
introspectable, therefore it can't be accessed though python
Gtk bindings.

Therefore, as a workaround for this issue, we provide acesss
to this method though a custom SugarExt binding.

This solution uses Carlos Garnacho annotations as described in
https://bugzilla.gnome.org/show_bug.cgi?id=656312#c18

Fixes SL#4307.

Signed-off-by: Martin Abente Lahaye <[email protected]>
2015-01-14 15:53:37 -03:00
Martin Abente Lahaye 95a0c3f5f1 Release 0.103.1
Signed-off-by: Martin Abente Lahaye <[email protected]>
2014-12-01 20:32:31 -03:00
Martin Abente Lahaye 177fcba84b Release 0.103.0 2014-10-15 15:08:03 -03:00
Martin Abente Lahaye 98a29ae12c Save spent time on activities
Use set_active and save events to keep track of the time,
in seconds, that the activity is on the main screen. The
time is calculated and stored each time an activity is
open/resumed and closed. Therefore, each activity entry
will have an array of seconds for each time it was used.

This makes a 1 to 1 relationship between the spent and
lauch times. In orders words, we can reflect not only the
"when", but also the " for how long".

Even though this time does not necessarily represents the
real time the user "used" the activity, it is a low-cost
approach for reflecting time.

This is a long requested featured from deployments that have
been using statistics tools on journal metadata, and this
patch is already being used by OLPC-AU.

Signed-off-by: Martin Abente Lahaye <[email protected]>
2014-10-02 13:24:59 -04:00
Martin Abente Lahaye 16617b22d7 Release 0.102.0 2014-07-01 07:08:42 -04:00
Martin Abente Lahaye 85b173eb25 Remove Palette logic out of PaletteWindow
PaletteWindow is the parent class of two different subclases,
Palette and _ToolBarPalette. Palette uses state changes intensively
in order to display secondary content, but _ToolBarPalette does not.

Because of this, Palette overwrites PaletteWindow's popup and popdown
methods adding one extra param called "state". This param is not required
either in PaletteWindow and specially not in _ToolBarPalette.

Therefore, any piece of code inside PaletteWindow which is meant for
Palette subclassing, should be moved out of PaletteWindow and placed
in the Palette class, where it corresponds.

This patch fixes the cases where _ToolBarPalette breaks because of this
mismatch.

Signed-off-by: Martin Abente Lahaye <[email protected]>
2014-06-24 16:27:05 -03:00
Martin Abente Lahaye 2f19a41432 Fix black palettes
Push the palette widget opening process to the latest
in order to avoid the race condition where the animation
takes of the place of the real palette.

Fixes #2184

Signed-off-by: Martin Abente Lahaye <[email protected]>
2014-06-24 15:57:35 -03:00
Martin Abente Lahaye 45e7ba5ed6 Fix and clean Palette secondary label
Removes unnecessary code ie., changing label color.

Refactor label settings, to put all in the same place.

Fix changes to label_alignment that does not honor
original vertical padding settings.

Signed-off-by: Martin Abente Lahaye <[email protected]>
2014-05-28 17:26:45 -03:00
Martin Abente Lahaye 72994bd73c Add Icon.get_badge_size
Add get_badge_size method to Icon class, so it can be accessed
by other Icon sub-classes.

ie., jarabe.frame.notification.NotificationPulsingIcon.

Signed-off-by: Martin Abente Lahaye <[email protected]>
2014-04-25 15:46:20 -03:00
Martin Abente Lahaye 6c64a7d020 Revert "Keep updated CellRendererInvoker self.path updated - Fixes #4717"
This reverts commit 353e05a086.
2014-01-23 00:57:27 -03:00
Martin Abente Lahaye ba8c435e50 Include string.h to sugar-fatattr
According to dsd's wisdom, without being
included, strerror is undeclared.

Fixes #4600 sugar crashing when copying
journal entries to documents folder.

Signed-off-by: Martin Abente Lahaye <[email protected]>
2013-08-16 00:14:42 +02:00