Dan Williams
894fcea9fc
Remove get_default_type() and bundle default types; obsolete
2007-04-11 15:08:40 -04:00
Marco Pesenti Gritti
73f2577397
First go at the new type registry.
2007-04-11 14:06:27 +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
a5d303f9ff
Smarter bundle name matching
2007-03-09 16:55:18 +01:00
Marco Pesenti Gritti
57c928916c
Refactor sugar.env and paths
2007-03-09 14:57:54 +01:00
Marco Pesenti Gritti
02f375b710
Add a class attribute as per the updated spec.
...
Cleanups.
2007-02-22 15:46:13 +01:00
Marco Pesenti Gritti
7db372cc1c
Make bundle registry a singleton. Get the object path from the registry.
2007-02-21 17:53:44 +01:00
Tomeu Vizoso
9d13a9836d
Added new tool sugar-install-bundle.
2007-01-27 12:54:56 +01:00
Marco Pesenti Gritti
e023d1c345
Get back mesh view to work. It got broken when refactoring bundles.
2006-12-20 13:58:29 +01:00
Justin Gallardo
b9f9ef0fe9
Changed all tabs to 4 spaces for python style
2006-12-04 11:12:24 -08:00
Marco Pesenti Gritti
6971c1a676
Add FIXME about Exec field
2006-12-01 23:25:14 +01:00
Marco Pesenti Gritti
165fe0b00e
Several cleanups
2006-12-01 23:23:58 +01:00
Marco Pesenti Gritti
cf156fac07
Get rid of our custom dbus config, simplify stuff
2006-12-01 21:24:24 +01:00
Marco Pesenti Gritti
9a7518f230
Get rid of dbus 0.94 compatibility, since we build dbus in jhbuild now. Yay!
2006-11-16 11:07:30 +01:00
Marco Pesenti Gritti
561169809b
Install services in user dir if dbus is recent enough.
2006-11-02 20:16:36 +01:00
Marco Pesenti Gritti
8571920734
Tweak activity search path. Use ~/Activities and XDG_DATA_DIRS/activities
2006-10-31 13:10:34 +01:00
Marco Pesenti Gritti
cb285aba06
Get running activities to work. Still hacky.
2006-10-31 12:06:28 +01:00
Marco Pesenti Gritti
92f37d31da
Several fixes, generate the service, add a test bundle
2006-10-31 10:48:45 +01:00
Marco Pesenti Gritti
b44dac1010
Don't crash if bundles dir doesn't exist in the profiles
2006-10-29 21:03:28 +01:00
Marco Pesenti Gritti
d150ac40cc
More work on bundles support
2006-10-29 19:05:09 +01:00
Marco Pesenti Gritti
87274fd89f
Initial bundle registry code
2006-10-29 18:28:48 +01:00