Commit Graph

705 Commits

Author SHA1 Message Date
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
f20348a5fd There are 4 different menu shells on the panel, check against the right one. 2007-01-16 20:32:29 +01:00
Tomeu Vizoso
93e030216c Update to new icon API. 2007-01-16 19:22:50 +01:00
Dan Williams
55a459e63d Reduce launch feedback interval to boost launch times 2007-01-16 10:44:43 -05:00
Marco Pesenti Gritti
eef96e7076 Accidentally reverted...
Revert "Revert "On edges show the frame after 1.5 seconds""

This reverts commit cbc8abbb08.
2007-01-16 14:38:51 +01:00
Marco Pesenti Gritti
31ce0dbf69 Remove some unused imports 2007-01-16 00:49:04 +01:00
Marco Pesenti Gritti
cbc8abbb08 Revert "On edges show the frame after 1.5 seconds"
This reverts commit 5e08830feb.
2007-01-15 23:31:07 +01:00
Marco Pesenti Gritti
c30451b19e Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-01-15 11:55:35 +01:00
Marco Pesenti Gritti
5e08830feb On edges show the frame after 1.5 seconds 2007-01-15 11:28:30 +01:00
Dan Williams
2d6e577a16 Enable caching of rendered icon surfaces during launch feedback 2007-01-14 18:22:43 -05:00
Dan Williams
8e614af2de Precompute color fade values; longer redraw interval
cycles be precious, don't waste them
2007-01-14 14:22:12 -05: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
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
Marco Pesenti Gritti
55339d4bea Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-01-12 14:31:38 +01:00
Marco Pesenti Gritti
4505c53abc Disable camera key until key autorepeat is fixed 2007-01-12 13:19:19 +01:00
Tomeu Vizoso
334be3331b Some more usability fixes for the clipboard. 2007-01-11 23:57:06 +01:00
Marco Pesenti Gritti
58f218133b Also slide out the frame on shutdown 2007-01-11 11:43:34 +01:00
Marco Pesenti Gritti
297381cad7 Basic implementation of the shutdown graphics 2007-01-11 11:20:08 +01:00
John (J5) Palmieri
dda16d83c0 Merge branch 'master' of git+ssh://johnp@dev.laptop.org/git/sugar 2007-01-10 16:55:22 -05:00
John (J5) Palmieri
b2bf400b67 add import for sugar.graphics.IconColor 2007-01-10 16:55:12 -05:00
Marco Pesenti Gritti
6e599ead06 Toggle console visibility 2007-01-10 17:12:23 +01:00
Marco Pesenti Gritti
84d3471613 Fix to follow the new home api 2007-01-10 15:30:21 +01:00
John (J5) Palmieri
4869f74642 add prelight on mouse enter to activity icons
* prelight uses profile.get_color()
2007-01-09 15:25:51 -05:00
Dan Williams
4853f68eaa Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-01-09 14:21:47 -05:00
Dan Williams
e14c928640 Increase launch timeout to 20s 2007-01-09 14:21:40 -05:00
Marco Pesenti Gritti
ac090fa8e7 Fix part 1 of #439. Also cleanup code a bit. 2007-01-09 20:15:18 +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
429a7ff970 Ensure to emit an activity changed signal when closing the last window. Fix #690. 2007-01-09 17:55:35 +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
018867a9a8 Remove debug print 2007-01-08 22:56:45 -05:00
Dan Williams
e7956a7bc1 Pulse icons while activity is launching
Saturate/desaturate the icon's colors on a sin curve while launching
2007-01-08 22:55:12 -05: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
764eee81e5 Adapt to olpc-hardware-manager API change 2007-01-08 15:00:22 +01:00
Marco Pesenti Gritti
3f847008af Typo 2007-01-08 14:39:09 +01:00
Marco Pesenti Gritti
17a1cb7ae4 Adapt to the new hardware manager 2007-01-08 13:09:13 +01:00
Tomeu Vizoso
1ee6b7faf0 Some clipboard fixes. 2007-01-07 23:38:33 +01:00
Eduardo Silva
a7d6251664 Merge branch 'master' of git://dev.laptop.org/sugar 2007-01-07 14:25:25 -03:00
Eduardo Silva
aad2893f62 [devconsole] - Starting like a dbus service, just open it one time 2007-01-07 14:23:53 -03:00
Dan Williams
70a5e27edd Refactor activity icon handling in the Home View donut
Give each activity icon in the donut its own class to track
launch status in preparation for pulsing launch feedback.
2007-01-07 01:18:57 -05: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
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
Eduardo Silva
74e407f9ff [devconsole] - Scrollback terminal buffer set to 1000, font size to 8 2007-01-05 17:01:29 -03:00
Marco Pesenti Gritti
62f5c2e239 Cleanup keybindings, fix color/b&w 2007-01-05 20:32:00 +01:00
Dan Williams
1ef693572f Respect return value from 'execute' 2007-01-05 12:25:21 -05: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
8b9a8e01f8 Remove obsolete file 2007-01-05 12:28:51 +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
Eduardo Silva
bcc4b4f34f Merge branch 'master' of git://dev.laptop.org/sugar 2007-01-04 16:29:14 -03:00
Eduardo Silva
15f586e61a Moving to PEP-8 2007-01-04 16:17:10 -03:00
Marco Pesenti Gritti
41ba004ca3 Fix brightness keybinding 2007-01-04 20:02:45 +01:00
Eduardo Silva
3dd0def247 [dev-console] - Interfaces fixed: memphis, logviewer 2007-01-03 23:51:08 -03:00
Eduardo Silva
e28a1b27ee [dev-console] - New internal structure, and new XO interface 2007-01-02 20:24:44 -03:00
Eduardo Silva
80cd6af44c New log viewer, no more tabs 2007-01-01 22:39:01 -03: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
5512f8461b Re-enable buddy icons in rollover menus 2006-12-21 02:10:21 -05: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
e023d1c345 Get back mesh view to work. It got broken when refactoring bundles. 2006-12-20 13:58:29 +01:00
Dan Williams
f63456c089 Tell activities to start after launching them 2006-12-19 16:35:24 -05:00
Dan Williams
cebf9cfe33 Use correct DBus session bus when launching activities 2006-12-19 16:00:50 -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
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
09b096d4d0 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-12-17 00:02:38 +01:00
Tomeu Vizoso
eba35406c5 Usability fixes for dnd on the clipboard 2006-12-16 23:55:22 +01:00
Marco Pesenti Gritti
6c2607d000 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-12-14 23:38:32 +01:00
Dan Williams
72b5383214 Export session bus address for testing purposes 2006-12-14 17:21:25 -05:00
Marco Pesenti Gritti
cc74954770 Remove the terminal keybinding, terminal is now in the devel console 2006-12-14 17:03:11 +01:00
Tomeu Vizoso
eade4bff03 Improve error reporting when a non-activity window is opened. 2006-12-14 16:45:52 +01:00
Tomeu Vizoso
cc39ef169f Clipboard fixes. 2006-12-14 13:50:42 +01:00
Tomeu Vizoso
e68f0e00e9 Added c&v and dnd support to the clipboard. 2006-12-13 22:36:05 +01:00
Owen Williams
e54c40301c Added configuration file support to terminal 2006-12-12 00:53:56 +01:00
Dan Williams
fefe201d24 Patch from Owen Williams:
Switch terminal colors to black-on-white for readability, especially in
no-backlight situations.
2006-12-07 12:55:56 -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
7152755c5e Remove more unused old activities stuff 2006-12-01 23:11:56 +01:00
Marco Pesenti Gritti
518d2d61d0 Remove unused old registry code 2006-12-01 23:09:02 +01:00
Marco Pesenti Gritti
ba5d1b4804 Finish up porting to the new registry 2006-12-01 23:04:14 +01:00
Marco Pesenti Gritti
2b97505577 Switch to the new registry 2006-12-01 22:40:02 +01:00
Marco Pesenti Gritti
b5b9d9d5f1 Remove more old activities code 2006-12-01 22:33:00 +01:00
Marco Pesenti Gritti
6169f603e5 Remove the old activities code path from here 2006-12-01 22:23:12 +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
Dan Williams
880842dd86 don't kill the shell when a non-activity window is brought to front
(cherry picked from 5f03e1deb014d91af7deea5051011a67bc2dde5c commit)
2006-11-17 15:31:53 -05:00
Dan Williams
0c47294dbd Merge 2006-11-16 16:55:58 -05:00
Dan Williams
a029157488 Remap keys to match OLPC keyboard and use Shift+Alt for non-OLPC machines 2006-11-16 16:50:36 -05:00
Eduardo Silva
9031ebf503 developer console window size fixes 2006-11-16 14:48:13 +01:00