Commit Graph

854 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
de2a2011c6 Fix propagation of Device ssid changes 2007-02-26 13:24:21 +01:00
Marco Pesenti Gritti
6fadbde8bc Fix up propagation of the state property changes 2007-02-26 13:20:36 +01:00
Marco Pesenti Gritti
dd74d030c3 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-26 12:26:23 +01:00
Marco Pesenti Gritti
fa1d25d441 Add a device-added signal 2007-02-26 12:26:10 +01:00
Marco Pesenti Gritti
89a91954c9 More work on network devices, getting there 2007-02-26 12:23:00 +01:00
Dan Williams
88728f996e Remove debugging stuff 2007-02-25 22:27:33 -05:00
Dan Williams
a48fe93cc3 Return list of devices, not dict 2007-02-25 22:06:41 -05:00
Dan Williams
0cad068bf4 Merge 2007-02-25 19:27:37 -05:00
Dan Williams
1f91f7f7af New intro/setup screen 2007-02-25 17:53:10 -05:00
Marco Pesenti Gritti
69b48ade35 s/essid/ssid 2007-02-25 21:19:18 +01:00
Tomeu Vizoso
a9c4e4b8e5 Fix bug #920. 2007-02-25 18:03:17 +01:00
Marco Pesenti Gritti
4299dd6765 Cleanups 2007-02-25 17:51:30 +01:00
Marco Pesenti Gritti
66f26e4b8b Fixup tooltips. Still not working for the home page case, since
the active device logic is pretty broken.
2007-02-25 17:34:15 +01:00
Marco Pesenti Gritti
e803f6534f Add ssid tooltip to the home too. Not working yet. 2007-02-25 15:24:04 +01:00
Marco Pesenti Gritti
10bfe004a8 Fix strength propagation 2007-02-25 15:05:56 +01:00
Marco Pesenti Gritti
f907ceeae6 Display strength of wireless device/networks 2007-02-25 14:30:17 +01:00
Marco Pesenti Gritti
81e2e9ed8d Get rid of the old nm applet 2007-02-25 13:40:24 +01:00
Marco Pesenti Gritti
c0c753d169 Add back wep key dialog 2007-02-25 12:44:54 +01:00
Marco Pesenti Gritti
7c135804bc Handle device removal 2007-02-25 12:36:44 +01:00
Marco Pesenti Gritti
38ac42d665 Activate the network on click 2007-02-25 12:17:45 +01:00
Marco Pesenti Gritti
91722dfebc Add a tooltip with the ap name, not working for some reason 2007-02-25 11:52:14 +01:00
Marco Pesenti Gritti
06e0923687 First go at access points on the mesh view 2007-02-25 11:39:35 +01:00
Marco Pesenti Gritti
6a4170a51e Get the wireless device to show. 2007-02-25 02:28:14 +01:00
Marco Pesenti Gritti
755250947a Some work on the network devices 2007-02-25 02:00:40 +01:00
Marco Pesenti Gritti
89aa65d0f6 Move hardwaremanager out of the view to his own module 2007-02-25 01:07:05 +01:00
Owen Williams
d7eb3fd734 Fix part of bug 853, reposition and resize sugar frame after rotate 2007-02-24 13:28:04 -05:00
Tomeu Vizoso
ce800fbc66 Add hover to BuddyIcon in the Frame. 2007-02-24 14:58:38 +01:00
Tomeu Vizoso
940b50b4e6 Add hover to ClipboardIcon. 2007-02-24 14:35:31 +01:00
Tomeu Vizoso
52fc6826ab Typo. 2007-02-24 14:23:18 +01:00
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
Tomeu Vizoso
cb0d75eb59 Rename IconColor to XoColor. 2007-02-23 13:09:33 +01:00
Tomeu Vizoso
6756c00917 Added tooltips to CanvasIcon and implement popup positioning in the Frame. 2007-02-22 22:51:24 +01:00
Marco Pesenti Gritti
2c896e35b1 Pass the right parameters to HomeActivity 2007-02-22 17:55:46 +01:00
Tomeu Vizoso
8679737d86 Rename for new API. 2007-02-22 17:39:06 +01:00
Marco Pesenti Gritti
fc805d3a88 Adapt to activity api change 2007-02-22 17:27:00 +01:00
Marco Pesenti Gritti
995c59cb3e Make sugar-activity-factory just a wrapper. 2007-02-22 14:11:50 +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
Tomeu Vizoso
c9af045e43 Removed MenuIcon. 2007-02-21 21:15:08 +01:00
Tomeu Vizoso
b452b7d718 Make ClipboardIcon use the new Menu. 2007-02-21 21:12:27 +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
2627f7ff93 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-21 18:06:52 +01:00
Marco Pesenti Gritti
11264b48b2 Split factory client and server 2007-02-21 18:06:39 +01:00
Tomeu Vizoso
7be3333671 Make BuddyIcon and BuddyMenu use the new Menu. 2007-02-21 17:55:44 +01:00
Marco Pesenti Gritti
3fbc00f74a Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-21 17:54:01 +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
Tomeu Vizoso
3ce2a67304 Refactored Menu out of Popup. 2007-02-21 17:05:41 +01:00
Tomeu Vizoso
500f979302 Renamed Button to IconButton. 2007-02-21 13:01:20 +01:00
Tomeu Vizoso
bbfe539429 Renamed Rollover to Popup. 2007-02-21 10:16:03 +01:00
Marco Pesenti Gritti
0ae5f61a07 Ooops changed the installation path by mistake 2007-02-20 22:12:33 +01:00
Tomeu Vizoso
f3cf928f31 Added Rollover control. 2007-02-20 16:38:25 +01:00
Marco Pesenti Gritti
5f65056d78 Cleanups 2007-02-20 16:35:07 +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
3de915db96 Completely drop stylesheets. Move some of it inside the nm service, don't want to touch that code because it will be rewritten. 2007-02-20 15:10:18 +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
7ba58f68b0 Position the device icons around the donut 2007-02-20 12:01:58 +01:00
Marco Pesenti Gritti
e0dd1f5232 Infrastructure for the home page devices 2007-02-20 11:48:03 +01:00
Marco Pesenti Gritti
e24193c551 Get rid of stylesheets for MyIcon. 2007-02-19 17:59:29 +01:00
Marco Pesenti Gritti
d199e99514 Do not use Grid here, use units 2007-02-19 17:53:03 +01:00
Marco Pesenti Gritti
927926b49a Remove reference to a stylesheet 2007-02-16 15:38:14 +01:00
Marco Pesenti Gritti
af0a6793f3 Use Button in the zoom box 2007-02-16 15:31:27 +01:00
Marco Pesenti Gritti
c9b103dfef Refactor button a bit to support different sizes. Use it for the overlaybox. 2007-02-16 15:24:02 +01:00
Marco Pesenti Gritti
e1ef7398e2 Fix regression with screen rotation 2007-02-13 16:47:47 +01:00
Marco Pesenti Gritti
8f3fb612fd Reenable the journal. Add desktop background color. 2007-02-13 15:02:39 +01:00
Marco Pesenti Gritti
892caab0d8 Give precendence to user dir over system dir 2007-02-13 13:01:58 +01:00
Tomeu Vizoso
7e324af179 Added toolbar and button controls. 2007-02-07 18:26:39 +01:00
Marco Pesenti Gritti
c44084df09 Make the icon colors list private 2007-02-07 16:55:22 +01:00
Tomeu Vizoso
1fb786f843 Listen for button-press in the hippo.Canvas, not on the gtk.Window. 2007-02-03 21:51:39 +01:00
Tomeu Vizoso
9dcd28e190 Fix for avoiding name clashes between shell and activities when running sugar from the source dir. 2007-02-03 20:20:32 +01:00
Tomeu Vizoso
4bde802bbd Simplified system paths for running sugar from the source dir. 2007-02-03 19:41:00 +01:00
Dan Williams
a228e5297b Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-01-31 11:32:03 -05:00
Dan Williams
de2cfecf92 Use screenshot for overlay window background
Instead of requiring a compositing manager for the transparent background
of the OverlayWindow, take a screenshot and use that instead.
2007-01-31 11:31:52 -05:00
Owen Williams
165bb9213f Update look of activities donut to match wiki
If we remove current activity, set _current_activity to None
2007-01-31 11:16:33 -05:00
Tomeu Vizoso
ae5f1ed2c5 Added missing file to Makefile.am. 2007-01-27 12:58:14 +01:00
Tomeu Vizoso
9d13a9836d Added new tool sugar-install-bundle. 2007-01-27 12:54:56 +01:00
Marco Pesenti Gritti
eeaf517049 We was no more scaling icons depending on screen resolution, fix it 2007-01-27 02:45:09 +01:00
Marco Pesenti Gritti
679f6f7c46 Size property is gone 2007-01-27 01:40:54 +01:00
Marco Pesenti Gritti
fd40c138c6 Rework icon sizing (unfinished, but more or less functional) 2007-01-27 01:36:31 +01:00
Owen Williams
556085dbf8 Merge branch 'master' of git+ssh://ywwg@dev.laptop.org/git/sugar 2007-01-26 09:34:35 -05:00
Dan Williams
d35413d8b0 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-01-26 09:18:53 -05:00
Owen Williams
f2c3505f7e Fix homemodel to return properly-ordered activities (based on timestamp) 2007-01-25 21:30:37 -05:00
Marco Pesenti Gritti
698e0cb7f9 Actually disable animation 2007-01-25 19:50:00 +01:00
Marco Pesenti Gritti
aa79b1fdd6 Another volume change... 2007-01-25 18:04:47 +01:00
Marco Pesenti Gritti
81a1ac0320 Change sound level as asked by Flipo 2007-01-25 17:40:47 +01:00
Marco Pesenti Gritti
5bc623f45e Try to avoid frame flickering by keeping the window offscreen.
First go at animation impl as I was at it, off by default.
2007-01-25 17:37:27 +01:00
Marco Pesenti Gritti
ff4054742a Some refactoring. Store each panel in his own variable, since slide_in/slide_out handling will be different for each of them. 2007-01-25 12:39:44 +01:00
Marco Pesenti Gritti
1456c872bc Split EventFrame to his own file, fixup caps 2007-01-25 12:22:37 +01:00
Dan Williams
89e10838d3 Stub Alt+Tab key handler 2007-01-24 14:56:44 -05:00
Dan Williams
0c66dd5fa2 Re-enable buddy streams now that XMLRPC is fixed for python 2.5 2007-01-24 14:25:31 -05:00
Eduardo Silva
73f53395c9 Fix old Makefile entry 2007-01-21 22:26:41 -03:00
Marco Pesenti Gritti
1cadd9ac0a Handle the case where there is not an hardware manager service installed. 2007-01-22 01:47:58 +01:00
Marco Pesenti Gritti
d36e20159e Our xmlrpc implementation does not work with python 2.5.
Try/except it and log an error.
2007-01-20 13:46:32 +01:00
Marco Pesenti Gritti
4cdf88f31d Do not hardcode /usr/bin/python 2007-01-20 13:38:58 +01:00
Marco Pesenti Gritti
f95bb78a89 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-01-19 15:48:09 +01:00
Marco Pesenti Gritti
5ca728b1d3 Fix API for hippo-canvas 0.2 2007-01-19 15:47:33 +01:00
Eduardo Silva
492be2f6cd Fixed missed Makefile.am entry 2007-01-19 10:28:44 -03:00
Owen Williams
3bedd451e3 Fix redundancy 2007-01-18 21:52:48 +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
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