Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/activity/activity.py
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* style cleanup: prefer ' for stringsSascha Silbe2010-11-231-10/+10
| | | | | | | | | 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>
* 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: don't use has_key()Sascha Silbe2010-11-231-6/+4
| | | | | | | 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>
* Address several nitpicks from MarcoTomeu Vizoso2010-08-201-23/+31
|
* Rename ActivityHandle.handle_invite to ActivityHandle.invitedTomeu Vizoso2010-08-201-1/+1
|
* Remove unused constantTomeu Vizoso2010-08-201-1/+0
|
* Misc. pylint fixesTomeu Vizoso2010-08-201-3/+5
|
* Remove some unused importsTomeu Vizoso2010-08-201-3/+1
|
* Handle invitations using Mission Control 5.Tomeu Vizoso2010-08-201-26/+112
| | | | | | | | | | | | | | | | | 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().
* Implement inviting buddies to a private activityTomeu Vizoso2010-08-201-4/+5
|
* Replace enough of the old PS so we can share an activity instance publicallyTomeu Vizoso2010-08-201-6/+4
| | | | on the network.
* Replace enough of the old PS so we can join an activity instance on the network.Tomeu Vizoso2010-08-201-3/+4
| | | | | | | | | | | | | | | | * src/sugar/activity/activity.py: Get the shared activity wrapper from sugar.presence. * src/sugar/activity/activityfactory.py: Disable checking in the PS for activity_id duplicates. * src/sugar/presence/activity.py: Remove the PS dependency and query Telepathy directly. Implemented enough to join an activity. * src/sugar/presence/buddy.py: Remove the PS dependency and query Telepathy directly. Implemented enough to join an activity. Added an Owner subclass of Buddy() * src/sugar/presence/presenceservice.py: Remove the PS dependency and query Telepathy directly. Implemented enough to join an activity. * src/sugar/presence/util.py: Add ConnectionManager for discovering and tracking connections.
* A little bit of pylint cleanupSimon Schampijer2010-03-101-1/+0
|
* Log saving errors in activities #1703Tomeu Vizoso2010-03-091-2/+2
|
* Do not fail while closing object less activities #1714Aleksey Lim2010-03-091-1/+2
|
* Override canvas property in Activity class #1795Aleksey Lim2010-03-081-0/+5
|
* Apply activity font settings earlier (#1607)Daniel Drake2009-12-241-3/+0
| | | | | Fixes some minor changes in toolbar appearance that my previous work unintentionally introduced.
* Apply font configuration from GConf (#1584)Daniel Drake2009-12-011-0/+3
| | | | | Sugar font settings are now stored in GConf. This patch applies them to all users of sugar.style and all standard activities.
* Present windows in non-active process #1423Aleksey Lim2009-09-291-6/+8
|
* Save activity_id if its not yet in the DS #1276Tomeu Vizoso2009-09-191-0/+3
|
* Close tube after the activity window is closed #1296Tomeu Vizoso2009-09-151-4/+5
|
* Fullscreen resizing issues #1263Aleksey Lim2009-09-051-1/+5
|
* Make activity windows cover the whole screen as soon as they are mapped.Tomeu Vizoso2009-09-011-0/+19
|
* PEP8 white space and long line fixesSascha Silbe2009-08-251-23/+40
|
* trim EOL (end-of-line) spaces on source filesSascha Silbe2009-08-251-70/+70
|
* let the logger do the formattingSascha Silbe2009-08-241-16/+16
|
* Fix review issuesAleksey Lim2009-07-311-4/+0
|
* Rename toolbar.py to toolbarbox.pyAleksey Lim2009-07-301-0/+4
|
* Move activity related widgets to sugar.activity.widgetsAleksey Lim2009-07-301-333/+3
|
* Do not use jarabe moduleAleksey Lim2009-07-301-17/+3
|
* Fix review issuesAleksey Lim2009-07-301-122/+203
|
* Minor tweaksAleksey Lim2009-07-301-6/+4
|
* Suppress sub-palettes in radiopaletteAleksey Lim2009-07-291-6/+4
|
* Fix review issuesAleksey Lim2009-07-291-21/+23
|
* Remove redundant ctor argument from activity.ActivityToolbar()Aleksey Lim2009-07-291-6/+6
|
* Replace share combo with new share buttonAleksey Lim2009-07-291-46/+2
|
* Use activity icon for activity.toolbar buttonAleksey Lim2009-07-281-5/+16
|
* Add activity.keep_buttonAleksey Lim2009-07-281-15/+15
|
* Add activity.share_buttonAleksey Lim2009-07-281-1/+41
|
* Support legacy stop button in ActivityToolbarAleksey Lim2009-07-131-2/+2
|
* Support new toolbars widgets in activity.pyAleksey Lim2009-07-131-24/+61
|
* Only call read_file once on activity startup #428Tomeu Vizoso2009-03-271-2/+8
|
* Revert "Listen for map in Window instead of in Canvas (alsroot) #428"Tomeu Vizoso2009-03-271-3/+2
| | | | This reverts commit eaf7afcd9104a2e7280ab6d3d45ec45ebd313cad.
* Catch all exceptions while saving #224Tomeu Vizoso2009-03-031-1/+1
|
* Listen for map in Window instead of in Canvas (alsroot) #428Tomeu Vizoso2009-03-031-2/+3
|
* Let activities provide their own implementation of get_preview() #152Tomeu Vizoso2009-02-251-2/+8
|
* Don't push to the DS a file path pointing to nowhere #258Tomeu Vizoso2009-02-051-4/+6
|