Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/activity
Commit message (Collapse)AuthorAgeFilesLines
* sugar.activity.i18n: add pgettext()Sascha Silbe2011-02-151-0/+18
| | | | | | | | | | 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 <silbe@activitycentral.com> Acked-by: Simon Schampijer <simon@laptop.org>
* bundlebuilder: genpot: don't use absolute paths in filenames (SL#2508)Simon Schampijer2011-02-121-1/+3
| | | | | | | [tweaked description; minor style fix] Signed-off-by: Sascha Silbe <silbe@activitycentral.com> Tested-By: Sascha Silbe <silbe@activitycentral.com> Reviewed-By: Sascha Silbe <silbe@activitycentral.com>
* bundlebuilder: install mimetypes.xml and associated icon #2262Simon Schampijer2010-11-241-0/+2
| | | | | | | | As we do create the ActivityBundle in the config of the bundlebuilder we can use the code from the activitybundle as well to install the mime type. Reviewed-By: Sascha Silbe <sascha-pgp@silbe.org>
* bundlebuilder: ignore incorrect pylint warningSascha Silbe2010-11-231-0/+1
| | | | | | | | | pylint isn't smart enough to figure out the return type of Popen.communicate(), so squelch the warning. Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* pylint cleanup: disable warnings for reasonable catch-all exception handlersSascha Silbe2010-11-231-0/+1
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* pylint cleanup: replace disable-msg with disableSascha Silbe2010-11-231-2/+2
| | | | | | | | Adapt to upstream format change. Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* style cleanup: prefer ' for stringsSascha Silbe2010-11-236-37/+37
| | | | | | | | | Tomeu prefers ' for strings, so let's use it wherever we don't have a good reason to use ". Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* style cleanup: use """ everywhereSascha Silbe2010-11-231-7/+7
| | | | | | | | Most of the code uses """, so adjust the few deviations. Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: fix whitespace before ':'Sascha Silbe2010-11-231-1/+1
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: fix spaces around keyword parametersSascha Silbe2010-11-232-4/+4
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: fix whitespace around operatorSascha Silbe2010-11-231-1/+2
| | | | | | Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: don't use has_key()Sascha Silbe2010-11-232-8/+5
| | | | | | | has_key() has been deprecated for quite some time now. Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: ensure lines are shorter than 80 charactersSascha Silbe2010-11-231-1/+2
| | | | | | | | | | Caught by PEP8. This is important for Sugar because the XO has a small screen where long lines would make the code hard to understand (because you need to constantly scroll horizontally). Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer<simon@schampijer.de> CC: Aleksey Lim <alsroot@member.fsf.org>
* PEP8 cleanup: fix number of blank linesSascha Silbe2010-11-231-0/+1
| | | | | | | | Caught by pep8. Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
* Add new numbering scheme #2425Simon Schampijer2010-11-091-3/+3
| | | | | | | - add class NormalizedVersion to parse and compare the new activity versions - change the bundlebuilder and activitybundle to use the new scheme, instead of an int version we expect a string that matches the format defined in NormalizedVersion
* Fix running multiple instances of Browse by adapting to API changes #2404Tomeu Vizoso2010-10-051-3/+4
| | | | | | | | * sugar/presence/presenceservice.py: Specify the D-Bus interface when calling ActivityProperties.GetActivity * sugar/activity/main.py: Set a default for the --invite option and make the create() D-Bus method accept a{sv} so we can pass the boolean value.
* Address comments from Simon's reviewTomeu Vizoso2010-08-201-4/+0
|
* Address several nitpicks from MarcoTomeu Vizoso2010-08-201-23/+31
|
* Rename ActivityHandle.handle_invite to ActivityHandle.invitedTomeu Vizoso2010-08-204-10/+10
|
* Remove unused constantTomeu Vizoso2010-08-201-1/+0
|
* Add copyright statement due to the collaboration refactoringTomeu Vizoso2010-08-201-0/+1
|
* Misc. pylint fixesTomeu Vizoso2010-08-201-3/+5
|
* Remove some unused importsTomeu Vizoso2010-08-202-4/+1
|
* Add the MAC address to the data that gets hashed to get an activity_idTomeu Vizoso2010-08-201-22/+2
|
*