Commit Graph

28 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
0a11ebafe8 Increase activity launching timeout. 2007-07-26 10:07:50 +02:00
Marco Pesenti Gritti
19c8532d09 Ensure activity uniquness in the shell 2007-07-20 13:15:11 +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
d7a8c5430e Make notification work from outside the shell process 2007-06-29 19:05:10 +02:00
Marco Pesenti Gritti
99e8077f59 Implement fix-copyright and fix some of them 2007-06-24 14:43:48 +02:00
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
42fef182f4 Refactor the bundle registry. Move it inside
the shell and expose the parts that should be
public to the shell dbus service.
2007-05-27 20:24:10 +02:00
Marco Pesenti Gritti
5f912f0330 Avoid to reparse the activity registry on each activity start, hrm! 2007-05-24 19:50:17 +02:00
Marco Pesenti Gritti
1cb7700136 Rename interface name to org.laptop 2007-05-22 14:49:28 +02:00
Dan Williams
28637c098e Fix activity creation ID collisions 2007-05-08 11:19:30 -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
Dan Williams
4cf8f321f0 Fix activity ID generation logic 2007-04-09 15:08:04 -04:00
Dan Williams
bc083dae5a Cut over to new PresenceService 2007-04-09 14:40:56 -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
dd6b0c0b7e Remove debug code 2007-03-23 17:46:55 +01:00
Marco Pesenti Gritti
ba242f34b7 Fix locale path handling 2007-03-23 17:43:40 +01:00
Marco Pesenti Gritti
d17e733677 Add support to read linfo.
Refactor locale to actually use gettext.
2007-03-23 17:27:31 +01:00
Tomeu Vizoso
4fbfd1625c Make create_activity_id() a public function. 2007-03-15 12:47:10 +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
John (J5) Palmieri
b21f1a3b80 workaround to fix blocking when launching activities
* set follow_name_owner_changes to true when creating a proxy for an activity
  which causes proxies to be late bound and not make a blocking call to
  start a service
2007-03-05 16:14:11 -05:00
Tomeu Vizoso
d027761209 Added create_with_object_id() func. 2007-03-02 22:22:19 +01:00
Marco Pesenti Gritti
5f288b68c9 Typo 2007-02-27 23:19:02 +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
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
9ba487fa1f Generate the id in ActivityFactory. I want it to be easy to
run activities without using the shell. Some regression in
the debug messages, which I'll fix as part of further
refactoring.
2007-02-21 20:56:14 +01:00
Marco Pesenti Gritti
ef3f861954 Fix caps 2007-02-21 20:20:36 +01:00