Commit Graph

12 Commits

Author SHA1 Message Date
Mike C. Fletcher
3f10890319 Docstrings for modules all over sugar and shell.
These are just the doc strings I created as I was spelunking
through to see how Sugar manages launching applications.  The
resulting auto-documentation is neither polished or finished,
but it should help people reading the code somewhat.

There are a few minor code cleanups:

  * activityhandle (replacing C idiom for initialisation with
    a Python one)
  * bundle registry (using a parameterised directory name so
    that it shows up in the documentation)
  * validate_activity_id function, use isinstance( item, (str,unicode))
    for the query, rather than two separate checks with isinstance
2007-04-09 22:47:37 -04:00
Dan Williams
bc083dae5a Cut over to new PresenceService 2007-04-09 14:40:56 -04:00
Marco Pesenti Gritti
09304e8e5a Accept raw X windows in the shell 2007-04-08 19:20:59 +02:00
Tomeu Vizoso
cb0d75eb59 Rename IconColor to XoColor. 2007-02-23 13:09:33 +01:00
Marco Pesenti Gritti
fc805d3a88 Adapt to activity api change 2007-02-22 17:27:00 +01:00
Marco Pesenti Gritti
f5b13b716e Do not expose the service names from Activity.
This create quite a bit of duplication, but I have to start somewhere cleaning this mess :/
2007-02-21 17:28:49 +01:00
John (J5) Palmieri
b2bf400b67 add import for sugar.graphics.IconColor 2007-01-10 16:55:12 -05:00
Dan Williams
e14c928640 Increase launch timeout to 20s 2007-01-09 14:21:40 -05:00
Dan Williams
8cea4c5fc6 Track activities while they launch
HomeModel now uses the activity ID to track activities, and creates
the HomeActivity object when the activity is launched, not when
its window appears.
2007-01-06 19:31:19 -05:00
Marco Pesenti Gritti
b3c2368eac Complete the shell model/view split, finally 2006-12-24 15:39:00 +01:00
Marco Pesenti Gritti
0d1e07d9c3 Split ActivityHost in model/view. Refactor accordingly. 2006-12-24 14:35:02 +01:00
Marco Pesenti Gritti
2db2ae5312 Split model/view in the activities donut.
Provide some infrastructure for Alt+Tab implementation.
2006-12-24 12:19:24 +01:00