Marco Pesenti Gritti
57961d17bc
Leftover service initialization
2007-10-09 12:29:20 +02:00
Marco Pesenti Gritti
177ee7220a
Add $bundlepath/bin to the PATH when launching an
...
activity.
2007-10-09 12:08:03 +02:00
Marco Pesenti Gritti
6ebe910e93
In preparation of enabling rainbow by default, remove
...
the factory service from the public API. The Exec field
will now launch an activity instance.
Add a -s argument to sugar-activity to enable the single
process mode for activities that really need it.
2007-10-08 14:56:12 +02:00
Simon McVittie
d60cc6ae39
activityfactory: Cope with dbus-python 0.82.2's fix to non-default timeouts. In 0.82.1 async call timeouts were wrongly in milliseconds, in >= 0.82.2 they are correctly in seconds. Synchronous timeouts have always been in seconds.
...
This patch can be simplified once dbus-python gets into builds (#3903 ).
2007-09-27 20:57:44 +02:00
Marco Pesenti Gritti
e543eada4e
Revert "Adapt to dbus-python API change"
...
This reverts commit 7391e4a3c3
.
2007-09-27 20:53:41 +02:00
Marco Pesenti Gritti
7391e4a3c3
Adapt to dbus-python API change
2007-09-27 20:46:20 +02:00
Michael Stone
46357bdc66
Fixes #3723 , "Fix Rainbow/Sugar Integration."
2007-09-21 17:26:58 -04:00
Marco Pesenti Gritti
8aecf00060
Use logging.error or dbus errors. Launch the activity
...
even if the dbus call on the datastore to find object_id
fails.
2007-09-15 00:08:49 +02:00
Marco Pesenti Gritti
0a666e23cf
When starting an activity with activity_id but no object_id
...
try to figure out from the journal which object it was
associated to.
2007-09-14 16:16:54 +02:00
Marco Pesenti Gritti
e455611525
with the native factory which doesn't have introspection.
2007-08-30 14:42:12 +02:00
Marco Pesenti Gritti
294a5231b9
2647, if security is enabled let rainbow launch activities.
...
Also notify rainbow when active activity changes.
Patch by Ashsong, had to merge it manually.
2007-08-27 18:25:45 +02:00
Dan Winship
da6a31aa80
Revert "Notice when (non-sugar) activity factories fail to launch. #1975 "
...
This reverts commit d2aba901c3
.
The change made etoys *always* apparently fail to launch; the problem
is with sugar-native-factory, not activityfactory.py
2007-08-22 18:23:20 -04:00
Dan Winship
d2aba901c3
Notice when (non-sugar) activity factories fail to launch. #1975
...
(still need a better shell UI for when this happens)
2007-08-08 18:24:11 -04:00
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