Commit Graph

129 Commits

Author SHA1 Message Date
Tomeu Vizoso
a2e5b9308e Rename color property in CanvasIcon to xo-color and added properties fill-color and stroke-color. 2007-02-23 17:08:37 +01:00
Marco Pesenti Gritti
fc805d3a88 Adapt to activity api change 2007-02-22 17:27:00 +01: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
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
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
0556d5f51f Fix caps 2007-02-22 00:14:00 +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
Marco Pesenti Gritti
70da5fa7bd More cleanups 2007-02-21 20:15:39 +01:00
Marco Pesenti Gritti
3fa653ed63 Split out Activity client/server 2007-02-21 19:39:11 +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
Marco Pesenti Gritti
7db372cc1c Make bundle registry a singleton. Get the object path from the registry. 2007-02-21 17:53:44 +01:00
Marco Pesenti Gritti
f5b13b716e Do not expose the service names from Activity.
This create quite a bit of duplication, but I have to start somewhere cleaning this mess :/
2007-02-21 17:28:49 +01:00
Marco Pesenti Gritti
7e96b1afb7 Get rid of the old grid. Never use absolute positioning. 2007-02-20 16:23:49 +01:00
Marco Pesenti Gritti
39678b8bb8 Patch by Owen Williams to accept custom MANIFEST filename. 2007-02-08 22:27:03 +01:00
Marco Pesenti Gritti
c44084df09 Make the icon colors list private 2007-02-07 16:55:22 +01:00
Marco Pesenti Gritti
292c648612 Use MANIFEST instead of MANIFEST-OLPC.
Package activity/ and setup.py stuff by default.
2007-02-07 11:33:24 +01:00
Tomeu Vizoso
9b6d7c6292 Simple fix for getting the activities dir. 2007-02-03 11:10:49 +01:00
Marco Pesenti Gritti
6527077928 Do not look in the icon theme for activity icons 2007-01-31 15:00:13 -05:00
Tomeu Vizoso
9d13a9836d Added new tool sugar-install-bundle. 2007-01-27 12:54:56 +01:00
Marco Pesenti Gritti
4cdf88f31d Do not hardcode /usr/bin/python 2007-01-20 13:38:58 +01:00
Marco Pesenti Gritti
4c07e090fa Get the icon from activity not root 2007-01-12 21:48:06 +01:00
Marco Pesenti Gritti
6971ddb9a4 Support for activity icons inside the bundle.
Patch by Gonzalo Odiard <godiard@gmail.com>
Modified by me to allow icon theme to override the bundle one.
2007-01-12 21:35:53 +01:00
Dan Williams
fb716ae046 Make activity launching asynchronous
The ActivityFactory create() method now returns a handler GObject,
which callers may attach signals to to receive success and error
signals from the result of the activity launch request.
2007-01-07 00:04:30 -05:00
Dan Williams
b27257fadb Make shell responsible for activity ID generation
Enables tracking of activity launch throughout the whole process, so that
the shell can be aware of the activity ID from the moment the activity
is started by the shell, until the activity becomes active.  Previously,
the activity itself generated its own ID and told the shell what it was.
2007-01-06 16:29:13 -05:00
Marco Pesenti Gritti
e8b8e0e367 Do not try to connect to notify::title, for some reason it breaks the browser.
It was only used for the journal anyway.
2007-01-05 11:18:24 +01:00
Marco Pesenti Gritti
53b14ad081 Comment out the journal stuff for now. 2007-01-05 10:58:29 +01:00
Marco Pesenti Gritti
0d1e07d9c3 Split ActivityHost in model/view. Refactor accordingly. 2006-12-24 14:35:02 +01:00
Marco Pesenti Gritti
db6f615198 Start the journal activity by default 2006-12-24 02:59:20 +01:00
Marco Pesenti Gritti
dce69ef995 Refactor a bit to simply __init__ 2006-12-24 02:51:37 +01:00
Marco Pesenti Gritti
d56ccc60e7 Update help message, thanks again to erikos 2006-12-21 14:21:58 +01:00
Marco Pesenti Gritti
95a878036c Typo, thanks to erikos! 2006-12-21 14:17:44 +01:00
Marco Pesenti Gritti
5623c8a3b1 Change the Activity execute method to add a result boolean (handle/not handled).
When the camera key is pressed the Shell send and command to the active activity,
if that's not handled than it startup org.laptop.CameraActivity.
2006-12-21 12:37:02 +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
Marco Pesenti Gritti
99cce220cd Get the default type from env, clean stuff a bit 2006-12-20 13:43:54 +01:00
Marco Pesenti Gritti
ab3535e6fd Guard against multiple activities start 2006-12-20 13:24:37 +01:00
Marco Pesenti Gritti
1c1fd35541 Present the window only after start/join 2006-12-20 00:53:27 +01:00
Marco Pesenti Gritti
6b09475b99 Add a start method to the activity. It's parallel/alternative to join. 2006-12-18 14:24:28 +01:00
Marco Pesenti Gritti
ad31376488 Add docstring, missing import 2006-12-18 14:05:34 +01:00
Marco Pesenti Gritti
956256313a Get the activity type from env, rather than requiring set_type 2006-12-18 13:56:41 +01:00
Marco Pesenti Gritti
e0bd5d1df4 Cleanup activity factory startup, remove duplicated argument from the Exec field 2006-12-18 13:47:49 +01:00
Marco Pesenti Gritti
474313ffde Fix dev command 2006-12-13 01:37:03 +01:00
Owen Williams
a21af251e1 Added support for MANIFEST-OLPC files in bundlebuilder 2006-12-04 16:06:12 -05:00
Owen Williams
b8f44c00c7 Added support for MANIFEST-OLPC files in bundlebuilder 2006-12-04 16:05:09 -05:00
Justin Gallardo
b9f9ef0fe9 Changed all tabs to 4 spaces for python style 2006-12-04 11:12:24 -08:00