Commit Graph

12 Commits

Author SHA1 Message Date
Tomeu Vizoso
363f828205 Handle invitations using Mission Control 5.
src/sugar/activity/activity.py: If the activity is being invoked to
handle an invite, create a Client.Handler instance and share the
activity when HandleChannels is invoked.

src/sugar/activity/activityfactory.py,
src/sugar/activity/activityhandle.py,
src/sugar/activity/main.py: Add a -i switch that indicates to the
activity that it should handle the channel from an invitation.

src/sugar/presence/activity.py: Expose Activity.room_handle.

src/sugar/presence/presenceservice.py: Add get_activity_by_handle().

src/sugar/presence/util.py: Add get_account_for_connection().
2010-08-20 15:33:53 +02:00
Sayamindu Dasgupta
259fca2caa Import in two lines instead of one 2010-02-01 16:24:58 +05:30
Sayamindu Dasgupta
173a402701 Code for language pack support 2010-01-24 20:28:21 +05:30
Daniel Drake
709d44d602 Apply activity font settings earlier (#1607)
Fixes some minor changes in toolbar appearance that my previous
work unintentionally introduced.
2009-12-24 14:41:52 +00:00
Sascha Silbe
c9e63eb8ea PEP8 white space and long line fixes 2009-08-25 21:12:40 +02:00
Sascha Silbe
ecdaf6b795 trim EOL (end-of-line) spaces on source files 2009-08-25 19:55:48 +02:00
Tomeu Vizoso
474b2c3476 Set the locale path for sugar-toolkit #55 2009-02-05 18:47:08 +01:00
Tomeu Vizoso
afb63981fa Set the correct locale path for system activities 2008-09-25 20:19:05 +02:00
Marco Pesenti Gritti
9f88241ff5 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar-toolkit 2008-08-27 14:54:10 +02:00
Marco Pesenti Gritti
98460fb2e2 Fix pylint complain 2008-08-27 14:53:59 +02:00
Simon Schampijer
dd031b4d83 Set the env var SUGAR_BUNDLE_VERSION #5428 (marco) 2008-08-27 12:00:50 +02:00
Marco Pesenti Gritti
b2ce8b030f Factor out sugar-activity code to the toolkit. 2008-08-27 11:04:54 +02:00