77 Commits (4d978fda14f7029dca7ec9925ac3716c56a74875)

Author SHA1 Message Date
Sascha Silbe 4d978fda14 PEP8 cleanup: ensure lines are shorter than 80 characters
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>
14 years ago
Sascha Silbe e2231d5620 PEP8 cleanup: fix number of blank lines
Caught by pep8.

Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
14 years ago
Tomeu Vizoso 1af1bc9713 Address several nitpicks from Marco 14 years ago
Tomeu Vizoso 56679a3de6 Rename ActivityHandle.handle_invite to ActivityHandle.invited 14 years ago
Tomeu Vizoso d66eb39c9b Remove unused constant 14 years ago
Tomeu Vizoso fdfacaf26f Misc. pylint fixes 14 years ago
Tomeu Vizoso ead42a6945 Remove some unused imports 14 years ago
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().
14 years ago
Tomeu Vizoso fbee730549 Implement inviting buddies to a private activity 14 years ago
Tomeu Vizoso a0b9394846 Replace enough of the old PS so we can share an activity instance publically
on the network.
14 years ago
Tomeu Vizoso 98cc77f1fb Replace enough of the old PS so we can join an activity instance on the network.
* 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.
14 years ago
Simon Schampijer 2a52c9493b A little bit of pylint cleanup 14 years ago
Tomeu Vizoso d006092d37 Log saving errors in activities #1703 14 years ago
Aleksey Lim 6921bcd67d Do not fail while closing object less activities #1714 14 years ago
Aleksey Lim 3bf70d642c Override canvas property in Activity class #1795 14 years ago
Daniel Drake 709d44d602 Apply activity font settings earlier (#1607)
Fixes some minor changes in toolbar appearance that my previous
work unintentionally introduced.
15 years ago
Daniel Drake 634b2fcee0 Apply font configuration from GConf (#1584)
Sugar font settings are now stored in GConf. This patch applies them
to all users of sugar.style and all standard activities.
15 years ago
Aleksey Lim 8f52b0a8f4 Present windows in non-active process #1423 15 years ago
Tomeu Vizoso 957c0b4c0f Save activity_id if its not yet in the DS #1276 15 years ago
Tomeu Vizoso df89c1bf0b Close tube after the activity window is closed #1296 15 years ago
Aleksey Lim 1b80257149 Fullscreen resizing issues #1263 15 years ago
Tomeu Vizoso 929ce5a3cb Make activity windows cover the whole screen as soon as they are mapped. 15 years ago
Sascha Silbe c9e63eb8ea PEP8 white space and long line fixes 15 years ago
Sascha Silbe ecdaf6b795 trim EOL (end-of-line) spaces on source files 15 years ago
Sascha Silbe 496090fe62 let the logger do the formatting 15 years ago
Aleksey Lim 353564f12c Fix review issues 15 years ago
Aleksey Lim 61ab4110fa Rename toolbar.py to toolbarbox.py 15 years ago
Aleksey Lim b43aa43114 Move activity related widgets to sugar.activity.widgets 15 years ago
Aleksey Lim 5ee1f2a3cb Do not use jarabe module 15 years ago
Aleksey Lim a2f20f39ff Fix review issues 15 years ago
Aleksey Lim e03fd4ddde Minor tweaks 15 years ago
Aleksey Lim 2655a8ccad Suppress sub-palettes in radiopalette 15 years ago
Aleksey Lim 872b18a103 Fix review issues 15 years ago
Aleksey Lim 0cf445eb0f Remove redundant ctor argument from activity.ActivityToolbar() 15 years ago
Aleksey Lim ec474da5cc Replace share combo with new share button 15 years ago
Aleksey Lim 9e9a22b2d5 Use activity icon for activity.toolbar button 15 years ago
Aleksey Lim 2088bd5f2a Add activity.keep_button 15 years ago
Aleksey Lim 095c732c9a Add activity.share_button 15 years ago
Aleksey Lim d4cbd4150e Support legacy stop button in ActivityToolbar 15 years ago
Aleksey Lim 442034bb8b Support new toolbars widgets in activity.py 15 years ago
Tomeu Vizoso c5e5d3aeb7 Only call read_file once on activity startup #428 15 years ago
Tomeu Vizoso 9ef619a63a Revert "Listen for map in Window instead of in Canvas (alsroot) #428"
This reverts commit eaf7afcd91.
15 years ago
Tomeu Vizoso af4faead14 Catch all exceptions while saving #224 16 years ago
Tomeu Vizoso eaf7afcd91 Listen for map in Window instead of in Canvas (alsroot) #428 16 years ago
Tomeu Vizoso 29cc73ae18 Let activities provide their own implementation of get_preview() #152 16 years ago
Tomeu Vizoso ace5e73d3d Don't push to the DS a file path pointing to nowhere #258 16 years ago
Simon Schampijer d0d4f55121 'Resume' activity window when NamingAlert is displayed #293 16 years ago
Simon Schampijer 817a981288 Enhanced the 'Name this entry dialog'
- created the canvastextview in sugar/graphics
16 years ago
Tomeu Vizoso 64d24f3ac5 Fix the keep button in the title activity 16 years ago
Tomeu Vizoso 67d1d3bcad Make the title alert look a bit nicer 16 years ago