Commit Graph

21 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
f6239d6df8 Handle exceptions in the activity constructor so that
log messages ends up in the activity log rather than
in shell/journal.
2007-09-03 23:42:17 +02:00
Marco Pesenti Gritti
3617dd1635 Cleanup Bundle to not require SUGAR_PREFIX to
be set. Also start using properties rather than
set/getters.
2007-09-03 23:08:49 +02:00
Tomeu Vizoso
4c812eb210 Set ACTIVITY_ROOT environment variable. 2007-08-13 21:14:25 +02:00
Marco Pesenti Gritti
1d4112a882 Set glib program name and application name.
Better way of importing ltihooks.
Several cleanups.
2007-06-29 22:11:28 +02:00
Marco Pesenti Gritti
99e8077f59 Implement fix-copyright and fix some of them 2007-06-24 14:43:48 +02:00
Marco Pesenti Gritti
fc53bf8667 Support icons inside the activity 2007-05-31 11:30:16 +02:00
Marco Pesenti Gritti
1cb7700136 Rename interface name to org.laptop 2007-05-22 14:49:28 +02:00
Marco Pesenti Gritti
141072c9e9 Set a default title for the activity 2007-05-14 19:56:06 +02:00
Marco Pesenti Gritti
d49b0ed6fb Use sys.path.append, not insert 2007-04-15 12:26:50 +02:00
Mike C. Fletcher
2ca12e9da2 Overall roles and operation of the activity classes.
Note on return value for factory service.
2007-04-14 01:17:59 -04:00
Dan Williams
894fcea9fc Remove get_default_type() and bundle default types; obsolete 2007-04-11 15:08:40 -04: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
e25c95ebaf My brain is dead, it really is. Actually setup gettext on the server... 2007-03-23 17:57:36 +01:00
Marco Pesenti Gritti
d3493aea9e Smarter sugar-activity which can make itself the factory and open
one instance.
2007-03-09 16:35:53 +01:00
Marco Pesenti Gritti
3b7670a364 Don't present from inside the Activity constructor 2007-02-24 17:40:18 +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
995c59cb3e Make sugar-activity-factory just a wrapper. 2007-02-22 14:11:50 +01:00
Marco Pesenti Gritti
0d7bdeb20a Improve handle marshalling. Add an uri to the handle. 2007-02-22 00:41:26 +01:00
Marco Pesenti Gritti
5cf2b49cc1 Add an handle argument to the factory and to the activity constructor. 2007-02-22 00:07:08 +01:00
Marco Pesenti Gritti
3d3c730f22 Rename the class 2007-02-21 18:09:02 +01:00
Marco Pesenti Gritti
11264b48b2 Split factory client and server 2007-02-21 18:06:39 +01:00