Commit Graph

1328 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
46d3c1b9c9 Get rid of the activity menu. 2007-04-27 11:33:18 +02:00
Marco Pesenti Gritti
9ccda70199 Refactor the window API a bit to make it more flexible. 2007-04-27 10:51:19 +02:00
Marco Pesenti Gritti
e49146752f More work on the new graphics API. 2007-04-26 11:31:41 +02:00
Guillaume Desmottes
83b712bcb1 Fix properties bugs 2007-04-25 19:35:08 +02:00
Tomeu Vizoso
ec8bb21936 Implement installation of downloaded activities. 2007-04-20 20:12:49 +02:00
Dan Williams
d450ea2dd6 Clean up buddy activity changed signals in MeshModel 2007-04-20 13:56:46 -04:00
Dan Williams
e46d31e0f4 Fix current-activity-changed signals in BuddyModel 2007-04-20 12:38:04 -04:00
Tomeu Vizoso
d223579f22 Recognize images dropped into the clipboard as such. 2007-04-18 18:52:46 -03:00
Tomeu Vizoso
b7030a74dd Drag images out of mozilla. 2007-04-17 16:53:34 -03:00
Marco Pesenti Gritti
92416d1519 Fix typo in the fallback code path 2007-04-17 18:17:26 +02:00
Marco Pesenti Gritti
231ea23981 Fix includes 2007-04-16 18:07:52 +02:00
Marco Pesenti Gritti
f67a243653 Get rid of the notebook which was causing strange flickering. 2007-04-16 12:26:17 +02:00
Marco Pesenti Gritti
1b84784d26 Fix initial scale 2007-04-16 12:01:35 +02:00
Marco Pesenti Gritti
9ffd050302 Update the makefile 2007-04-16 11:40:56 +02:00
Marco Pesenti Gritti
f55a19b73c Implement the transition between zoom view. 2007-04-16 11:40:28 +02:00
Marco Pesenti Gritti
5bfc64d9be Always center the owner in the home views 2007-04-16 10:36:15 +02:00
Dan Williams
b2e0f257ce Fix buddy icon rollovers; wasn't getting activity ID correctly from HomeActivity object 2007-04-15 16:51:01 -04:00
Marco Pesenti Gritti
218f9e10ae Load the modules from .la if the normal import fails 2007-04-15 15:06:04 +02:00
Marco Pesenti Gritti
2910d23716 Delay importing the sugar module 2007-04-15 14:49:24 +02:00
Marco Pesenti Gritti
f78b23cf82 Fix messed up paths 2007-04-15 12:16:06 +02:00
Dan Williams
66bbe56df9 Ignore reply from share() (hack to quiet traceback, but unused anyway) 2007-04-13 16:58:12 -04:00
Dan Williams
559c75a317 Fix friending somebody for real this time 2007-04-13 14:20:05 -04:00
Dan Williams
982c112155 Make debugging tp-gabble easier
When the environment variable TP_DEBUG is set, the sugar shell
will print out the session bus address it's using, then poll that bus
every 5 seconds waiting for a gabble instance to appear.  This allows
you to launch gabble in another window for debugging with LM_DEBUG and
gdb, which wasn't possible before because the sugar emulator uses
a custom session bus.
2007-04-13 13:46:07 -04:00
Dan Williams
924650750e Re-enable the Share action in the frame 2007-04-12 14:44:38 -04:00
Dan Williams
894fcea9fc Remove get_default_type() and bundle default types; obsolete 2007-04-11 15:08:40 -04:00
Marco Pesenti Gritti
eeb09294d8 Revert "Start reworking the cliboard services to use the types registry."
This reverts commit fcb57779a2.
2007-04-11 18:22:52 +02:00
Marco Pesenti Gritti
fcb57779a2 Start reworking the cliboard services to use the types registry. 2007-04-11 16:14:58 +02:00
Dan Williams
defd9f76e3 Convert icon data to python string before exposing it 2007-04-10 22:24:31 -04:00
Dan Williams
117934f709 Fix making someone your friend 2007-04-10 22:22:58 -04:00
Dan Williams
c85985b55b Deal with no NetworkManager 2007-04-10 21:06:29 -04:00
Marco Pesenti Gritti
8c391386d7 Fix the buddy picture 2007-04-10 22:45:36 +02:00
Dan Williams
6710618a43 Use public keys rather than nicknames to differentiate buddies 2007-04-10 15:55:55 -04:00
Dan Williams
89ec9195e9 Fix for GObject-based PS buddy objects 2007-04-10 14:56:34 -04:00
Dan Williams
bf9a375836 Send correct object in signal emission 2007-04-10 14:49:43 -04:00
Mike C. Fletcher
8302be4544 A few more docstrings 2007-04-09 23:56:14 -04:00
Mike C. Fletcher
3f10890319 Docstrings for modules all over sugar and shell.
These are just the doc strings I created as I was spelunking
through to see how Sugar manages launching applications.  The
resulting auto-documentation is neither polished or finished,
but it should help people reading the code somewhat.

There are a few minor code cleanups:

  * activityhandle (replacing C idiom for initialisation with
    a Python one)
  * bundle registry (using a parameterised directory name so
    that it shows up in the documentation)
  * validate_activity_id function, use isinstance( item, (str,unicode))
    for the query, rather than two separate checks with isinstance
2007-04-09 22:47:37 -04:00
Dan Williams
508a59b99b More Shell fixes for new PS 2007-04-09 16:30:30 -04:00
Dan Williams
76a0f45aa8 More new PS fixes 2007-04-09 16:05:32 -04:00
Dan Williams
3eeec9bf07 Remove references to obsolete p2p.Stream classes 2007-04-09 15:07:40 -04:00
Dan Williams
bc083dae5a Cut over to new PresenceService 2007-04-09 14:40:56 -04:00
Marco Pesenti Gritti
2f2f756939 Forgot to add this 2007-04-08 19:24:02 +02:00
Marco Pesenti Gritti
09304e8e5a Accept raw X windows in the shell 2007-04-08 19:20:59 +02:00
Marco Pesenti Gritti
5343752c35 Make browser a modules inside sugar library 2007-04-07 13:17:36 +02:00
Marco Pesenti Gritti
2d08ff0163 Move private extensions out of the lib, inside the shell. 2007-04-07 00:08:54 +02:00
Dan Williams
1d25366c4f Don't show Ad-Hoc mode networks in mesh view 2007-04-06 15:50:57 -04:00
Marco Pesenti Gritti
c9c1117872 Remove the threadframe stuff which went unused. 2007-04-06 20:13:37 +02:00
Dan Williams
9c0e0783db Fix execute command when using the new dbus-python 2007-04-06 10:27:14 -04:00
Marco Pesenti Gritti
49ff2f86de Move not shell specific scripts in bin 2007-04-06 15:22:22 +02:00
Tomeu
5990e5bfd1 Return TRUE again in drag_motion_cb for accepting dnd drops. 2007-04-05 17:22:27 +02:00
Marco Pesenti Gritti
bd3e084805 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-05 12:45:57 +02:00
Marco Pesenti Gritti
3a90cef5b6 Rework corner detection to use 1 pixel window. 2007-04-05 12:44:03 +02:00
Dan Williams
396ca0e64e Don't hiccup on NM start/stop 2007-04-05 00:22:13 -04:00
Dan Williams
4b4cf9673c Cleanup of sugar device handling code 2007-04-04 23:48:09 -04:00
Marco Pesenti Gritti
e179dbae14 Increase timeouts a bit 2007-03-30 01:40:05 +02:00
Marco Pesenti Gritti
87f1e9bcc9 Suspend the mesh view when it's not active so that
we don't keep blinking the icon in the background.
2007-03-30 01:08:44 +02:00
Dan Williams
6c9eb64de3 Handle device addition and activation correctly 2007-03-29 15:02:36 -04:00
Dan Williams
83a86e0ea1 Add a 'device activating' signal 2007-03-29 15:01:46 -04:00
Dan Williams
40f4c81d06 Make the mesh icon pulse when activated and activating 2007-03-29 15:00:27 -04:00
Dan Williams
d5826d1934 fix typo 2007-03-29 14:41:41 -04:00
Dan Williams
552af8aa56 Fix deprecation warning 2007-03-29 11:48:35 -04:00
Marco Pesenti Gritti
f59fab783f Change the feedback for connected/connecting/disconnected access point,
using two different types of pulsing.
2007-03-29 17:25:47 +02:00
Dan Williams
d0fdf59486 Really add mesh device bits 2007-03-29 10:10:34 -04:00
Dan Williams
1352e5be94 Mesh network device support 2007-03-28 17:38:47 -04:00
Dan Williams
a24dd155b4 Make activating non-802-11-wireless devices work 2007-03-28 17:37:46 -04:00
Dan Williams
32fa3dc65b Fixup for mesh devices
- Understand mesh devices
- Don't send device signals unless device is fully initialized
2007-03-28 16:39:28 -04:00
Tomeu Vizoso
1d493919a2 Fix old variable name. 2007-03-28 17:33:50 +02:00
Marco Pesenti Gritti
bf805bfa2f Disable the presence service. You can reenable it by just
changing the _ENABLE var to True.
2007-03-28 12:17:34 +02:00
Marco Pesenti Gritti
1037fe6ca4 Disable invites 2007-03-28 11:58:47 +02:00
Marco Pesenti Gritti
2a36387ad7 Remove some unused imports 2007-03-28 11:42:50 +02:00
Marco Pesenti Gritti
b6a1445573 Kill a lot of old old unused code 2007-03-28 11:40:22 +02:00
Marco Pesenti Gritti
56b97575a9 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-26 16:40:29 +02:00
Marco Pesenti Gritti
0896b90fd4 Fix function signature 2007-03-26 16:38:19 +02:00
Dan Williams
824cec3910 Fix typo in Server config section name 2007-03-26 07:49:46 -04:00
Marco Pesenti Gritti
a11809cccc Actually setup translations in the shell.
Fix the it translation to use utf8.
2007-03-23 15:05:42 +01:00
Marco Pesenti Gritti
27414754a1 Pass an uri to the activity 2007-03-22 16:55:07 +01:00
Marco Pesenti Gritti
2ab9cd04dc Remove the overlay chat button since it doesn't really work. 2007-03-22 16:34:33 +01:00
Marco Pesenti Gritti
1420265d06 Autolaunch etoys projects 2007-03-22 15:46:11 +01:00
Tomeu Vizoso
0bf1d579e2 Fix for removing items from the clipboard. 2007-03-20 12:58:52 +01:00
Tomeu Vizoso
5104e24ffa Hack for detecting an onDisk format. Need to improve the clipboard API for the right fix. 2007-03-18 13:16:09 +01:00
Tomeu Vizoso
440baae7d9 Show and hide the frame when an object is added to the clipboard. 2007-03-18 12:56:11 +01:00
Tomeu Vizoso
57b617ef25 Don't grab the keyboard on press and only react to presses (temporary until trial1). 2007-03-17 20:46:44 +01:00
Tomeu Vizoso
ebe043a4d2 Refactored global key handling and frame logic. 2007-03-17 14:30:23 +01:00
Owen Williams
de80cf06de Set mode to black and white when brightness is zero.
Also, reverse Alt-F5 and Alt-F8 to make them more sensible
2007-03-16 16:42:43 -04:00
Marco Pesenti Gritti
c9f28b7317 Rework the emulator. Move matchbox in the shell. 2007-03-16 18:12:47 +01:00
Dan Williams
64a67e28f6 Disable sharing for trial1 2007-03-16 10:00:16 -04:00
Tomeu Vizoso
c0cd2cf9a6 Prevent activity launching being locked by error during launch. 2007-03-16 14:04:49 +01:00
Tomeu Vizoso
e8a21bf6a0 Use color.HTMLColor instead of the color string. 2007-03-16 11:53:22 +01:00
Dan Williams
b45c810ca1 Make access points have persistent colors 2007-03-15 22:03:42 -04:00
Dan Williams
dee3953e34 Add property for mode 2007-03-15 22:00:35 -04:00
Dan Williams
0e1ec97663 Add accessor for mode 2007-03-15 22:00:22 -04:00
Dan Williams
902fcd069b Expose AP capabilities 2007-03-15 16:37:28 -04:00
Dan Williams
85f8ef218d Rearrange network device handling bits 2007-03-15 16:37:15 -04:00
Dan Williams
672d06d85e Add accessor for AP capabilties 2007-03-15 16:17:08 -04:00
Tomeu Vizoso
d001c70443 Tweaked sizes of home xo icon, donut radius and device icons. 2007-03-15 19:19:38 +01:00
Tomeu Vizoso
0fe529b78a Avoid multiple simultaneous launches of the same activity. 2007-03-15 16:21:37 +01:00
Dan Williams
b4e4b3875a Better removal of intro video chooser 2007-03-14 14:44:58 -04:00
Dan Williams
f2dcadaff5 Revert "Remove picture selection from intro screen for now"
This reverts commit b97edec4db.
2007-03-14 14:43:53 -04:00
Dan Williams
93e9d164c0 Auto-open some downloaded files 2007-03-14 14:43:42 -04:00
Dan Williams
b97edec4db Remove picture selection from intro screen for now 2007-03-14 10:06:45 -04:00
Tomeu Vizoso
6227b96215 Support selection of the clipboard object to be pasted. 2007-03-14 13:32:05 +01:00
Dan Williams
8b4ccf3eb1 Cleanup clipboard D-Bus API
- The clipboard now determines each objects unique id and
    returns it from add_object()
- The ID is opaque to the client and should not be used/accessed
    other than with the clipboard service
- Add object type hints for dbus-python
- Sugar clipboard bindings for get_object() now return a dict rather
    than a tuple
- ClipboardIcon now retrieves the real file path and uses that
    to open the file
- Adapt sugar bits to clipboard changes
2007-03-14 00:50:06 -04:00
Dan Williams
bfe04c2073 Add copyright header 2007-03-13 23:57:29 -04:00
Marco Pesenti Gritti
4960ddae25 Adapt to the new hippo canvas sizing API 2007-03-14 03:19:24 +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
2bd609e5fd Cleanup 2007-03-12 19:14:02 +01:00
Marco Pesenti Gritti
ed454220e6 Cleanup 2007-03-12 19:13:09 +01:00
Marco Pesenti Gritti
ce91f2df99 Force hiding when running an activity even if the user hover the frame again. 2007-03-12 16:57:52 +01:00
Marco Pesenti Gritti
978965bfa8 Fix a race 2007-03-12 16:30:53 +01:00
Marco Pesenti Gritti
0d90a7b4e7 More fixes to the hover logic.. 2007-03-12 16:22:03 +01:00
Marco Pesenti Gritti
49b0db642e Fix hover checking logic 2007-03-12 16:09:41 +01:00
Eduardo Silva
84f6bdd0c9 Battery status update 2007-03-12 11:02:36 -04:00
Marco Pesenti Gritti
acaac29906 Add the frame when starting an activity 2007-03-12 14:54:55 +01:00
Marco Pesenti Gritti
540cef4b0d Implement modes, some fixes 2007-03-12 14:48:02 +01:00
Marco Pesenti Gritti
a3a6d0cd89 Implement mouse logic 2007-03-12 14:05:50 +01:00
Marco Pesenti Gritti
c4fbb41bcd Complete the key logic 2007-03-12 13:35:07 +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
158d933a10 Complete the UI for the battery 2007-03-12 10:51:48 +01:00
Dan Williams
a1411040f1 Make frame animation faster and smoother 2007-03-11 21:39:00 -04:00
Dan Williams
f5c60b44c1 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-09 15:36:20 -05:00
Marco Pesenti Gritti
cc7ad2d42b Missing imports 2007-03-09 17:43:55 +01:00
Marco Pesenti Gritti
b8cc8ec68f Drop support for running from source dir. As it is now it's just confusing.
Will have to figure out the exact needs and rewrite in a better way.
2007-03-09 17:38:05 +01:00
Marco Pesenti Gritti
6c5d28ecf5 Save also the sugar session display and use it in sugar-activity. 2007-03-09 17:29:03 +01:00
Marco Pesenti Gritti
a5d303f9ff Smarter bundle name matching 2007-03-09 16:55:18 +01:00
Marco Pesenti Gritti
d3493aea9e Smarter sugar-activity which can make itself the factory and open
one instance.
2007-03-09 16:35:53 +01:00
Dan Williams
f1aa2cf11a Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-09 10:18:37 -05:00
Dan Williams
723bd21e77 Require jpeg format buddy icon
Since the intro screen ensures that a buddy icon exists and
is in jpg format, we can simplify the buddy icon code in the
ShellOwner object.
2007-03-09 10:18:23 -05:00
Marco Pesenti Gritti
57c928916c Refactor sugar.env and paths 2007-03-09 14:57:54 +01:00
Marco Pesenti Gritti
a380b7f915 Move data to be relative to the code. 2007-03-09 14:07:17 +01:00
Marco Pesenti Gritti
73c1dbe4a7 CLeanup emulator shutdown 2007-03-09 13:53:26 +01:00
Dan Williams
8dc201bc5f Expose owner details through the Shell's DBus service
For security, we need the PresenceService to listen for changes to the
owner's attributes, like changed color, nickname, icon, and current activity,
rather than having D-Bus API in the PS itself that any process could call.

So, the shell provides signals when these attributes change, which the PS
listens to and pushes out over the network accordingly.
2007-03-08 22:17:33 -05:00
Marco Pesenti Gritti
8ddaa516b3 Add a default picture, so that we don't force people to find one.
Implementation is ugly but the cleanest I could come with :(
2007-03-08 01:33:55 +01:00
Marco Pesenti Gritti
655e4018f2 Do not show the battery device since it's not hooked up 2007-03-07 22:30:52 +01:00
Dan Williams
44f00a9cd8 Fix traceback due to bad merge 2007-03-07 16:24:21 -05:00
Dan Williams
a2bd1194f3 Work around bus-python bug with named exceptions 2007-03-07 16:23:52 -05:00
Dan Williams
11320e8883 Ensure entry can accept input 2007-03-07 16:23:33 -05:00
Dan Williams
550fe95b5a Clean up sugar + NM client interaction
Change "init-failed" signal to 'initialized' so uninitialized
devices don't leak in the sugar model.

Get rid of 'ssid-changed' signal on Network objects, makes no
sense conceptually, plus new 'initialized' signal replaces
what it was used for.
2007-03-07 11:40:04 -05:00
Marco Pesenti Gritti
eefad0aeed Do not try to add access points on model removed signal!
Some fixes to access point state.
2007-03-07 14:23:44 +01:00
Owen Williams
195e18d7b0 Merge branch 'master' of git+ssh://ywwg@dev.laptop.org/git/sugar 2007-03-05 21:24:59 -05:00
Owen Williams
3d32c9aaa6 Fix corner and edge frame activation 2007-03-05 21:24:42 -05:00
Marco Pesenti Gritti
1992a8a2d8 Disable journal automatic startup for now 2007-03-06 03:03:28 +01:00
John (J5) Palmieri
05081b3fa5 use hal to detect the presence of a v4l device
* right now we check for anything with the capability of 'video4linux' and
  for info.linux.driver = 'cafe1000-ccic' which is the olpc's webcam
2007-03-05 16:10:14 -05:00
Marco Pesenti Gritti
e62fcbd296 Call remove access point with the right signature 2007-03-05 20:32:39 +01:00
Marco Pesenti Gritti
4d0c540f85 Fix bw/color switch. Patch by Owen Williams. 2007-03-04 00:54:50 +01:00
Marco Pesenti Gritti
b4836718de Fix signal signature 2007-03-03 21:25:34 +01:00
Marco Pesenti Gritti
921bccd48c Tweak video size. People report it's too big on the olpc too.
Dan feel free to tweak this, I'm changing it to get a functional
build in for tonight compose.
2007-03-02 21:02:18 +01:00
Marco Pesenti Gritti
69f8d84663 Make video size resolution dependent at least in the emulator. 2007-03-02 20:39:29 +01:00
Marco Pesenti Gritti
7b89672604 Catch GetActiveNetwork exceptions.
Listen for activation failures.
2007-03-02 16:45:09 +01:00
Marco Pesenti Gritti
d748682ef7 Handle the case where we get an Activating event
but we don't have an active device yet.
2007-03-02 15:56:06 +01:00
Marco Pesenti Gritti
baad778406 Improve logging 2007-03-02 15:11:59 +01:00
Dan Williams
48e9887d92 Fix key release in keyhandler 2007-02-28 15:49:33 -05:00
Dan Williams
9333af3d07 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-28 15:48:48 -05:00
Dan Williams
7ce21d47bd Ensure video is realized before showing live video 2007-02-28 15:41:00 -05:00
Marco Pesenti Gritti
ad17143eb3 Missing file 2007-02-28 18:00:03 +01:00
Tomeu Vizoso
6704e1bfd3 Button fixes and fix launching activities from the clipboard. 2007-02-28 16:41:50 +01:00
Marco Pesenti Gritti
32ac23ce27 Make the icon pulse when connecting 2007-02-28 16:19:01 +01:00
Marco Pesenti Gritti
aec4fcf874 More work on devices, getting there 2007-02-28 15:42:41 +01:00
Tomeu Vizoso
f09a63930f Fix stroke/fill on ZoomBox icons. 2007-02-27 22:35:28 +01:00
Marco Pesenti Gritti
8a9232234b Fix distcheck 2007-02-27 22:21:55 +01:00
Dan Williams
8a53a31c49 Have IntroWindow handle profile creation so it can hide itself before generating keys 2007-02-27 15:03:25 -05:00
Dan Williams
f5051b7c14 Add get_color() function 2007-02-27 15:02:42 -05:00
Dan Williams
f3cedf1bca Don't create already existing config sections 2007-02-27 14:45:06 -05:00
Guillaume Desmottes
17e33c7495 Merge branch 'master' of git+ssh://guillaume@dev.laptop.org/git/sugar 2007-02-27 19:08:29 +01:00
Guillaume Desmottes
5535aefc75 Add a Server section in the config file and use it to register only when needed 2007-02-27 19:08:17 +01:00
Marco Pesenti Gritti
7081909d2d Fix some bugs with frame animation and enable it 2007-02-27 17:04:15 +01:00
Marco Pesenti Gritti
b04c19efb4 Add a window class to graphics, it contains a canvas. 2007-02-27 13:41:51 +01:00
Dan Williams
a1f5684944 Make buddy icon selection a bit more consistent 2007-02-26 11:10:24 -05:00
Marco Pesenti Gritti
df1f01552d Fix overlay box alignment 2007-02-26 14:54:17 +01:00
Marco Pesenti Gritti
8f57bf7c9d Support running without network manager service.
Rework code to run without hardware manager service.
2007-02-26 14:42:39 +01:00
Marco Pesenti Gritti
4c23a821ef Missing file 2007-02-26 14:11:55 +01:00
Marco Pesenti Gritti
d86290426c Restore NetworkManagerInfo.conf 2007-02-26 13:41:03 +01:00
Marco Pesenti Gritti
c433d97db9 Get rid of the old first time dialog 2007-02-26 13:33:02 +01:00
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
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
Eduardo Silva
d51031d882 New developer-console 2006-11-16 14:47:07 +01:00
Dan Williams
b51b2917d0 Rearrange keymappings for the real B1 machines' keyboards
(cherry picked from cda50cbf099f1db64f3cd95aeb05b54444fd66d0 commit)
2006-11-15 17:13:45 -05: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
b2e7bc079c Work around the unfocusable terminal bug 2006-11-13 22:15:08 +01:00
Marco Pesenti Gritti
fcea34c227 Fix makefile 2006-11-12 00:28: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
d958e20df7 Make work enter on first time dialog. Fix for bug #324. 2006-11-10 13:40:49 +01:00
Tomeu Vizoso
028bf526f2 Merge branch 'master' of git://dev.laptop.org/sugar 2006-11-10 11:58:11 +01:00
Marco Pesenti Gritti
5c1dbe499f Release 0.51 2006-11-09 00:31:28 +01:00
Marco Pesenti Gritti
c8cd4bcc4e Add a shutdown key combination. Release 0.51 2006-11-09 00:08:33 +01:00
Marco Pesenti Gritti
d1a9762cb8 Bind keys to dcon manager actions, see README 2006-11-08 16:42:50 +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
f428b3ab74 Merge branch 'master' of git://dev.laptop.org/sugar 2006-11-03 16:18:39 +01:00
Marco Pesenti Gritti
00026fb5ef Check if we should show the launcher 2006-11-03 16:11:59 +01:00
Tomeu Vizoso
23565cfd48 First version of the ClipboardService. Added support for showing the progress of a pdf download in the clipboard. 2006-11-01 19:43:59 +01:00
Marco Pesenti Gritti
8571920734 Tweak activity search path. Use ~/Activities and XDG_DATA_DIRS/activities 2006-10-31 13:10:34 +01:00
Marco Pesenti Gritti
cb285aba06 Get running activities to work. Still hacky. 2006-10-31 12:06:28 +01:00
Marco Pesenti Gritti
d150ac40cc More work on bundles support 2006-10-29 19:05:09 +01:00
Marco Pesenti Gritti
28f5de3deb Remove unused file 2006-10-29 17:34:27 +01:00
Dan Williams
b2983ac763 Better working nm-applet
- Start nm-applet when the shell starts
- Use the artwork
- Respond to signals and get initial states
2006-10-29 01:33:42 -04:00
Marco Pesenti Gritti
2f58f41e9e Missing file 2006-10-24 20:19:00 +02:00
Marco Pesenti Gritti
6ab3b3c07e Cleanup logs dir on shell startup 2006-10-24 20:00:14 +02:00
Marco Pesenti Gritti
2aa69e7199 Add the overlay icon on the frame 2006-10-24 19:44:18 +02:00
Marco Pesenti Gritti
ad7d04f736 Fix styling of the invites icon 2006-10-23 21:28:19 +02:00
Marco Pesenti Gritti
077bc6a4f1 Do not return the whole dict, just the values! 2006-10-20 18:24:17 +02:00
Marco Pesenti Gritti
f997d02a7a should be add_alone_buddy, add_buddy does not exist 2006-10-20 16:30:30 +02:00
Dan Williams
d784a906e4 Add initial buddies, protect against buddies we don't know about before using them 2006-10-19 15:07:21 -04:00
Dan Williams
4a09253f5f Add initial activities & protect against addition/removal of buddies we don't know about 2006-10-19 15:06:01 -04:00
Marco Pesenti Gritti
4f81f305b2 Fix a race in the spread box. Adapt to api change. 2006-10-19 16:49:53 +02:00
Marco Pesenti Gritti
36e535a29a More fixes 2006-10-19 16:12:55 +02:00
Marco Pesenti Gritti
62659e2806 Show the share button only when the activity is not shared 2006-10-19 15:44:00 +02:00
Marco Pesenti Gritti
cd29967c2e Refactor a bit to keep host independent from the shell 2006-10-19 15:22:42 +02:00
Marco Pesenti Gritti
cf13a7ff5b Unregister the chat service on destroy. 2006-10-19 14:51:13 +02:00
Marco Pesenti Gritti
21aa37cc24 Do not assume when curactivity change we already know about that activity. 2006-10-19 13:28:59 +02:00
Marco Pesenti Gritti
3d3ef947e1 Fix method naming conflict 2006-10-19 12:55:25 +02:00
Marco Pesenti Gritti
fafa1ae35e Refactor stylsheets code a bit to load the global stylsheet
for all modules.
Implement the links sidebar per discussion with Eben.
2006-10-19 11:54:51 +02:00
Marco Pesenti Gritti
6c375a20f3 Center the icon in the allocation space 2006-10-18 19:41:34 +02:00
Marco Pesenti Gritti
f3fbea70a3 Rework menu positioning logic 2006-10-18 17:57:41 +02:00
Marco Pesenti Gritti
54dcb672e5 Move the menu positioning code inside menu shell and
unify it.
2006-10-18 16:23:06 +02:00
Marco Pesenti Gritti
37e1bf6100 When showing the frame automatically hide it on leave, otherwise
it gets annoying.
2006-10-18 00:57:05 +02:00
Marco Pesenti Gritti
03bca10376 Listen also to enter event for frame activation. This makes
mouse activation actually reliable.
2006-10-18 00:44:23 +02:00
Marco Pesenti Gritti
3cda316d11 Enable logging for the shell too 2006-10-18 00:08:14 +02:00
Marco Pesenti Gritti
637a08154e Fix some path bugs. Reload the profile when first time dialog wrote it. 2006-10-17 14:31:04 +02:00
Marco Pesenti Gritti
9ca5c6c0bf Fix opening activities 2006-10-17 10:17:30 +02:00
Marco Pesenti Gritti
77f2de8f73 Let activities extend their own path 2006-10-17 10:07:35 +02:00
Marco Pesenti Gritti
f74614a02b Let the shell deal with extending his own path 2006-10-17 09:39:31 +02:00
Marco Pesenti Gritti
535b67ea41 alt+q shutdown the emulator 2006-10-17 01:09:44 +02:00
Marco Pesenti Gritti
87458b63f5 Fix 2006-10-16 20:59:59 +02:00
Marco Pesenti Gritti
1803ab1a88 Handle icon removal, better alignment 2006-10-16 20:42:39 +02:00
Marco Pesenti Gritti
528dc5a046 Forgot to add these 2006-10-16 18:43:31 +02:00
Marco Pesenti Gritti
5e503f77d1 Get the tray icon to sort of work. 2006-10-16 18:43:04 +02:00
Marco Pesenti Gritti
ab55456801 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-10-16 16:42:06 +02:00
Marco Pesenti Gritti
e00fea9480 Fix a few bugs 2006-10-16 16:38:02 +02:00
Dan Williams
8b46b55e80 Remove dead file from makefile 2006-10-16 10:37:46 -04:00
Marco Pesenti Gritti
790129cb52 Add support for multiple logs 2006-10-16 16:26:37 +02:00
Marco Pesenti Gritti
69647f75b7 Remove more bits of the old console 2006-10-16 16:04:14 +02:00
Marco Pesenti Gritti
4e88e927fb Remove the old dbus stuff, use one log file per process 2006-10-16 15:56:22 +02:00
Marco Pesenti Gritti
5cee6aa01d Hook the log viewer to F12 2006-10-16 15:29:32 +02:00
Marco Pesenti Gritti
07dd398e22 Hack a simple log viewer. 2006-10-16 15:24:23 +02:00
Marco Pesenti Gritti
096d5c5238 Fix makefiles 2006-10-16 13:40:59 +02:00
Marco Pesenti Gritti
bc0ee6d34c Refactor startup. In progress, give me a couple hours.
For now start sugar with "sugar-emulator shell/sugar-shell"
2006-10-16 13:34:43 +02:00
Marco Pesenti Gritti
43bd44b407 Add GPL headers 2006-10-15 01:24:45 +02:00
Marco Pesenti Gritti
62fd4dcd89 Basic functionalities mostly working 2006-10-13 19:04:04 +02:00
Marco Pesenti Gritti
c7fdae2606 Fix title handling. Hide old browser and chat. 2006-10-13 11:17:35 +02:00
Marco Pesenti Gritti
62a46ff92b Create a private sugar lib and put our extensions there. 2006-10-12 12:47:17 +02:00
Marco Pesenti Gritti
8c3ac8960f Spread box cleanups and fixes 2006-10-07 14:33:08 +02:00
Marco Pesenti Gritti
b33a1c141f Move the layouts to be box and subclass them. 2006-10-06 11:11:38 +02:00
Marco Pesenti Gritti
4b36f84c30 Fix several makefiles, use olpc theme for matchbox 2006-10-05 19:48:12 +02:00
Marco Pesenti Gritti
5b37955647 Revert "Install our own matchbox theme to disable shadows"
This reverts 0e77fc5bf9 commit.
2006-10-05 19:34:19 +02:00
Marco Pesenti Gritti
1b0e469dbd More work on the views layout 2006-10-05 18:53:34 +02:00
Marco Pesenti Gritti
0533d1ffd6 Rewrite for hippo 2006-10-05 17:46:36 +02:00
Marco Pesenti Gritti
6479962ca7 Get back presence list to work 2006-10-05 17:09:38 +02:00
Marco Pesenti Gritti
847f69fce7 More stylification 2006-10-05 16:29:55 +02:00
Marco Pesenti Gritti
0bd96b3987 More stylsheets work 2006-10-05 14:52:33 +02:00