Commit Graph

769 Commits

Author SHA1 Message Date
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
Tomeu Vizoso
f50d9f5f9a Added icon, title and preview for clipboard objects. Also allow for opening docs and rtfs from the web. 2007-01-05 21:13:46 +01: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
2db2ae5312 Split model/view in the activities donut.
Provide some infrastructure for Alt+Tab implementation.
2006-12-24 12:19:24 +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
Dan Williams
e586cd66c0 Add activity objects to the data store 2006-12-20 14:04:52 -05: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
Tomeu Vizoso
e68f0e00e9 Added c&v and dnd support to the clipboard. 2006-12-13 22:36:05 +01:00
Marco Pesenti Gritti
474313ffde Fix dev command 2006-12-13 01:37:03 +01:00
Dan Williams
039ac19432 datastore fixes 2006-12-11 17:25:48 -05:00
Dan Williams
ff53fdc185 Add a simple prototype data store 2006-12-11 07:55:01 -05: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
Marco Pesenti Gritti
78c538535b Fixup makefiles 2006-12-01 23:30:32 +01: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
7152755c5e Remove more unused old activities stuff 2006-12-01 23:11:56 +01:00
Marco Pesenti Gritti
6bdda47901 Since service name and bundle id corrisponds, there
is no need to query the register anymore.
2006-12-01 22:22:09 +01:00
Marco Pesenti Gritti
833e7633e9 Leftover 2006-12-01 21:25:14 +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
0e2d9b496a Remove unused method 2006-12-01 20:47:40 +01:00
Marco Pesenti Gritti
86770c93fd Forgot to add file 2006-11-27 17:43:44 +01:00
Marco Pesenti Gritti
cb70561dcd Add a simple bundle builder, based on the setup.py we
have been using for btest-1
2006-11-27 14:56:48 +01:00
Eduardo Silva
d51031d882 New developer-console 2006-11-16 14:47:07 +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
Tomeu Vizoso
59d57a03d9 First implementation of ClipboardService. Implement pdf viewing and downloading via ClipboardService. 2006-11-15 13:56:19 +01:00
Marco Pesenti Gritti
d3e99e76ef Add a shutdown button 2006-11-11 23:51:16 +01:00
Tomeu Vizoso
61f24de748 Reverting clipboard changes pushed by mistake. These are commits 23565cfd48 and a7e4092b0e. 2006-11-10 14:14:15 +01:00
Tomeu Vizoso
a7e4092b0e Created SugarDownloadManager and ClipboardService's wrapper. Show and hide the frame when adding an object to the clipboard. 2006-11-05 19:52:46 +01:00
Tomeu Vizoso
b9f75c1472 Merge branch 'master' of git://dev.laptop.org/sugar 2006-11-05 18:51:05 +01:00
Marco Pesenti Gritti
ee62ed69b4 Pick up system bundles even if xdg dir env is undefined 2006-11-05 18:14:00 +01:00
Tomeu Vizoso
2ad31b35d1 Merge branch 'master' of git://dev.laptop.org/sugar 2006-11-05 10:52:11 +01:00
Marco Pesenti Gritti
4b328c8417 Less invasive solution for the reverted commit 2006-11-05 03:41:44 +01:00
Marco Pesenti Gritti
984035f933 Revert "Fixup services path with the various installed/uninstalled 0.94/0.95 combinations. What a pain!"
This reverts commit 6d84d886e1.
2006-11-05 03:33:49 +01:00
Marco Pesenti Gritti
6d84d886e1 Fixup services path with the various installed/uninstalled 0.94/0.95 combinations. What a pain! 2006-11-05 03:25:51 +01:00