Commit Graph

80 Commits

Author SHA1 Message Date
Tomeu Vizoso
0fe529b78a Avoid multiple simultaneous launches of the same activity. 2007-03-15 16:21:37 +01:00
Marco Pesenti Gritti
d041eadf92 Give up on the save/restore logic, it seem too unpredictable to be clear to the user.
Try a simpler logic where the frame state is reset when switching zoom levels.
2007-03-13 00:19:21 +01:00
Marco Pesenti Gritti
2c468110ba Go back to the home page when all activities are closed. 2007-03-12 22:47:17 +01:00
Marco Pesenti Gritti
3bfd94899a Bunch of fixes 2007-03-12 22:29:11 +01:00
Marco Pesenti Gritti
bf80cb55b9 Some cleanups in the Shell. Add a way to save/restore the frame state. 2007-03-12 20:18:55 +01:00
Marco Pesenti Gritti
0984938f95 New animation API. Start rewriting the frame slidein slideout logic.
(Use the keys for now, mouse is not working)
2007-03-12 12:39:29 +01:00
Marco Pesenti Gritti
1992a8a2d8 Disable journal automatic startup for now 2007-03-06 03:03:28 +01:00
Marco Pesenti Gritti
89aa65d0f6 Move hardwaremanager out of the view to his own module 2007-02-25 01:07:05 +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
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
Tomeu Vizoso
bbfe539429 Renamed Rollover to Popup. 2007-02-21 10:16:03 +01:00
Tomeu Vizoso
f3cf928f31 Added Rollover control. 2007-02-20 16:38:25 +01:00
Marco Pesenti Gritti
ee66b2237d More work to get rid of stylesheets, some regressions. 2007-02-20 14:57:50 +01:00
Marco Pesenti Gritti
8f3fb612fd Reenable the journal. Add desktop background color. 2007-02-13 15:02:39 +01:00
Marco Pesenti Gritti
1456c872bc Split EventFrame to his own file, fixup caps 2007-01-25 12:22:37 +01:00
Marco Pesenti Gritti
1143623d35 Factor out global keys handling from the shell 2007-01-18 15:04:56 +01:00
Marco Pesenti Gritti
704ad1c886 Reenable camera 2007-01-17 22:38:01 +01:00
Marco Pesenti Gritti
58b7e4108d Add support for screen rotation. 2007-01-13 23:08:21 +01:00
Marco Pesenti Gritti
f530f5e276 Tweak sounds level a bit as per Flipo suggestion 2007-01-13 00:21:58 +01:00
Marco Pesenti Gritti
4505c53abc Disable camera key until key autorepeat is fixed 2007-01-12 13:19:19 +01:00
Marco Pesenti Gritti
297381cad7 Basic implementation of the shutdown graphics 2007-01-11 11:20:08 +01:00
Marco Pesenti Gritti
6e599ead06 Toggle console visibility 2007-01-10 17:12:23 +01:00
Marco Pesenti Gritti
5e7735cbae Improve keybindings, fix #575 2007-01-09 18:23:35 +01:00
Marco Pesenti Gritti
987386ddd1 s/=/equal 2007-01-09 18:11:14 +01:00
Marco Pesenti Gritti
ca4704787e Work around the unfocusable terminal bug. For some reason I can't open a terminal directly from the key event. 2007-01-09 16:57:43 +01:00
Marco Pesenti Gritti
1bb37c34de Correct keyboard brightness keycode 2007-01-09 15:31:01 +01:00
Dan Williams
946a8f1b42 Misc shell activity launch fixes
also switch to home screen when launching an activity so we can
get feedback on launch status
2007-01-08 17:05:55 -05:00
Marco Pesenti Gritti
cae78d7041 Rework the console to use autoactivation, move it in services/ 2007-01-08 18:06:59 +01:00
Marco Pesenti Gritti
17a1cb7ae4 Adapt to the new hardware manager 2007-01-08 13:09:13 +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
8cea4c5fc6 Track activities while they launch
HomeModel now uses the activity ID to track activities, and creates
the HomeActivity object when the activity is launched, not when
its window appears.
2007-01-06 19:31:19 -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
62f5c2e239 Cleanup keybindings, fix color/b&w 2007-01-05 20:32:00 +01:00
Marco Pesenti Gritti
be631afee5 Comment out .5 keys for now, they break stuff and don't work on the keyboard. 2007-01-05 12:57:42 +01:00
Marco Pesenti Gritti
2c923b9532 Shutdown when pressing the power button on the olpc. 2007-01-05 12:23:28 +01:00
Marco Pesenti Gritti
5c36c6f274 Remove the shutdown graphical button 2007-01-05 12:20:55 +01:00
Marco Pesenti Gritti
62eada2ee0 Implement audio controls 2007-01-05 03:21:55 +01:00
Marco Pesenti Gritti
dda100fca6 Stub volume control code 2007-01-05 02:19:52 +01:00
Marco Pesenti Gritti
41ba004ca3 Fix brightness keybinding 2007-01-04 20:02:45 +01:00
Marco Pesenti Gritti
a4e1b6b3ff Fix handling of the no activities case 2006-12-24 15:58:53 +01:00
Marco Pesenti Gritti
b3c2368eac Complete the shell model/view split, finally 2006-12-24 15:39:00 +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
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
b960533fb4 Convert shared activity type to an activity bundle service name for activation via DBus 2006-12-20 23:42:16 -05: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