Commit Graph

10 Commits

Author SHA1 Message Date
Bert Freudenberg
bd86aee0d4 use activity_id in service name
- construct service name from activity id instead of X window id
- cleanup unused declarations in activityfactory.py
- remove obsolete _dbus_name_owner_changed_cb()
- see http://dev.laptop.org/ticket/1767
- cleared by marcopg
2007-06-20 11:52:29 +02:00
Marco Pesenti Gritti
2b7ffe41d9 Make bundle_id and activity_id window properties to
avoid races.
2007-06-01 21:21:30 +02:00
Tomeu Vizoso
3a1d514e9f Save to the journal when switching to another activity. 2007-05-16 21:30:49 +02:00
Marco Pesenti Gritti
c256958a9a Ensure the window is realized before getting his xid 2007-04-27 00:55:23 +02:00
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
Marco Pesenti Gritti
2a36387ad7 Remove some unused imports 2007-03-28 11:42:50 +02:00
Marco Pesenti Gritti
c4435397fc Remove bundle specific stuff from env.
Move get_bundle_path to activity.
2007-02-22 15:55:07 +01:00
Marco Pesenti Gritti
1b5ac988d7 Put exec back, I forgot it was used by the camera.
Helper method to create an activity with an uri.
2007-02-22 01:23:58 +01:00
Marco Pesenti Gritti
0b6b6cd6ac Cleanup the Activity API, code needs more love. 2007-02-22 00:57:49 +01:00
Marco Pesenti Gritti
3fa653ed63 Split out Activity client/server 2007-02-21 19:39:11 +01:00